var load_finished_called = false;
var done_print = false;
- var queue_print = 0;
+ var queue_print = -1;
var load_started = function(fr)
{
print("load started");
-
+ queue_print++;
}
if (done_print) {
- queue_print++;
+
print("do_print called -- while already doing this... - restarting queue...");
GLib.timeout_add(GLib.PRIORITY_DEFAULT, BrowserSettings.delay *1, realprint);
-
- var load_committed = function (web_view, web_frame)
- {
- print("load commited");
-
- update_url(web_view, web_frame);
-
- // call load finished after 20seconds??
- // so even if it never complets we try and print the thing.
- GLib.timeout_add(GLib.PRIORITY_LOW, 40000, function() {
- print("load commited - 3000 ms?");
- load_finished();
- });
-
- };
+
var clicked_link = function (web_view, web_frame, request,
action, decision, window)