MergeBranch.bjs
[gitlive] / MergeBranch.vala
index bb72ae2..8934219 100644 (file)
@@ -112,11 +112,6 @@ public class MergeBranch : Object
         
                 
         });
-        this.el.show.connect( (self)  => {
-         
-        
-          //test
-        });
     }
 
     // user defined functions
@@ -128,14 +123,24 @@ public class MergeBranch : Object
        }
        GitMonitor.gitmonitor.stop();
        
-        this.ticket = ticket;
-        this.repo = repo;
-        
+       _this.el.show_all();
+       
+       _this.table.el.hide();
+       _this.scrolled_window.el.hide();
+       _this.spinner.el.show();
+       _this.spinner.el.start();       
+       this.el.set_keep_above(true);    
        this.el.move((Gdk.Screen.width() / 2)- 250 ,0);
                GLib.debug("Loading tickets"); 
     
     
-        this.el.show_all();
+       
+       
+        this.ticket = ticket;
+        this.repo = repo;
+        
+       
+    
        _this.dbmodel.loadTickets();
        _this.actionmodel.loadActions();
        _this.view.loadTicket(ticket.id);
@@ -779,6 +784,12 @@ public class MergeBranch : Object
 
             // set gobject values
             this.el.label = "Do Merge";
+
+            // init method
+
+            {
+               this.el.get_style_context().add_class("suggested-action");
+            }
         }
 
         // user defined functions