_DBUS_APPLICATION_ID, _DBUS_UNIQUE_NAME, and _DBUS_OBJECT_PATH

Thiago Macieira thiago at kde.org
Thu Dec 15 16:36:49 PST 2011


On Thursday, 15 de December de 2011 11.43.48, Ryan Lortie wrote:
> hi Colin,
> 
> On Thu, 2011-12-15 at 10:44 -0500, Colin Walters wrote:
> > 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.
> 
> This refers to the D-Bus object path of the Window, not the application,
> so it's not just a case of mapping '.' to '/'.

What are other applications going to do with the object path of the window 
object? We need a standard interface there so standard actions are possible. 
Is there any standard you're thinking of?

For example, this KMail composer window I'm writing the email in has the 
following interfaces:

org.kde.kmail.mailcomposer
org.kde.kontact.KMail.Composer
org.kde.kontact.KXmlGuiWindow
org.kde.kontact.KMainWindow
com.trolltech.Qt.QMainWindow
com.trolltech.Qt.QWidget
org.kde.KMainWindow

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/xdg/attachments/20111216/7eff9606/attachment.pgp>


More information about the xdg mailing list