sync
[gitlive] / StatusIcon.vala
index dd5557f..cd3fac3 100644 (file)
@@ -37,8 +37,8 @@ static int main (string[] args) {
  
 public class StatusIconA : StatusIcon {
 
-    bool paused = false;
-    static StatusIconA statusicon;
+    public bool paused = false;
+    public static StatusIconA statusicon;
      
     public StatusIconA() {
         
@@ -132,8 +132,8 @@ public class StatusIconA : StatusIcon {
                 
                 this.activate.connect( () => {
                     statusicon.paused = true;
-                    
-                    //GitMonitor.GitMonitor.stop();
+                    GitMonitor.gitmonitor.stop();
+
                    // this.el.label  = status ? 'Resume' : 'Pause';
                     statusicon.set_from_stock( Gtk.Stock.MEDIA_PAUSE );
                     
@@ -157,7 +157,7 @@ public class StatusIconA : StatusIcon {
                 this.accel_group = null;
                 
                 this.activate.connect( () => {
-                    //GitMonitor.GitMonitor.start();
+                    GitMonitor.gitmonitor.start();
                     statusicon.paused = false;
                     
                     //
@@ -331,4 +331,4 @@ public class StatusIconA : StatusIcon {
 }
       
                 
-                  
\ No newline at end of file
+