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

NewBranch.bjs
NewBranch.vala

index a602bce..d7c1b79 100644 (file)
        ]
       }
      ]
-    },
-    {
-     "label" : "Do not create Branch",
-     "* pack" : "add_action_widget,0",
-     "xtype" : "Button",
-     "Gtk.ReliefStyle relief" : "Gtk.ReliefStyle.NONE",
-     "$ xns" : "Gtk"
-    },
-    {
-     "label" : "Create Branch",
-     "* pack" : "add_action_widget,1",
-     "xtype" : "Button",
-     "$ xns" : "Gtk"
     }
    ]
   }
index f7f3009..0270d12 100644 (file)
@@ -45,12 +45,6 @@ public class NewBranch : Object
         var child_0 = new Xcls_VBox2( _this );
         child_0.ref();
         this.el.get_content_area().add (  child_0.el  );
-        var child_1 = new Xcls_Button16( _this );
-        child_1.ref();
-        this.el.add_action_widget (  child_1.el , 0 );
-        var child_2 = new Xcls_Button17( _this );
-        child_2.ref();
-        this.el.add_action_widget (  child_2.el , 1 );
 
         //listeners
         this.el.delete_event.connect( (self, event) => {
@@ -671,51 +665,4 @@ public class NewBranch : Object
 
 
 
-    public class Xcls_Button16 : Object
-    {
-        public Gtk.Button el;
-        private NewBranch  _this;
-
-
-            // my vars (def)
-
-        // ctor
-        public Xcls_Button16(NewBranch _owner )
-        {
-            _this = _owner;
-            this.el = new Gtk.Button();
-
-            // my vars (dec)
-
-            // set gobject values
-            this.el.relief = Gtk.ReliefStyle.NONE;
-            this.el.label = "Do not create Branch";
-        }
-
-        // user defined functions
-    }
-
-    public class Xcls_Button17 : Object
-    {
-        public Gtk.Button el;
-        private NewBranch  _this;
-
-
-            // my vars (def)
-
-        // ctor
-        public Xcls_Button17(NewBranch _owner )
-        {
-            _this = _owner;
-            this.el = new Gtk.Button();
-
-            // my vars (dec)
-
-            // set gobject values
-            this.el.label = "Create Branch";
-        }
-
-        // user defined functions
-    }
-
 }