aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-01-22 18:36:10 +0100
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-01-22 18:36:10 +0100
commit67323d4aa99efc18ae2f379cd479d9b23e23dd94 (patch)
tree6456107e554fa4059d5c485dd920bff854add959 /libindicator
parentd84d6f7cce3715ec88a67418c4d4298237618463 (diff)
downloadlibayatana-indicator-67323d4aa99efc18ae2f379cd479d9b23e23dd94.tar.gz
libayatana-indicator-67323d4aa99efc18ae2f379cd479d9b23e23dd94.tar.bz2
libayatana-indicator-67323d4aa99efc18ae2f379cd479d9b23e23dd94.zip
indicator-ng: properly unset action group when the service disappears
Diffstat (limited to 'libindicator')
-rw-r--r--libindicator/indicator-ng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libindicator/indicator-ng.c b/libindicator/indicator-ng.c
index 7b2b730..8de7112 100644
--- a/libindicator/indicator-ng.c
+++ b/libindicator/indicator-ng.c
@@ -89,7 +89,7 @@ indicator_ng_free_actions_and_menu (IndicatorNg *self)
{
if (self->actions)
{
- gtk_widget_insert_action_group (self->gtkmenu, self->name, self->actions);
+ gtk_widget_insert_action_group (self->gtkmenu, "indicator", NULL);
g_signal_handlers_disconnect_by_data (self->actions, self);
g_clear_object (&self->actions);
}