src/Builder4/WindowRooView.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 15 Apr 2015 06:05:01 +0000 (14:05 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 15 Apr 2015 06:05:01 +0000 (14:05 +0800)
src/Builder4/WindowRooView.vala

src/Builder4/WindowRooView.bjs
src/Builder4/WindowRooView.vala

index 6f12ad9..5c8f858 100644 (file)
@@ -53,7 +53,7 @@
         },
         {
          "listeners" : {
-          "clicked" : " () => {\n  _this.view.redraws = 99;\n    _this.view.el.web_context.clear_cache();  \n  _this.view.renderJS(true);\n  \n\n}"
+          "clicked" : " () => {\n  _this.view.redraws = 99;\n    _this.view.el.web_context.clear_cache();  \n  //_this.view.renderJS(true);\n  _this.view.reInit();\n\n}"
          },
          "label" : "Full Redraw",
          "* pack" : "pack_start,false,false,0",
index 3a83080..9acea11 100644 (file)
@@ -257,8 +257,8 @@ public class Xcls_WindowRooView : Object
             this.el.clicked.connect( () => {
               _this.view.redraws = 99;
                 _this.view.el.web_context.clear_cache();  
-              _this.view.renderJS(true);
-              
+              //_this.view.renderJS(true);
+              _this.view.reInit();
             
             });
         }