aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-23 09:47:08 -0600
committerTed Gould <ted@gould.cx>2010-02-23 09:47:08 -0600
commit1e5be5895623d1f4095ec3d0f15dedaec8e4487c (patch)
treec5439d30d3cc107c3027d3878270c6376e2fee6c
parent8c0532f5eeffa2fa96493a89eb3c0be8e7ac5dbf (diff)
parent2fdd555db8dc1844860cec3d414e6e7f38dbde94 (diff)
downloadlibayatana-appindicator-1e5be5895623d1f4095ec3d0f15dedaec8e4487c.tar.gz
libayatana-appindicator-1e5be5895623d1f4095ec3d0f15dedaec8e4487c.tar.bz2
libayatana-appindicator-1e5be5895623d1f4095ec3d0f15dedaec8e4487c.zip
Handling the visibility of menus better
-rw-r--r--debian/changelog6
-rw-r--r--src/libappindicator/app-indicator.c3
2 files changed, 6 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index e765b40..e4a3fa9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,12 +1,12 @@
-indicator-application (0.0.13-0ubuntu3~ppa3) UNRELEASED; urgency=low
+indicator-application (0.0.13-0ubuntu3~ppa4) UNRELEASED; urgency=low
* Upstream merge
* Fixing automatic updating of menus
- * Handling the visibility of menus better
* Improve testing to be more reliable
* Handle null string attention icons
+ * Handling the visibility of menus better
- -- Ted Gould <ted@ubuntu.com> Tue, 23 Feb 2010 09:45:14 -0600
+ -- Ted Gould <ted@ubuntu.com> Tue, 23 Feb 2010 09:46:38 -0600
indicator-application (0.0.13-0ubuntu3~ppa2) lucid; urgency=low
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index 70ca6a2..7c1ac82 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -1263,6 +1263,9 @@ container_iterate (GtkWidget *widget,
dbusmenu_menuitem_property_set_bool (child,
DBUSMENU_MENUITEM_PROP_ENABLED,
GTK_WIDGET_IS_SENSITIVE (widget));
+ dbusmenu_menuitem_property_set_bool (child,
+ DBUSMENU_MENUITEM_PROP_VISIBLE,
+ gtk_widget_get_visible (widget));
g_signal_connect (widget, "notify",
G_CALLBACK (widget_notify_cb), child);