src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 27 Feb 2015 01:18:05 +0000 (09:18 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 27 Feb 2015 01:18:05 +0000 (09:18 +0800)
src/Builder4/MainWindow.vala

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

index 1a5d5a1..8451c9b 100644 (file)
                  "items" : [
                   {
                    "listeners" : {
-                    "clicked" : "  ( ) => {\n    \n    this.windowstate.switchState(WindowState.State.LISTENER);\n  \n\n\n}"
+                    "clicked" : "  ( ) => {\n    \n    _this.windowstate.switchState(WindowState.State.LISTENER);\n  \n\n\n}"
                    },
                    "* pack" : false,
                    "xtype" : "Button",
index 1419d07..a764aaf 100644 (file)
@@ -1861,7 +1861,7 @@ public class Xcls_MainWindow : Object
             // listeners 
             this.el.clicked.connect( ( ) => {
                 
-                this.windowstate.switchState(WindowState.State.LISTENER);
+                _this.windowstate.switchState(WindowState.State.LISTENER);