diff options
author | Ted Gould <ted@gould.cx> | 2010-02-22 10:25:37 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-02-22 10:25:37 -0600 |
commit | e5612deb73c41eb427f3e8ab66a675ab9545f5e2 (patch) | |
tree | 42e7a39f81ea3f47e5baf0412bc8ee4ab6e8426c /src/libappindicator/app-indicator.c | |
parent | 0135db576c376ad2afb6f62d51347bcd94ca4276 (diff) | |
parent | 7b02e4cc9bd0ff55aae62e867043b754f1c01587 (diff) | |
download | libayatana-appindicator-e5612deb73c41eb427f3e8ab66a675ab9545f5e2.tar.gz libayatana-appindicator-e5612deb73c41eb427f3e8ab66a675ab9545f5e2.tar.bz2 libayatana-appindicator-e5612deb73c41eb427f3e8ab66a675ab9545f5e2.zip |
Patch to read sensitivity on startup.
Diffstat (limited to 'src/libappindicator/app-indicator.c')
-rw-r--r-- | src/libappindicator/app-indicator.c | 4 |
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); |