From c5f528c40b82aa69beb2712f1c2dac3cab13ff00 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 6 Aug 2010 13:45:10 -0500 Subject: Add and accel group to the indicator for the shortcut --- src/indicator-session.c | 3 +++ 1 file changed, 3 insertions(+) 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, -- cgit v1.2.3