gtk+ r21610 - in branches/gtk-2-14: . gtk



Author: matthiasc
Date: Wed Oct  8 15:34:53 2008
New Revision: 21610
URL: http://svn.gnome.org/viewvc/gtk+?rev=21610&view=rev

Log:
2008-10-08  Matthias Clasen  <mclasen redhat com>

        * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
        Don't forget to reset reload_state when current_folder is already
        correct. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=465992




Modified:
   branches/gtk-2-14/ChangeLog
   branches/gtk-2-14/gtk/gtkfilechooserdefault.c

Modified: branches/gtk-2-14/gtk/gtkfilechooserdefault.c
==============================================================================
--- branches/gtk-2-14/gtk/gtkfilechooserdefault.c	(original)
+++ branches/gtk-2-14/gtk/gtkfilechooserdefault.c	Wed Oct  8 15:34:53 2008
@@ -6912,10 +6912,10 @@
 	g_object_unref (impl->current_folder);
 
       impl->current_folder = g_object_ref (data->file);
-
-      impl->reload_state = RELOAD_HAS_FOLDER;
     }
 
+  impl->reload_state = RELOAD_HAS_FOLDER;
+
   /* Update the widgets that may trigger a folder change themselves.  */
 
   if (!impl->changing_folder)



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