Gitlive.vala
authorAlan Knowles <alan@akbkhome.com>
Sat, 10 May 2014 11:13:49 +0000 (19:13 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 10 May 2014 11:13:49 +0000 (19:13 +0800)
Gitlive.vala

index 2ed13e7..424565b 100644 (file)
 
 
 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;
 
 }