After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 647986 - put non-unique apps on D-Bus
put non-unique apps on D-Bus
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gapplication
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2011-04-17 02:20 UTC by Allison Karlitskaya (desrt)
Modified: 2012-02-09 17:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GApplication: put non-unique apps on D-Bus (3.49 KB, patch)
2011-04-17 02:30 UTC, Allison Karlitskaya (desrt)
none Details | Review
GApplication: put non-unique apps on D-Bus (3.79 KB, patch)
2012-02-09 17:17 UTC, Allison Karlitskaya (desrt)
committed Details | Review

Description Allison Karlitskaya (desrt) 2011-04-17 02:20:31 UTC
It might still be useful to have non-unique apps on D-Bus.  Particularly since we're discussing the possibility of driving their menus through a D-Bus interface.

The idea is that it would be nice to access them using their unique name.
Comment 1 Allison Karlitskaya (desrt) 2011-04-17 02:30:45 UTC
Created attachment 186123 [details] [review]
GApplication: put non-unique apps on D-Bus

Some open questions:

 - should we emit the "Hello" signal for non-unique apps?  I lean towards yes.

 - the test case currently fails since it tries to register multiple objects
   at the same path in the same process.  This probably does not reflect
   realistic use (but maybe it does.....).

 - if we fix bug 647987 first then this patch may need a minor tweak.
Comment 2 Matthias Clasen 2011-04-18 00:29:26 UTC
CCing walters, as the app menu goto guy
Comment 3 Allison Karlitskaya (desrt) 2012-02-09 17:17:52 UTC
Created attachment 207204 [details] [review]
GApplication: put non-unique apps on D-Bus

For a number of reasons it might be useful to register the object paths
associated with a non-unique application so that the application can at
least field requests to its unique D-Bus name.
Comment 4 Allison Karlitskaya (desrt) 2012-02-09 17:18:10 UTC
Attachment 207204 [details] pushed as 40e9192 - GApplication: put non-unique apps on D-Bus