Look for accessible file chooser dialogue instead of file selection

This commit is contained in:
Christian Dywan 2009-12-09 16:56:55 +01:00 committed by Javier Jardón
parent 6179e0e8a7
commit 729d4c3624

View File

@ -210,7 +210,7 @@ gail_window_real_initialize (AtkObject *obj,
g_object_set_data (G_OBJECT (obj), "atk-component-layer",
GINT_TO_POINTER (ATK_LAYER_WINDOW));
if (GTK_IS_FILE_SELECTION (widget))
if (GTK_IS_FILE_CHOOSER_DIALOG (widget))
obj->role = ATK_ROLE_FILE_CHOOSER;
else if (GTK_IS_COLOR_SELECTION_DIALOG (widget))
obj->role = ATK_ROLE_COLOR_CHOOSER;