projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f5960e
)
Gitlive.vala
author
Alan Knowles
<alan@akbkhome.com>
Sat, 10 May 2014 11:13:49 +0000
(19:13 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sat, 10 May 2014 11:13:49 +0000
(19:13 +0800)
Gitlive.vala
patch
|
blob
|
history
diff --git
a/Gitlive.vala
b/Gitlive.vala
index
2ed13e7
..
424565b
100644
(file)
--- 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;
}