From 271d86bb751d95eb901ca7dc60455cf646b9d74f Mon Sep 17 00:00:00 2001 From: Jan Arne Petersen Date: Mon, 22 Feb 2010 09:55:55 -0600 Subject: Set the sensitive state when starting out. --- src/libappindicator/app-indicator.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c index 027f794..62e8905 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); -- cgit v1.2.3 -- cgit v1.2.3