Cody Russell has proposed merging lp:~bratsche/appmenu-gtk/watch-gtkaction-sensitivity-change into lp:appmenu-gtk.
Requested reviews: Canonical Desktop Experience Team (canonical-dx-team) Related bugs: #630292 Paste in global application menu is not active whilst using gnome-terminal https://bugs.launchpad.net/bugs/630292 -- https://code.launchpad.net/~bratsche/appmenu-gtk/watch-gtkaction-sensitivity-change/+merge/36487 Your team ayatana-commits is subscribed to branch lp:appmenu-gtk.
=== modified file 'configure.ac' --- configure.ac 2010-09-09 15:00:24 +0000 +++ configure.ac 2010-09-23 18:52:01 +0000 @@ -1,6 +1,6 @@ AC_PREREQ(2.59) -AC_INIT([appmenu-gtk], [0.1.8], [[email protected]]) +AC_INIT([appmenu-gtk], [0.1.9], [[email protected]]) AC_COPYRIGHT([Copyright 2010 Canonical]) AC_CONFIG_SRCDIR([src/bridge.c]) AC_CONFIG_MACRO_DIR([build/autotools]) === modified file 'src/bridge.c' --- src/bridge.c 2010-09-13 15:28:34 +0000 +++ src/bridge.c 2010-09-23 18:52:01 +0000 @@ -673,7 +673,13 @@ { DbusmenuMenuitem *mi = (DbusmenuMenuitem *)data; - if (pspec->name == g_intern_static_string ("active")) + if (pspec->name == g_intern_static_string ("sensitive")) + { + dbusmenu_menuitem_property_set_bool (mi, + DBUSMENU_MENUITEM_PROP_ENABLED, + gtk_action_is_visible (action)); + } + else if (pspec->name == g_intern_static_string ("active")) { dbusmenu_menuitem_property_set_bool (mi, DBUSMENU_MENUITEM_PROP_TOGGLE_STATE,
_______________________________________________ Mailing list: https://launchpad.net/~ayatana-commits Post to : [email protected] Unsubscribe : https://launchpad.net/~ayatana-commits More help : https://help.launchpad.net/ListHelp

