ayatana-commits team mailing list archive
-
ayatana-commits team
-
Mailing list archive
-
Message #03056
[Merge] lp:~themuso/indicator-appmenu/accessible-desc into lp:indicator-appmenu
Luke Yelavich has proposed merging lp:~themuso/indicator-appmenu/accessible-desc into lp:indicator-appmenu.
Requested reviews:
Indicator Applet Developers (indicator-applet-developers)
For more details, see:
https://code.launchpad.net/~themuso/indicator-appmenu/accessible-desc/+merge/49748
--
https://code.launchpad.net/~themuso/indicator-appmenu/accessible-desc/+merge/49748
Your team ayatana-commits is subscribed to branch lp:indicator-appmenu.
=== modified file 'src/window-menus.c'
--- src/window-menus.c 2011-02-09 19:32:08 +0000
+++ src/window-menus.c 2011-02-15 01:04:51 +0000
@@ -162,6 +162,9 @@
g_object_unref(entry->label);
entry->label = NULL;
}
+ if (entry->accessible_desc != NULL) {
+ entry->accessible_desc = NULL;
+ }
if (entry->image != NULL) {
g_object_unref(entry->image);
entry->image = NULL;
@@ -634,6 +637,8 @@
g_object_ref(entry->label);
}
+ entry->accessible_desc = dbusmenu_menuitem_property_get(newentry, DBUSMENU_MENUITEM_PROP_LABEL);
+
entry->menu = dbusmenu_gtkclient_menuitem_get_submenu(priv->client, newentry);
if (entry->menu == NULL) {
Follow ups