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

index 8dda03f..7150111 100644 (file)
@@ -132,14 +132,14 @@ BrowserView = new GType({
         var load_finished = function ()
         {
             print("load finished");
-            tab.get_toolbar().set_progress(0);
-            
             
             var mf = _t.get_main_frame();
             var p = new Gtk.PrintOperation({ export_filename : '/home/chris/test_pdf/test.pdf' });
 
             print(mf.print_full(p, Gtk.PrintOperationAction.EXPORT));
             
+            tab.get_toolbar().set_progress(0);
+            
             _t.add_inject(true);
           
             _t.add_nsinject(true);