[Xfce4-commits] <midori:master> Handle -e/ --execute in Midori web application mode

Christian Dywan noreply at xfce.org
Mon Dec 7 20:46:02 CET 2009


Updating branch refs/heads/master
         to 23a2d8e49167eda7f6fa7a24c371055d0fc4bbce (commit)
       from 38205dd35194416fcdc1ae220bd304121d6cdb97 (commit)

commit 23a2d8e49167eda7f6fa7a24c371055d0fc4bbce
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Dec 7 20:44:29 2009 +0100

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

 midori/main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/midori/main.c b/midori/main.c
index b87504b..66df49d 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;
     }



More information about the Xfce4-commits mailing list