]> spindle.queued.net Git - midori/commitdiff
Handle -e/ --execute in Midori web application mode
authorChristian Dywan <christian@twotoasts.de>
Mon, 7 Dec 2009 19:44:29 +0000 (20:44 +0100)
committerChristian Dywan <christian@twotoasts.de>
Mon, 7 Dec 2009 19:44:29 +0000 (20:44 +0100)
midori/main.c

index b87504bee37d0424427d7ef5337afaa4b3ec316d..66df49d4361c43cb025bd1539c84072442e68bda 100644 (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;
     }