diff options
author | Alessandro Ghedini <al3xbio@gmail.com> | 2012-05-20 20:01:22 +0200 |
---|---|---|
committer | Alessandro Ghedini <al3xbio@gmail.com> | 2012-05-20 20:01:22 +0200 |
commit | a095c29cd9cc8e4a43d79548bc57b870c6e90bfa (patch) | |
tree | daf6e98fbb58b7f78213e98d9291255c151d8671 /src/deamon.vala | |
parent | b3977b8585efcd19a73e3bf7f25f41b01d9d4cae (diff) | |
parent | 87a5b11d7598fc1e5239e11972c5e03a38bbb672 (diff) |
Merge tag 'upstream/0.5.3'
Upstream version 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(); |