Don't forget to reset reload_state when current_folder is already correct.

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


svn path=/trunk/; revision=21608
This commit is contained in:
Matthias Clasen 2008-10-08 15:32:23 +00:00 committed by Matthias Clasen
parent 5d8adc9406
commit 67d94ca553
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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.
2008-10-08 Christian Dywan <christian@imendio.com>
Bug 555270 Allow unsetting a MessageDialog's image

View File

@ -6952,10 +6952,10 @@ update_current_folder_get_info_cb (GCancellable *cancellable,
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)