[gnome-usage] Fix storage analyzer spawning.



commit 067df129527e999a2f3d08ac6959485e16f3ee08
Author: Petr Štětka <pstetka redhat com>
Date:   Mon Mar 13 16:50:27 2017 +0100

    Fix storage analyzer spawning.

 README.md                 |    4 ++--
 meson.build               |    2 +-
 src/storage-analyzer.vala |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/README.md b/README.md
index 6d502b7..7922fa6 100644
--- a/README.md
+++ b/README.md
@@ -17,10 +17,10 @@ New GNOME Usage!
 [Download 
RPM](https://github.com/petr-stety-stetka/gnome-usage/releases/download/v0.3.8/gnome-usage-0.3.8-1.x86_64.rpm)
 
 ##Run
-In terminal run ```gnome-usage``` command or run GNOME Usage application from app launcher.
+In terminal run ```gnome-usage``` command or run Usage from app launcher.
 
 ##Version
-Actual version is 0.4.0
+Actual version is 0.4.1
 
 ##Dependencies
 - [libnetinfo >= 0.3.1](https://github.com/kaegi/netinfo-ffi) 
diff --git a/meson.build b/meson.build
index 542f699..902d318 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-project('gnome-usage', ['vala', 'c'], version : '0.4.0')
+project('gnome-usage', ['vala', 'c'], version : '0.4.1')
 
 cc = meson.get_compiler('c')
 
diff --git a/src/storage-analyzer.vala b/src/storage-analyzer.vala
index 9e84956..fb2e2f6 100644
--- a/src/storage-analyzer.vala
+++ b/src/storage-analyzer.vala
@@ -243,9 +243,9 @@ namespace Usage
                 thread.join();
 
                 cache = true;
+                can_scan = true;
                 cache_complete();
             }
-            can_scan = true;
         }
 
         private void scan_cache()
@@ -490,4 +490,4 @@ namespace Usage
             };
         }
     }
-}
\ No newline at end of file
+}


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