src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 18 May 2015 09:40:09 +0000 (17:40 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 18 May 2015 09:40:09 +0000 (17:40 +0800)
src/Builder4/MainWindow.vala

src/Builder4/MainWindow.bjs
src/Builder4/MainWindow.vala

index 4866b42..0877e06 100644 (file)
           {
            "* pack" : "add",
            "xtype" : "MenuItem",
-           "$ xns" : "Gtk"
-          },
-          {
-           "bool always_show_image" : true,
-           "id" : "statusbar_errors",
-           "Xcls_ValaCompileErrors popup" : "",
            "string label" : "Compile Status:",
-           "* pack" : "add",
-           "xtype" : "ImageMenuItem",
-           "$ xns" : "Gtk",
-           "items" : [
-            {
-             "xtype" : "Image",
-             "utf8 icon_name" : "dialog-error",
-             "* pack" : "set_image",
-             "$ xns" : "Gtk"
-            }
-           ]
+           "$ xns" : "Gtk"
           },
           {
            "listeners" : {
index fa355b8..d4de979 100644 (file)
@@ -39,7 +39,6 @@ public class Xcls_MainWindow : Object
     public Xcls_delprojectbutton delprojectbutton;
     public Xcls_statusbar statusbar;
     public Xcls_statusbar_errors statusbar_errors;
-    public Xcls_statusbar_errors statusbar_errors;
     public Xcls_statusbar_warnings statusbar_warnings;
     public Xcls_statusbar_depricated statusbar_depricated;
 
@@ -2250,15 +2249,12 @@ public class Xcls_MainWindow : Object
             var child_1 = new Xcls_statusbar_errors( _this );
             child_1.ref();
             this.el.add (  child_1.el  );
-            var child_2 = new Xcls_statusbar_errors( _this );
+            var child_2 = new Xcls_statusbar_warnings( _this );
             child_2.ref();
             this.el.add (  child_2.el  );
-            var child_3 = new Xcls_statusbar_warnings( _this );
+            var child_3 = new Xcls_statusbar_depricated( _this );
             child_3.ref();
             this.el.add (  child_3.el  );
-            var child_4 = new Xcls_statusbar_depricated( _this );
-            child_4.ref();
-            this.el.add (  child_4.el  );
         }
 
         // user defined functions 
@@ -2280,56 +2276,7 @@ public class Xcls_MainWindow : Object
             // my vars (dec)
 
             // set gobject values
-        }
-
-        // user defined functions 
-    }
-    public class Xcls_statusbar_errors : Object 
-    {
-        public Gtk.ImageMenuItem el;
-        private Xcls_MainWindow  _this;
-
-
-            // my vars (def)
-        public Xcls_ValaCompileErrors popup;
-
-        // ctor 
-        public Xcls_statusbar_errors(Xcls_MainWindow _owner )
-        {
-            _this = _owner;
-            _this.statusbar_errors = this;
-            this.el = new Gtk.ImageMenuItem();
-
-            // my vars (dec)
-
-            // set gobject values
-            this.el.always_show_image = true;
             this.el.label = "Compile Status:";
-            var child_0 = new Xcls_Image72( _this );
-            child_0.ref();
-            this.el.set_image (  child_0.el  );
-        }
-
-        // user defined functions 
-    }
-    public class Xcls_Image72 : Object 
-    {
-        public Gtk.Image el;
-        private Xcls_MainWindow  _this;
-
-
-            // my vars (def)
-
-        // ctor 
-        public Xcls_Image72(Xcls_MainWindow _owner )
-        {
-            _this = _owner;
-            this.el = new Gtk.Image();
-
-            // my vars (dec)
-
-            // set gobject values
-            this.el.icon_name = "dialog-error";
         }
 
         // user defined functions 
@@ -2357,7 +2304,7 @@ public class Xcls_MainWindow : Object
             // set gobject values
             this.el.always_show_image = true;
             this.el.label = "Errors";
-            var child_0 = new Xcls_Image74( _this );
+            var child_0 = new Xcls_Image72( _this );
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
@@ -2380,7 +2327,7 @@ public class Xcls_MainWindow : Object
 
         // user defined functions 
     }
-    public class Xcls_Image74 : Object 
+    public class Xcls_Image72 : Object 
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -2389,7 +2336,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Image74(Xcls_MainWindow _owner )
+        public Xcls_Image72(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.Image();
@@ -2425,7 +2372,7 @@ public class Xcls_MainWindow : Object
             // set gobject values
             this.el.always_show_image = true;
             this.el.label = "Warnings";
-            var child_0 = new Xcls_Image76( _this );
+            var child_0 = new Xcls_Image74( _this );
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
@@ -2447,7 +2394,7 @@ public class Xcls_MainWindow : Object
 
         // user defined functions 
     }
-    public class Xcls_Image76 : Object 
+    public class Xcls_Image74 : Object 
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -2456,7 +2403,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Image76(Xcls_MainWindow _owner )
+        public Xcls_Image74(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.Image();
@@ -2492,7 +2439,7 @@ public class Xcls_MainWindow : Object
             // set gobject values
             this.el.always_show_image = true;
             this.el.label = "Depricated";
-            var child_0 = new Xcls_Image78( _this );
+            var child_0 = new Xcls_Image76( _this );
             child_0.ref();
             this.el.set_image (  child_0.el  );
 
@@ -2514,7 +2461,7 @@ public class Xcls_MainWindow : Object
 
         // user defined functions 
     }
-    public class Xcls_Image78 : Object 
+    public class Xcls_Image76 : Object 
     {
         public Gtk.Image el;
         private Xcls_MainWindow  _this;
@@ -2523,7 +2470,7 @@ public class Xcls_MainWindow : Object
             // my vars (def)
 
         // ctor 
-        public Xcls_Image78(Xcls_MainWindow _owner )
+        public Xcls_Image76(Xcls_MainWindow _owner )
         {
             _this = _owner;
             this.el = new Gtk.Image();