mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
stackswitcher: Use a composite accessible
This makes the buttons show up in the a11y tree again.
This commit is contained in:
parent
d01070d472
commit
145ccfe1c4
@ -33,6 +33,8 @@
|
||||
#include "gtktypebuiltins.h"
|
||||
#include "gtkwidgetprivate.h"
|
||||
|
||||
#include "a11y/gtkcompositeaccessible.h"
|
||||
|
||||
/**
|
||||
* SECTION:gtkstackswitcher
|
||||
* @Short_description: A controller for GtkStack
|
||||
@ -595,6 +597,7 @@ gtk_stack_switcher_class_init (GtkStackSwitcherClass *class)
|
||||
|
||||
gtk_widget_class_set_layout_manager_type (widget_class, GTK_TYPE_BOX_LAYOUT);
|
||||
gtk_widget_class_set_css_name (widget_class, I_("stackswitcher"));
|
||||
gtk_widget_class_set_accessible_type (widget_class, GTK_TYPE_COMPOSITE_ACCESSIBLE);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user