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 643780 - shouldn't need to create an action group to use actions on a GApplication launcher instance
shouldn't need to create an action group to use actions on a GApplication lau...
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gapplication
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2011-03-03 13:29 UTC by Jonathan Matthew
Modified: 2011-03-07 04:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
move action group checks to more appropriate places (4.16 KB, patch)
2011-03-03 13:30 UTC, Jonathan Matthew
none Details | Review

Description Jonathan Matthew 2011-03-03 13:29:12 UTC
GApplication currently checks application->priv->actions at the top of some action-related functions.  As a result, if your local application instance has no actions (because it's just a launcher for the real app, perhaps), you still need to create an action group before you can talk to the real app's actions.
Comment 1 Jonathan Matthew 2011-03-03 13:30:45 UTC
Created attachment 182345 [details] [review]
move action group checks to more appropriate places
Comment 2 Matthias Clasen 2011-03-04 16:49:32 UTC
Makes sense to me, but maybe I am missing something - Ryan ?