aboutsummaryrefslogtreecommitdiff
path: root/src/libappindicator/app-indicator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libappindicator/app-indicator.c')
-rw-r--r--src/libappindicator/app-indicator.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index cd28bdd..74c1a23 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -1245,6 +1245,10 @@ container_iterate (GtkWidget *widget,
}
}
+ dbusmenu_menuitem_property_set_bool (child,
+ DBUSMENU_MENUITEM_PROP_ENABLED,
+ GTK_WIDGET_IS_SENSITIVE (widget));
+
g_signal_connect (widget, "notify",
G_CALLBACK (widget_notify_cb), child);