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.
This commit is contained in:
Benjamin Otte 2011-07-11 02:24:08 +02:00
parent 8f9493ddf2
commit a82cbf29a2

View File

@ -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