[Xfce4-commits] <midori:master> Fix --run command line switch by midori_paths_init

Christian Dywan noreply at xfce.org
Tue May 14 19:58:04 CEST 2013


Updating branch refs/heads/master
         to 2258ab2cbc8fa3f23e8d5390ed74d29f209a6db9 (commit)
       from 0efebccc4812af9742108d1d47ce60b1f3d4dc4f (commit)

commit 2258ab2cbc8fa3f23e8d5390ed74d29f209a6db9
Author: Christian Dywan <christian at twotoasts.de>
Date:   Tue May 14 19:55:36 2013 +0200

    Fix --run command line switch by midori_paths_init

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

diff --git a/midori/main.c b/midori/main.c
index 0c53bdb..7c92ea7 100644
--- a/midori/main.c
+++ b/midori/main.c
@@ -352,6 +352,8 @@ main (int    argc,
 
         if (g_file_get_contents (uris ? *uris : NULL, &script, NULL, &error))
         {
+            midori_paths_init (MIDORI_RUNTIME_MODE_PRIVATE, config);
+
             MidoriBrowser* browser = midori_browser_new ();
             MidoriWebSettings* settings = midori_browser_get_settings (browser);
 #ifndef HAVE_WEBKIT2


More information about the Xfce4-commits mailing list