src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Sun, 17 May 2015 08:37:08 +0000 (16:37 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 17 May 2015 08:37:08 +0000 (16:37 +0800)
src/Builder4/MainWindow.vala

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

index 472a062..515221b 100644 (file)
          "items" : [
           {
            "listeners" : {
-            "button_press_event" : "() => {\n    if (this.popup == null) {\n        this.popup = new Xcls_ValaCompileErrors();\n        this.popup.window = _this;\n    }\n    this.popup.show(this.notices, this.el);\n}"
+            "button_press_event" : "() => {\n    if (this.popup == null) {\n        this.popup = new Xcls_ValaCompileErrors();\n        this.popup.window = _this;\n    }\n    this.popup.show(this.notices, this.el);\n    return true;\n}"
            },
            "bool always_show_image" : true,
            "id" : "statusbar_errors",
           },
           {
            "listeners" : {
-            "button_press_event" : "() => {\n    if (this.popup == null) {\n        this.popup = new Xcls_ValaCompileErrors();\n        this.popup.window = _this;\n    }\n    this.popup.show(this.notices, this.el);\n}"
+            "button_press_event" : "() => {\n    if (this.popup == null) {\n        this.popup = new Xcls_ValaCompileErrors();\n        this.popup.window = _this;\n    }\n    this.popup.show(this.notices, this.el);\n    return true;\n}"
            },
            "bool always_show_image" : true,
            "id" : "statusbar_warnings",
index ab772c1..600d27d 100644 (file)
@@ -2290,6 +2290,7 @@ public class Xcls_MainWindow : Object
                     this.popup.window = _this;
                 }
                 this.popup.show(this.notices, this.el);
+                return true;
             });
         }
 
@@ -2351,6 +2352,7 @@ public class Xcls_MainWindow : Object
                     this.popup.window = _this;
                 }
                 this.popup.show(this.notices, this.el);
+                return true;
             });
         }