[baobab/reroot-view: 37/48] Update the folder display after scan
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab/reroot-view: 37/48] Update the folder display after scan
- Date: Sat, 20 Jun 2020 16:12:23 +0000 (UTC)
commit ee53bc372ec6bf237bfddeddbf0650170c8f75a3
Author: Stefano Facchini <stefano facchini gmail com>
Date: Wed Jun 17 23:04:24 2020 +0200
Update the folder display after scan
src/baobab-window.vala | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/baobab-window.vala b/src/baobab-window.vala
index c6e658b..4459407 100644
--- a/src/baobab-window.vala
+++ b/src/baobab-window.vala
@@ -609,9 +609,11 @@ namespace Baobab {
}
set_chart_location (active_location);
-
set_ui_state (result_page, false);
+ // Make sure to update the folder display after the scan
+ folder_display.path = new Gtk.TreePath.first ();
+
if (!scanner.show_allocated_size) {
message (_("Could not always detect occupied disk sizes."), _("Apparent sizes may be shown
instead."), Gtk.MessageType.INFO);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]