Use the same preference for new and external pages
Fixes: https://bugs.launchpad.net/midori/+bug/704903
This commit is contained in:
parent
0eaedf4afa
commit
00f848b27c
2 changed files with 8 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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 (
|
||||
|
|
Loading…
Reference in a new issue