print("loading url %s\n",blog);
this.view.el.load_uri(blog);
-
+
// if we have not finished in 25 seconds
// call printit...
- var cd = 25;
+ var cd = webkitpdf.opt_delay > 25 ? webkitpdf.opt_delay : 25;
GLib.Timeout.add_seconds(1, () => {
cd--;
- print("timeout 25 seconds :%d", cd);
+ print("timeout %d seconds :%d", (int)( webkitpdf.opt_delay > 25 ? webkitpdf.opt_delay : 25), (int)cd);
if (cd < 1) {
print("calling printit - timed out");
_this.view.printit();