From 00f848b27c7efb4fa22b71f24d3d604bdeba2022 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Tue, 26 Apr 2011 01:26:10 +0200 Subject: [PATCH] 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 deletion(-) diff --git a/midori/midori-app.c b/midori/midori-app.c index f88741e2..bb9b5b65 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 196a9cb4..15b3f4de 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 (