]> Pileus Git - ~andy/gtk/commitdiff
Look for accessible file chooser dialogue instead of file selection
authorChristian Dywan <christian@twotoasts.de>
Wed, 9 Dec 2009 15:56:55 +0000 (16:56 +0100)
committerJavier Jardón <jjardon@gnome.org>
Sun, 2 May 2010 23:51:21 +0000 (01:51 +0200)
modules/other/gail/gailwindow.c

index 5582b3a5414b0e2d57da8ad8420922ae26be5be2..ac6e8810c888bc372c1f33532e8da0b24e330737 100644 (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;