[gtk+/gtk-2-90: 151/161] Look for accessible file chooser dialogue instead of file selection



commit 41427f2629bdd10ce0a2f14c05eae41cbc134cc3
Author: Christian Dywan <christian twotoasts de>
Date:   Wed Dec 9 16:56:55 2009 +0100

    Look for accessible file chooser dialogue instead of file selection

 modules/other/gail/gailwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/other/gail/gailwindow.c b/modules/other/gail/gailwindow.c
index 5582b3a..ac6e881 100644
--- a/modules/other/gail/gailwindow.c
+++ b/modules/other/gail/gailwindow.c
@@ -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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]