Handle -e/ --execute in Midori web application mode

This commit is contained in:
Christian Dywan 2009-12-07 20:44:29 +01:00
parent 38205dd351
commit 23a2d8e491

View file

@ -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;
}