RepoStatusPopover.bjs
[gitlive] / RepoStatusPopover.vala
index 5f0b257..9e40c63 100644 (file)
@@ -588,8 +588,8 @@ public class RepoStatusPopover : Object
             
                _this.el.hide();
                Clones.singleton().el.response(-1);
-               if (this.repo.activeTicket) {
-                  MergeBranch.singleton().show(this.repo.activeTicket, null);   
+               if (_this.repo.activeTicket != null) {
+                  MergeBranch.singleton().show(_this.repo.activeTicket, null);   
                }
                 return false;
             });
@@ -610,7 +610,7 @@ public class RepoStatusPopover : Object
         public Xcls_Button19(RepoStatusPopover _owner )
         {
             _this = _owner;
-            this.el = new Gtk.Button();
+            this.el = new GtkButton.new_from_stock();
 
             // my vars (dec)
 
@@ -622,7 +622,7 @@ public class RepoStatusPopover : Object
               
             
             
-                Clones.singleton().el.hide();
+                  Clones.singleton().el.response(-1);
               
                _this.el.hide();
                Ticket.singleton().show( _this.repo);