[gthumb] browser: recalculate the available free space only after changing location
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] browser: recalculate the available free space only after changing location
- Date: Sun, 30 Dec 2012 10:19:51 +0000 (UTC)
commit dc2fd4093737bdd6e0ccc40f8d5389f895fdf8c5
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Dec 29 17:13:11 2012 +0100
browser: recalculate the available free space only after changing location
gthumb/gth-browser.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index 24663be..85688f3 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -1675,7 +1675,6 @@ load_data_continue (LoadData *load_data,
return;
}
- browser->priv->recalc_location_free_space = TRUE;
load_data_done (load_data, NULL);
switch (load_data->action) {
@@ -1714,6 +1713,7 @@ load_data_continue (LoadData *load_data,
_g_object_list_unref (entry_points);
}
break;
+
default:
break;
}
@@ -1726,6 +1726,7 @@ load_data_continue (LoadData *load_data,
case GTH_ACTION_GO_UP:
case GTH_ACTION_VIEW:
changed_current_location = TRUE;
+ browser->priv->recalc_location_free_space = TRUE;
break;
default:
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]