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

index f291ce6..84690bb 100644 (file)
@@ -327,7 +327,7 @@ BrowserView = new GType({
         this.signal.load_progress_changed.connect(update_progress);
        print(WebKit.WebFrame);
        var mf = this.get_main_frame();
-        var p = new Gtk.PrintOperation({ export_filename : 'test.pdf' });
+        var p = new Gtk.PrintOperation({ export_filename : '/home/chris/test_pdf/test.pdf' });
         
         print(mf.print_full(p, Gtk.PrintOperationAction.EXPORT));
         print(mf);