From: Christian Dywan Date: Mon, 25 Apr 2011 23:26:10 +0000 (+0200) Subject: Use the same preference for new and external pages X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00f848b27c7efb4fa22b71f24d3d604bdeba2022;p=midori Use the same preference for new and external pages Fixes: https://bugs.launchpad.net/midori/+bug/704903 --- 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 (