summaryrefslogtreecommitdiff
path: root/src/deamon.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/deamon.vala')
-rw-r--r--src/deamon.vala11
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();