public bool queueRunning = false;
public DateTime lastAdd;
- private static Canberra.Context sound_context;
-
+
+ private Canberra.Context sound_context;
+
public GitMonitor () {
+
+
+
this.queue = new Array<GitMonitorQueue>();
GitMonitor.gitmonitor = this;
+ Canberra.Context.create(out sound_context);
+
+
Timeout.add_full(Priority.LOW, 1000, () => {
//print("TIMEOUT queue length = %d, is_runing = %s\n", (int)this.queue.length , this.queueRunning ? "Y" : "N");
notification.set_timeout(60); // show errros for longer
notification.show();
-
+ sound_context.play(0, Canberra.PROP_EVENT_ID, "message-new-instant", Canberra.PROP_EVENT_DESCRIPTION, "Problem with gitlive");