This seems pretty similar to our x window -> dbus service mapping. Begin forwarded message:
> From: Colin Walters <walt...@verbum.org> > Date: 15 December 2011 15:44:52 GMT > To: x...@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 > x...@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/xdg
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel