aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Arne Petersen <jpetersen@openismus.com>2010-02-22 09:55:55 -0600
committerTed Gould <ted@gould.cx>2010-02-22 09:55:55 -0600
commit271d86bb751d95eb901ca7dc60455cf646b9d74f (patch)
tree42e7a39f81ea3f47e5baf0412bc8ee4ab6e8426c
parent0135db576c376ad2afb6f62d51347bcd94ca4276 (diff)
downloadlibayatana-appindicator-271d86bb751d95eb901ca7dc60455cf646b9d74f.tar.gz
libayatana-appindicator-271d86bb751d95eb901ca7dc60455cf646b9d74f.tar.bz2
libayatana-appindicator-271d86bb751d95eb901ca7dc60455cf646b9d74f.zip
Set the sensitive state when starting out.
-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 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);