StatusIcon.vala
authorAlan Knowles <alan@akbkhome.com>
Tue, 6 May 2014 13:48:31 +0000 (21:48 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 6 May 2014 13:48:31 +0000 (21:48 +0800)
StatusIcon.vala

index 9770850..4cd4349 100644 (file)
@@ -153,9 +153,12 @@ class StatusIconA : StatusIcon {
                 
                 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 );
                     
                     
                 })