forked from AuroraMiddleware/gtk
a11y: Hide children of GtkFishBowl
The fishbowl widget is purely presentational, and its children should not be visible in the accessibility tree.
This commit is contained in:
parent
5afa985e85
commit
a4c3bee4a1
@ -179,6 +179,9 @@ gtk_fishbowl_add (GtkFishbowl *fishbowl,
|
||||
child_info->dy = new_speed ();
|
||||
|
||||
gtk_widget_set_parent (widget, GTK_WIDGET (fishbowl));
|
||||
gtk_accessible_update_state (GTK_ACCESSIBLE (widget),
|
||||
GTK_ACCESSIBLE_STATE_HIDDEN, TRUE,
|
||||
-1);
|
||||
|
||||
g_hash_table_insert (priv->children, widget, child_info);
|
||||
priv->count++;
|
||||
|
Loading…
Reference in New Issue
Block a user