[gthumb] Reload the current file if a CHANGED signal is received.
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] Reload the current file if a CHANGED signal is received.
- Date: Tue, 16 Feb 2010 18:59:07 +0000 (UTC)
commit a73b8828e240836b04f31eb4fde739309cb4c865
Author: Paolo Bacchilega <paobac src gnome org>
Date: Tue Feb 16 19:56:20 2010 +0100
Reload the current file if a CHANGED signal is received.
Removed wrong optimization code that prevented to reload the
current file.
[bug #610091]
gthumb/gth-browser.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index 2289409..553c746 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -4529,12 +4529,6 @@ _gth_browser_load_file (GthBrowser *browser,
return;
}
- if ((browser->priv->current_file != NULL) && g_file_equal (file_data->file, browser->priv->current_file->file)) {
- if (view)
- gth_window_set_current_page (GTH_WINDOW (browser), GTH_BROWSER_PAGE_VIEWER);
- return;
- }
-
_g_object_unref (browser->priv->current_file);
browser->priv->current_file = gth_file_data_dup (file_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]