[baobab] Get usage for the home dir location



commit 2b0b9b6a42b04f92135afce54df064007d7e6896
Author: Paolo Borelli <pborelli gnome org>
Date:   Mon Apr 9 22:28:27 2012 +0200

    Get usage for the home dir location

 src/baobab-location.vala |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/baobab-location.vala b/src/baobab-location.vala
index e1e9cd5..8b55204 100644
--- a/src/baobab-location.vala
+++ b/src/baobab-location.vala
@@ -66,12 +66,14 @@ namespace Baobab {
             mount_point = "/";
             icon = new ThemedIcon ("drive-harddisk-system");
 
-            get_fs_usage (File.new_for_path ("/"));
+            get_fs_usage (File.new_for_path (mount_point));
         }
 
         public Location.for_home_folder () {
             mount_point = Environment.get_home_dir ();
             make_this_home_location ();
+
+            get_fs_usage (File.new_for_path (mount_point));
         }
 
         void make_this_home_location () {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]