[gtk+/font-chooser] a11y: Don't advertise ROLE_MENU in submenuitems
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/font-chooser] a11y: Don't advertise ROLE_MENU in submenuitems
- Date: Wed, 20 Jul 2011 20:14:36 +0000 (UTC)
commit 95c9e94a5d133973dda5b0b6064e50f7d1fdb416
Author: Benjamin Otte <otte redhat com>
Date: Mon Jul 11 02:24:08 2011 +0200
a11y: Don't advertise ROLE_MENU in submenuitems
We use submenuitems for all menuitems now. So they shouldn't be all
advertised as menus. For the ones that do have submenus, we still
advertise ROLE_MENU per the last patch.
gtk/a11y/gtksubmenuitemaccessible.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/a11y/gtksubmenuitemaccessible.c b/gtk/a11y/gtksubmenuitemaccessible.c
index 1233183..d792957 100644
--- a/gtk/a11y/gtksubmenuitemaccessible.c
+++ b/gtk/a11y/gtksubmenuitemaccessible.c
@@ -46,8 +46,6 @@ gtk_submenu_item_accessible_initialize (AtkObject *obj,
g_signal_connect (submenu, "add", G_CALLBACK (menu_item_add_gtk), NULL);
g_signal_connect (submenu, "remove", G_CALLBACK (menu_item_remove_gtk), NULL);
}
-
- obj->role = ATK_ROLE_MENU;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]