- if (str.match(/Already up-to-date/)) {
- continue;
- }
- var notification = new Notify.Notification({
- summary: "Updated " + repo.name,
- body : str
- });
- notification.set_timeout(20);
- notification.show();
-
- } catch(e) {
- this.parent.parent.el.set_from_stock( Gtk.STOCK_MEDIA_RECORD );
- print(JSON.stringify(e));
- print("notification or push errror- probably to many in queue..");
- imports.gitlive.errorDialog(e.message);
-
- }