projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bffb6ef
)
Gitlive.vala
author
Alan Knowles
<alan@akbkhome.com>
Sat, 10 May 2014 11:14:24 +0000
(19:14 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sat, 10 May 2014 11:14:24 +0000
(19:14 +0800)
Gitlive.vala
patch
|
blob
|
history
diff --git
a/Gitlive.vala
b/Gitlive.vala
index
424565b
..
2d2ad7b
100644
(file)
--- a/
Gitlive.vala
+++ b/
Gitlive.vala
@@
-28,15
+28,13
@@
static int main (string[] args) {
StatusIcon.init();
-
-
- MainLoop loop = new MainLoop ();
- print("starting");
- var m = new Monitor();
-
- m.add("/home/alan/gitlive");
- m.start();
- loop.run ();
+ GLib.timeout_add(GLib.PRIORITY_LOW, 500, () => {
+ // this should start after we have shown the icon...
+ GitMonitor.add(GitMonitor.gitlive);
+ GitMonitor.start();
+
+ // WindowLog.start();
+ });
Gtk.main ();