From 1f6f24308e96040962794c5a9ffd81597b5e072a Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Sat, 3 Nov 2012 16:15:11 +0100 Subject: Imported Upstream version 0.5.4 --- src/deamon.vala | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'src/deamon.vala') diff --git a/src/deamon.vala b/src/deamon.vala index 117e872..a987de3 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.3"; + version = "0.5.4"; Logger.init(); Gdk.threads_init(); @@ -100,8 +100,6 @@ public class Deamon : GLib.Object { message("Removed file \"%s\"", Paths.pie_config); if (GLib.FileUtils.remove(Paths.settings) == 0) message("Removed file \"%s\"", Paths.settings); - - Logger.stats("LAUNCH RESET"); return; } @@ -121,16 +119,12 @@ public class Deamon : GLib.Object { data.set_text(open_pie, open_pie.length); app.send_message(Unique.Command.ACTIVATE, data); - Logger.stats("LAUNCH PIE " + open_pie); - return; } message("Gnome-Pie is already running. Sending request to open config menu."); app.send_message(Unique.Command.ACTIVATE, null); - Logger.stats("LAUNCH CONFIG"); - return; } @@ -170,17 +164,10 @@ public class Deamon : GLib.Object { // finished loading... so run the prog! message("Started happily..."); - Logger.stats("LAUNCH " + version); // open pie if neccessary 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(); -- cgit v1.2.3