From 7bfe5eb3ebda6c583382ad4600c4a5e1f0c507b1 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 17 Sep 2013 16:12:22 +0800 Subject: [PATCH] BrowserView.js --- BrowserView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BrowserView.js b/BrowserView.js index d831056..cd88347 100644 --- a/BrowserView.js +++ b/BrowserView.js @@ -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); -- 2.39.2