[gthumb] update the folder tree even when the current location is deleted
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] update the folder tree even when the current location is deleted
- Date: Thu, 20 Jan 2011 20:20:43 +0000 (UTC)
commit fa02899927c227031ae7061e53f27f5f18209a99
Author: Paolo Bacchilega <paobac src gnome org>
Date: Thu Jan 20 20:17:04 2011 +0100
update the folder tree even when the current location is deleted
gthumb/gth-browser.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index 46ec0ee..92326fc 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -2851,10 +2851,8 @@ folder_changed_cb (GthMonitor *monitor,
if (browser->priv->location == NULL)
return;
- if ((event == GTH_MONITOR_EVENT_DELETED) && (_g_file_list_find_file_or_ancestor (list, browser->priv->location->file) != NULL)) {
+ if ((event == GTH_MONITOR_EVENT_DELETED) && (_g_file_list_find_file_or_ancestor (list, browser->priv->location->file) != NULL))
_gth_browser_load (browser, parent, NULL, GTH_ACTION_GO_TO, TRUE);
- return;
- }
if ((event == GTH_MONITOR_EVENT_CHANGED) && (_g_file_list_find_file_or_ancestor (list, browser->priv->location->file) != NULL)) {
_gth_browser_load (browser, browser->priv->location->file, NULL, GTH_ACTION_GO_TO, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]