Commit b4d9ea18 authored by Matthias Clasen's avatar Matthias Clasen

GtkModelMenuItem: set initial accessible role

The initial state of GtkModelMenuItem is that of a normal menu
item, but the accessible we are using, GtkCheckMenuItemAccessible,
starts out with a role of 'check menu item'. Fix that up by
explicitly setting the initial accessible role.
parent 01ad01a8
......@@ -356,6 +356,8 @@ gtk_model_menu_item_class_init (GtkModelMenuItemClass *class)
g_object_class_install_property (object_class, PROP_ACCEL,
g_param_spec_string ("accel", "accel", "accel", NULL,
gtk_widget_class_set_accessible_role (GTK_WIDGET_CLASS (class), ATK_ROLE_MENU_ITEM);
GtkWidget *
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment