StatusIcon.vala
[gitlive] / StatusIcon.vala
index 3a7fc30..ba3d08e 100644 (file)
@@ -45,7 +45,7 @@ class StatusIconA : StatusIcon {
         
         
          //title : 'gitlive',
-        this.stock = Gtk.STOCK_REFRESH;
+        this.stock = Gtk.Stock.REFRESH;
         this.tooltip_text = "GitLive";
         this.title = "gitlive";
         
@@ -113,6 +113,11 @@ class StatusIconA : StatusIcon {
             public ImageMenuItemA()
             {
                 this.set_from_stock( Gtk.Stock.MEDIA_PAUSE );
+                
+               var  image = new Gtk.Image()NU);
+               image.set_from_stock(Gtk.Stock.MEDIA_PAUSE,Gtk.IconSize.MENU );
+               item_open.set_image (image);
+                
                 this.label= "Pause Commits";
                 this.always_show_image = true;
                 this.accel_group = null;