From bffb6effc70d6f7983f756f7657e090c015dc6e2 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Sat, 10 May 2014 19:13:49 +0800 Subject: [PATCH] Gitlive.vala --- Gitlive.vala | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Gitlive.vala b/Gitlive.vala index 2ed13e78..424565b9 100644 --- a/Gitlive.vala +++ b/Gitlive.vala @@ -19,8 +19,17 @@ static int main (string[] args) { - // A reference to our file - //var file = File.new_for_path ("data.txt"); + Gtk.init (ref args); + + GitMonitor.gitlive = GLib.get_home_dir() + "/gitlive"; + + Notify.init("gitlive"); + + StatusIcon.init(); + + + + MainLoop loop = new MainLoop (); print("starting"); var m = new Monitor(); @@ -29,6 +38,8 @@ static int main (string[] args) { m.start(); loop.run (); + Gtk.main (); + return 0; } -- 2.39.2