aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window-commands.c')
-rw-r--r--src/window-commands.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index f72b10143..b4a801e2b 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -946,9 +946,17 @@ window_cmd_load_location (GtkAction *action,
if (location)
{
- ephy_link_open (EPHY_LINK (window), location,
+ EphyBookmarks *bookmarks;
+ char *address;
+
+ bookmarks = ephy_shell_get_bookmarks (ephy_shell_get_default ());
+
+ address = ephy_bookmarks_resolve_address (bookmarks, location, NULL);
+ g_return_if_fail (address != NULL);
+
+ ephy_link_open (EPHY_LINK (window), address,
ephy_window_get_active_tab (window),
- ephy_link_flags_from_current_event ());
+ ephy_link_flags_from_current_event () | EPHY_LINK_ALLOW_FIXUP);
}
}