class StatusIconA : StatusIcon {
bool paused = false;
-
- MenuA menu = null;
-
+
public StatusIconA() {
+
+ statusicon = this;
+
+
//title : 'gitlive',
this.stock = Gtk.STOCK_REFRESH;
this.tooltip_text = "GitLive";
this.activate.connect( () => {
this.parent.parent.paused = true;
- imports.GitMonitor.GitMonitor.stop();
+
+ statusicon.paused = true;
+
+ //GitMonitor.GitMonitor.stop();
// this.el.label = status ? 'Resume' : 'Pause';
- this.parent.parent.el.set_from_stock( Gtk.STOCK_MEDIA_PAUSE );
+ statusicon.el.set_from_stock( Gtk.STOCK_MEDIA_PAUSE );
})