diff options
author | Ted Gould <ted@gould.cx> | 2010-08-06 13:45:10 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-08-06 13:45:10 -0500 |
commit | c5f528c40b82aa69beb2712f1c2dac3cab13ff00 (patch) | |
tree | a73c2513f8342d4ad2b1254c8f222cd63ed2f1e0 /src | |
parent | fcf32dbec44550b677610791f905c8dc8d1d097a (diff) | |
download | ayatana-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')
-rw-r--r-- | src/indicator-session.c | 3 |
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, |