BrowserView.js
authorChris <chris@roojs.com>
Tue, 17 Sep 2013 08:12:55 +0000 (16:12 +0800)
committerChris <chris@roojs.com>
Tue, 17 Sep 2013 08:12:55 +0000 (16:12 +0800)
BrowserView.js

index cd88347..1110100 100644 (file)
@@ -135,7 +135,7 @@ BrowserView = new GType({
             print("load finished");
             
             GLib.timeout_add(GLib.PRIORITY_LOW, 5000, function() {
-                this.set_zoom_level(0.5);
+                _t.set_zoom_level(0.5);
 //                _t.open("http://sg.lifestyleasia.com/videos/video-british-polo-day-singapore-2012/");
                 var mf = _t.get_main_frame();
                 var p = new Gtk.PrintOperation({ export_filename : '/home/chris/test_pdf/test2.pdf' });