Commit 256d5215 authored by Matthias Clasen's avatar Matthias Clasen

GtkAssistant: don't hide headerbar from a11y

GtkAssistant has its own accessible implementation, and we forgot
to update it when we added a headerbar.
parent 19e1a8fe
......@@ -2425,7 +2425,7 @@ gtk_assistant_accessible_get_n_children (AtkObject *accessible)
if (widget == NULL)
return 0;
return g_list_length (GTK_ASSISTANT (widget)->priv->pages) + 1;
return g_list_length (GTK_ASSISTANT (widget)->priv->pages) + 2;
}
static AtkObject *
......@@ -2461,6 +2461,11 @@ gtk_assistant_accessible_ref_child (AtkObject *accessible,
child = priv->action_area;
title = NULL;
}
else if (index == n_pages + 1)
{
child = priv->headerbar;
title = NULL;
}
else
return NULL;
......
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