aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog7
-rw-r--r--src/libappindicator/app-indicator.c4
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index c413172..f54da04 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+indicator-application (0.0.13-0ubuntu7) lucid; urgency=low
+
+ * Backported upstream change to fix menu item sensitivity update,
+ thanks to Jan Arne Petersen (lp: #522151)
+
+ -- Sebastien Bacher <seb128@ubuntu.com> Mon, 22 Feb 2010 17:49:23 +0100
+
indicator-application (0.0.13-0ubuntu6) lucid; urgency=low
* Cherrypick fix to check for a null string as the attention icon
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index cd28bdd..74c1a23 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);