]> spindle.queued.net Git - midori/commitdiff
Use the same preference for new and external pages
authorChristian Dywan <christian@twotoasts.de>
Mon, 25 Apr 2011 23:26:10 +0000 (01:26 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 25 Apr 2011 23:26:10 +0000 (01:26 +0200)
Fixes: https://bugs.launchpad.net/midori/+bug/704903
midori/midori-app.c
midori/midori-websettings.c

index f88741e2d6a9ec04b864629d87a1dd547fea2698..bb9b5b654325316edf0f8b1f63fbfda9de26aa5c 100644 (file)
@@ -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)
             {
index 196a9cb439075939ce0dbe9279509455af6bb1cb..15b3f4de2364dbf83f60c1ff8f425253d5b45a78 100644 (file)
@@ -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 (