Handle -e/ --execute in Midori web application mode
This commit is contained in:
parent
38205dd351
commit
23a2d8e491
1 changed files with 2 additions and 0 deletions
|
@ -1768,6 +1768,8 @@ main (int argc,
|
||||||
G_CALLBACK (gtk_main_quit), NULL);
|
G_CALLBACK (gtk_main_quit), NULL);
|
||||||
gtk_widget_show (GTK_WIDGET (browser));
|
gtk_widget_show (GTK_WIDGET (browser));
|
||||||
midori_browser_activate_action (browser, "Location");
|
midori_browser_activate_action (browser, "Location");
|
||||||
|
if (execute)
|
||||||
|
midori_browser_activate_action (browser, *uris);
|
||||||
gtk_main ();
|
gtk_main ();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue