search for: dbusmessage

Displaying 5 results from an estimated 5 matches for "dbusmessage".

2006 Nov 12
4
Include option type in gconf schema
I am writing a configuration front end for the compiz gconf plugin at the moment, but it's proving harder than it should be because gconf does not record what type of compiz option the key is. For example, say i want a color picker for each color option the only way I can tell with gconf if it is color is if it has a # at the beginning, but there could be string option which also have a # at
2007 May 17
0
[PATCH] Add getCoreInfo function
...IR, + * (s)METADATADIR + * + * Example: + * + * dbus-send --print-reply --type=method_call \ + * --dest=org.freedesktop.compiz \ + * /org/freedesktop/compiz \ + * org.freedesktop.compiz.getCoreInfo + */ +static Bool +dbusHandleGetCoreInfoMessage (DBusConnection *connection, + DBusMessage *message, + CompDisplay *d) +{ + DBusMessage *reply; + const char *pluginDir = PLUGINDIR; + const char *homePluginDir = HOME_PLUGINDIR; + const char *metadataDir = METADATADIR; + int version = ABIVERSION; + + reply = dbus_message_new_method_return (message); + + db...
2006 Oct 09
1
[PATCH] dbus terminate action
....deactivate \ + * string:'root' \ + * int32:`xwininfo -root | grep id: | awk '{ print $4 }'` \ + * string:'face' int32:1 */ static Bool -dbusHandleActivateMessage (DBusConnection *connection, +dbusHandleActivateDeactivateMessage (DBusConnection *connection, DBusMessage *message, CompDisplay *d, - char **path) + char **path, + Bool deactivate) { CompOption *option; int nOption; @@ -152,8 +174,15 @@ dbusHandleActivateMessage (DBusConnectio if (option->type != CompOptionType...
2016 Oct 24
2
[PATCH] p2v: Inhibit power saving during the conversion.
...performed (eg. if we are compiled with DBus support, or there is + * some error contacting logind). This is not usually fatal from the + * point of view of the caller, conversion can continue. + */ +int +inhibit_sleep (void) +{ +#ifdef HAVE_DBUS + DBusError err; + DBusConnection *conn = NULL; + DBusMessage *msg = NULL; + DBusMessageIter args; + DBusPendingCall *pending = NULL; + const char *what = "shutdown:sleep:idle"; + const char *who = "virt-p2v"; + const char *why = "virt-p2v conversion is running"; + const char *mode = "block"; + int fd = -1; + +...
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is time to remove it from libguestfs. [1] https://github.com/libguestfs/virt-p2v [2] http://download.libguestfs.org/virt-p2v/ Pino Toscano (2): Remove virt-p2v Remove remaining virt-p2v bits .gitignore | 4 - Makefile.am | 7 +- bash/Makefile.am