<html><head></head><body bgcolor="#FFFFFF"><div>This seems pretty similar to our x window -> dbus service mapping.</div><div><br>Begin forwarded message:<br><br></div><blockquote type="cite"><div><b>From:</b> Colin Walters <<a href="mailto:walters@verbum.org">walters@verbum.org</a>><br><b>Date:</b> 15 December 2011 15:44:52 GMT<br><b>To:</b> <a href="mailto:xdg@lists.freedesktop.org">xdg@lists.freedesktop.org</a><br><b>Subject:</b> <b>_DBUS_APPLICATION_ID, _DBUS_UNIQUE_NAME, and _DBUS_OBJECT_PATH</b><br><br></div></blockquote><div></div><blockquote type="cite"><div><span>Hi,</span><br><span></span><br><span>In the GtkApplication/GNOME 3 integration work, we need effectively to</span><br><span>tie together the application and windows it creates with the menu</span><br><span>structure and actions exported over DBus by G(tk)Application.</span><br><span></span><br><span>Per Ryans' previous mail, an application ID is just a DBus name:</span><br><span><a href="http://developer.gnome.org/gio/unstable/GApplication.html#g-application-id-is-valid">http://developer.gnome.org/gio/unstable/GApplication.html#g-application-id-is-valid</a></span><br><span>We have a patch for gtk+ to export this as a window property named</span><br><span>_DBUS_APPLICATION_ID. This complements the existing WM_CLASS window</span><br><span><-> .desktop file association.</span><br><span></span><br><span>Now we also need for non-unique applications to know the unique DBus</span><br><span>name (e.g. :1.14). That's the _DBUS_UNIQUE_NAME property.</span><br><span></span><br><span>Finally, _DBUS_OBJECT_PATH is typically just a substitution . for /; in</span><br><span>practice we could just do this in various places, but it seems cleaner</span><br><span>to export it too.</span><br><span></span><br><span></span><br><span></span><br><span>_______________________________________________</span><br><span>xdg mailing list</span><br><span><a href="mailto:xdg@lists.freedesktop.org">xdg@lists.freedesktop.org</a></span><br><span><a href="http://lists.freedesktop.org/mailman/listinfo/xdg">http://lists.freedesktop.org/mailman/listinfo/xdg</a></span><br></div></blockquote></body></html>