From: Christian Dywan Date: Mon, 7 Dec 2009 19:44:29 +0000 (+0100) Subject: Handle -e/ --execute in Midori web application mode X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23a2d8e49167eda7f6fa7a24c371055d0fc4bbce;p=midori Handle -e/ --execute in Midori web application mode --- diff --git a/midori/main.c b/midori/main.c index b87504be..66df49d4 100644 --- a/midori/main.c +++ b/midori/main.c @@ -1768,6 +1768,8 @@ main (int argc, G_CALLBACK (gtk_main_quit), NULL); gtk_widget_show (GTK_WIDGET (browser)); midori_browser_activate_action (browser, "Location"); + if (execute) + midori_browser_activate_action (browser, *uris); gtk_main (); return 0; }