[gthumb/ext] update the folder if its content is already loaded
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gthumb/ext] update the folder if its content is already loaded
- Date: Tue, 22 Sep 2009 11:41:43 +0000 (UTC)
commit d25c10576b734b351c13107343d7772f8cb01e47
Author: Paolo Bacchilega <paobac src gnome org>
Date: Tue Sep 22 13:36:27 2009 +0200
update the folder if its content is already loaded
we don't care if the folder is expanded or not
[bug #594773]
gthumb/gth-browser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index edb948e..9a1d36f 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -2465,7 +2465,7 @@ folder_changed_cb (GthMonitor *monitor,
path = gth_folder_tree_get_path (GTH_FOLDER_TREE (browser->priv->folder_tree), parent);
update_folder_tree = (g_file_equal (parent, gth_folder_tree_get_root (GTH_FOLDER_TREE (browser->priv->folder_tree)))
- || ((path != NULL) && gtk_tree_view_row_expanded (GTK_TREE_VIEW (browser->priv->folder_tree), path)));
+ || ((path != NULL) && gth_folder_tree_is_loaded (GTH_FOLDER_TREE (browser->priv->folder_tree), path)));
update_file_list = g_file_equal (parent, browser->priv->location->file);
if (! update_file_list && (event == GTH_MONITOR_EVENT_CHANGED)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]