forked from AuroraMiddleware/gtk
Look for accessible file chooser dialogue instead of file selection
This commit is contained in:
parent
6179e0e8a7
commit
729d4c3624
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user