[Xfce4-commits] <midori:master> Use the same preference for new and external pages

Christian Dywan noreply at xfce.org
Tue Apr 26 02:50:01 CEST 2011


Updating branch refs/heads/master
         to 00f848b27c7efb4fa22b71f24d3d604bdeba2022 (commit)
       from 0eaedf4afa53d69dad00f8e564fd96d782743d40 (commit)

commit 00f848b27c7efb4fa22b71f24d3d604bdeba2022
Author: Christian Dywan <christian at twotoasts.de>
Date:   Tue Apr 26 01:26:10 2011 +0200

    Use the same preference for new and external pages
    
    Fixes: https://bugs.launchpad.net/midori/+bug/704903

 midori/midori-app.c         |    2 +-
 midori/midori-websettings.c |    7 +++++++
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/midori/midori-app.c b/midori/midori-app.c
index f88741e..bb9b5b6 100644
--- a/midori/midori-app.c
+++ b/midori/midori-app.c
@@ -473,7 +473,7 @@ midori_app_command_received (MidoriApp*   app,
             MidoriNewPage open_external_pages_in;
             gboolean first;
 
-            g_object_get (app->settings, "open-external-pages-in",
+            g_object_get (app->settings, "open-new-pages-in",
                           &open_external_pages_in, NULL);
             if (open_external_pages_in == MIDORI_NEW_PAGE_WINDOW)
             {
diff --git a/midori/midori-websettings.c b/midori/midori-websettings.c
index 196a9cb..15b3f4d 100644
--- a/midori/midori-websettings.c
+++ b/midori/midori-websettings.c
@@ -778,6 +778,13 @@ midori_web_settings_class_init (MidoriWebSettingsClass* class)
                                      MIDORI_NEW_PAGE_TAB,
                                      flags));
 
+    /**
+     * MidoriWebSettings:open-external-pages-in:
+     *
+     * Where to open externally opened pages.
+     *
+     * Deprecated: 0.3.4
+     */
     g_object_class_install_property (gobject_class,
                                      PROP_OPEN_EXTERNAL_PAGES_IN,
                                      g_param_spec_enum (



More information about the Xfce4-commits mailing list