mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +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