4 valac --pkg gio-2.0 --pkg posix --pkg gtk+-3.0 --pkg libnotify --pkg libwnck-3.0 \
14 --Xcc=-DWNCK_I_KNOW_THIS_IS_UNSTABLE \
15 -o /tmp/Gitlive && /tmp/Gitlive
25 static int main (string[] args) {
27 //GLib.Log.set_always_fatal(LogLevelFlags.LEVEL_ERROR | LogLevelFlags.LEVEL_CRITICAL);
31 GitMonitor.gitlive = Environment.get_home_dir() + "/gitlive";
33 print("GitMonitor.gitlive=" + GitMonitor.gitlive);
35 Notify.init("gitlive");
38 var gm = new GitMonitor();
41 Timeout.add_full(Priority.LOW, 500, () => {
42 // this should start after we have shown the icon...
43 print("adding GitMonitor.gitlive: " + GitMonitor.gitlive);
44 gm.add(GitMonitor.gitlive);