[Sugar-devel] Fwd: _DBUS_APPLICATION_ID, _DBUS_UNIQUE_NAME, and _DBUS_OBJECT_PATH
Marco
marco at marcopg.org
Thu Dec 15 12:07:01 EST 2011
This seems pretty similar to our x window -> dbus service mapping.
Begin forwarded message:
> From: Colin Walters <walters at verbum.org>
> Date: 15 December 2011 15:44:52 GMT
> To: xdg at lists.freedesktop.org
> Subject: _DBUS_APPLICATION_ID, _DBUS_UNIQUE_NAME, and _DBUS_OBJECT_PATH
>
> Hi,
>
> In the GtkApplication/GNOME 3 integration work, we need effectively to
> tie together the application and windows it creates with the menu
> structure and actions exported over DBus by G(tk)Application.
>
> Per Ryans' previous mail, an application ID is just a DBus name:
> http://developer.gnome.org/gio/unstable/GApplication.html#g-application-id-is-valid
> We have a patch for gtk+ to export this as a window property named
> _DBUS_APPLICATION_ID. This complements the existing WM_CLASS window
> <-> .desktop file association.
>
> Now we also need for non-unique applications to know the unique DBus
> name (e.g. :1.14). That's the _DBUS_UNIQUE_NAME property.
>
> Finally, _DBUS_OBJECT_PATH is typically just a substitution . for /; in
> practice we could just do this in various places, but it seems cleaner
> to export it too.
>
>
>
> _______________________________________________
> xdg mailing list
> xdg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xdg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20111215/98bc6887/attachment.html>
More information about the Sugar-devel
mailing list