aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-session.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-06 13:45:10 -0500
committerTed Gould <ted@gould.cx>2010-08-06 13:45:10 -0500
commitc5f528c40b82aa69beb2712f1c2dac3cab13ff00 (patch)
treea73c2513f8342d4ad2b1254c8f222cd63ed2f1e0 /src/indicator-session.c
parentfcf32dbec44550b677610791f905c8dc8d1d097a (diff)
downloadayatana-indicator-session-c5f528c40b82aa69beb2712f1c2dac3cab13ff00.tar.gz
ayatana-indicator-session-c5f528c40b82aa69beb2712f1c2dac3cab13ff00.tar.bz2
ayatana-indicator-session-c5f528c40b82aa69beb2712f1c2dac3cab13ff00.zip
Add and accel group to the indicator for the shortcut
Diffstat (limited to 'src/indicator-session.c')
-rw-r--r--src/indicator-session.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c
index dc23139..a1f1667 100644
--- a/src/indicator-session.c
+++ b/src/indicator-session.c
@@ -122,6 +122,9 @@ indicator_session_init (IndicatorSession *self)
dbusmenu_client_add_type_handler(client, USER_ITEM_TYPE, new_user_item);
dbusmenu_client_add_type_handler(client, RESTART_ITEM_TYPE, build_restart_item);
+ GtkAccelGroup * agroup = gtk_accel_group_new();
+ dbusmenu_gtkclient_set_accel_group(DBUSMENU_GTKCLIENT(client), agroup);
+
DBusGConnection * session_bus = dbus_g_bus_get(DBUS_BUS_SESSION, NULL);
self->service_proxy = dbus_g_proxy_new_for_name(session_bus,
INDICATOR_SESSION_DBUS_NAME,