BrowserView.js
authorChris <chris@roojs.com>
Tue, 17 Sep 2013 05:54:16 +0000 (13:54 +0800)
committerChris <chris@roojs.com>
Tue, 17 Sep 2013 05:54:16 +0000 (13:54 +0800)
BrowserView.js

index 84690bb..8aae655 100644 (file)
@@ -325,16 +325,7 @@ BrowserView = new GType({
         this.signal.load_committed.connect(load_committed);
         this.signal.load_finished.connect(load_finished);
         this.signal.load_progress_changed.connect(update_progress);
-       print(WebKit.WebFrame);
-       var mf = this.get_main_frame();
-        var p = new Gtk.PrintOperation({ export_filename : '/home/chris/test_pdf/test.pdf' });
-        
-        print(mf.print_full(p, Gtk.PrintOperationAction.EXPORT));
-        print(mf);
-        print(p);
-
-
-
+       
         // For some reason, this segfaults seed in the instance init closure handler
         // Once that's fixed, uncommenting the next line will give middle-click-open-in-new tab
         //this.signal.navigation_policy_decision_requested.connect(clicked_link);