aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-22 10:25:37 -0600
committerTed Gould <ted@gould.cx>2010-02-22 10:25:37 -0600
commite5612deb73c41eb427f3e8ab66a675ab9545f5e2 (patch)
tree42e7a39f81ea3f47e5baf0412bc8ee4ab6e8426c /src
parent0135db576c376ad2afb6f62d51347bcd94ca4276 (diff)
parent7b02e4cc9bd0ff55aae62e867043b754f1c01587 (diff)
downloadlibayatana-appindicator-e5612deb73c41eb427f3e8ab66a675ab9545f5e2.tar.gz
libayatana-appindicator-e5612deb73c41eb427f3e8ab66a675ab9545f5e2.tar.bz2
libayatana-appindicator-e5612deb73c41eb427f3e8ab66a675ab9545f5e2.zip
Patch to read sensitivity on startup.
Diffstat (limited to 'src')
-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);