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

index 1f54d47..944f00d 100644 (file)
@@ -134,12 +134,12 @@ BrowserView = new GType({
         {
             print("load finished");
             
-            GLib.timeout_add(GLib.PRIORITY_LOW, 5000, function() {
+            GLib.timeout_add(GLib.PRIORITY_LOW, 2000, function() { 
                  
 //                _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' });
-
+                
                 mf.print_full(p, Gtk.PrintOperationAction.EXPORT)
                 //Seed.quit();
             });