mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 04:10:13 +00:00
a11y: Use the stack page title as its accessible label
This commit is contained in:
parent
995daa1e29
commit
e49e084f4c
@ -2778,6 +2778,10 @@ gtk_stack_page_set_title (GtkStackPage *self,
|
||||
g_free (self->title);
|
||||
self->title = g_strdup (setting);
|
||||
g_object_notify_by_pspec (G_OBJECT (self), stack_page_props[CHILD_PROP_TITLE]);
|
||||
|
||||
gtk_accessible_update_property (GTK_ACCESSIBLE (self),
|
||||
GTK_ACCESSIBLE_PROPERTY_LABEL, self->title,
|
||||
-1);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user