diff options
author | Alessandro Ghedini <al3xbio@gmail.com> | 2012-05-20 20:01:21 +0200 |
---|---|---|
committer | Alessandro Ghedini <al3xbio@gmail.com> | 2012-05-20 20:01:21 +0200 |
commit | 87a5b11d7598fc1e5239e11972c5e03a38bbb672 (patch) | |
tree | cb14cf8d0ce50cac3bd909183f86710e6fa74056 /src/deamon.vala | |
parent | 5cf585bfd897084175f1b8f8f0d8c1c27614f288 (diff) |
Imported Upstream version 0.5.3upstream/0.5.3
Diffstat (limited to 'src/deamon.vala')
-rw-r--r-- | src/deamon.vala | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/deamon.vala b/src/deamon.vala index 2424f8f..117e872 100644 --- a/src/deamon.vala +++ b/src/deamon.vala @@ -36,7 +36,7 @@ public class Deamon : GLib.Object { ///////////////////////////////////////////////////////////////////// public static int main(string[] args) { - version = "0.5.2"; + version = "0.5.3"; Logger.init(); Gdk.threads_init(); @@ -173,7 +173,14 @@ public class Deamon : GLib.Object { Logger.stats("LAUNCH " + version); // open pie if neccessary - if (open_pie != null) PieManager.open_pie(open_pie); + if (open_pie != null) + PieManager.open_pie(open_pie); + else if (Config.global.showed_news < NewsWindow.news_count + && Logger.get_statistics_size() > 10000) { + + var b = new NewsWindow(); + b.show(); + } Gtk.main(); |