[baobab/reroot-view: 12/30] Update the folder display after scan
- From: Stefano Facchini <sfacchini src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [baobab/reroot-view: 12/30] Update the folder display after scan
 
- Date: Tue, 23 Jun 2020 10:39:02 +0000 (UTC)
 
commit dd7ee527287b74562911fc4dd5eb841e9ee35c26
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]