NewBranch.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 14 Dec 2018 02:23:34 +0000 (10:23 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Dec 2018 02:23:34 +0000 (10:23 +0800)
NewBranch.vala

NewBranch.bjs
NewBranch.vala

index 4cf708d..4a4944d 100644 (file)
@@ -18,7 +18,7 @@
    "title" : "Create a working branch ",
    "xtype" : "Dialog",
    "# GitRepo? repo" : "null",
-   "|   void show" : "( GitRepo repo, Gee.ArrayList<GitMonitorQueue> queue ) \n{\n     // this.el.set_gravity(Gdk.Gravity.NORTH);\n    if (this.running) { // should not happen!!\n    \tGLib.error(\"new branch show called, when already being displayed?\");\n\t}\n\tthis.queue = queue;\n\t\n\tthis.running  = true;\n\tGitMonitor.gitmonitor.stop();\n\t\n    this.repo = repo;\n    \n\tthis.el.move((Gdk.Screen.width() / 2)- 250 ,0);\n       \tGLib.debug(\"Loading tickets\"); \n\n\n    this.el.show_all();\n        this.el.set_keep_above(true);\n \t_this.dbmodel.loadTickets();\n \tthis.el.run();\n\n}",
+   "|   void show" : "( GitRepo repo, Gee.ArrayList<GitMonitorQueue> queue ) \n{\n     // this.el.set_gravity(Gdk.Gravity.NORTH);\n    if (this.running) { // should not happen!!\n    \tGLib.error(\"new branch show called, when already being displayed?\");\n\t}\n\tthis.queue = queue;\n\t\n\tthis.running  = true;\n\tGitMonitor.gitmonitor.stop();\n\t\n    this.repo = repo;\n    \n\tthis.el.move((Gdk.Screen.width() / 2)- 250 ,0);\n   \tGLib.debug(\"Loading tickets\"); \n\n\n    this.el.show_all();\n    this.el.set_keep_above(true);\n \t_this.dbmodel.loadTickets();\n \tthis.el.run();\n\n}",
    "default_height" : 200,
    "$ xns" : "Gtk",
    "# bool running" : false,
index 48b2ef4..87d2fb3 100644 (file)
@@ -120,11 +120,11 @@ public class NewBranch : Object
         this.repo = repo;
         
        this.el.move((Gdk.Screen.width() / 2)- 250 ,0);
-               GLib.debug("Loading tickets"); 
+               GLib.debug("Loading tickets"); 
     
     
         this.el.show_all();
-            this.el.set_keep_above(true);
+        this.el.set_keep_above(true);
        _this.dbmodel.loadTickets();
        this.el.run();