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

index d831056..cd88347 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.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' });
@@ -330,7 +330,7 @@ BrowserView = new GType({
 
         // Implementation
         //this.set_scroll_adjustments(null, null);
-        this.set_zoom_level(0.8);
+        
         this.signal.title_changed.connect(update_title);
         this.signal.load_committed.connect(load_committed);
         this.signal.load_finished.connect(load_finished);