From: Alan Knowles Date: Sat, 10 May 2014 11:13:49 +0000 (+0800) Subject: Gitlive.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=bffb6effc70d6f7983f756f7657e090c015dc6e2 Gitlive.vala --- 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; }