On Tue, 23 Mar 2010, Nicolas Chuche wrote:
Ok, found why in dbus-scripts.c. It's not yet implemented :) :
#if 0
[...]
case DBUS_TYPE_ARRAY:
{
int current_type;
DBusMessageIter subiter;
dbus_message_iter_recurse (iter, &subiter);
printf("[");
The original version only passed string argumnets to scripts (and used
only them for filtering). Changing that newly released version 2.0 of
dbus-scripts also uses integers and booleans. Since this change might
break older users of dbus-scripts, version 2.0 also introduced version 2
of configuration file. Only if the configuration file starts with
"#DBUSV2." will use integers and booleans for filters and parameters.
I did not add arrays because I did not see the need for it, but since
you need it, there is no problem to add this. What format do you think
might be useful for passing an array of bytes as a parameter to a
script?
--
Matan.
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers