aboutsummaryrefslogtreecommitdiffstats
path: root/src/popup-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/popup-commands.c')
-rw-r--r--src/popup-commands.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c
index 64311ddf3..9a75a8ac6 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -164,11 +164,10 @@ popup_cmd_bookmark_link (EggAction *action,
location))
{
new_bookmark = ephy_new_bookmark_new
- (bookmarks, GTK_WINDOW (window), location);
+ (bookmarks, GTK_WINDOW (window),
+ rel ? rel : location);
ephy_new_bookmark_set_title
(EPHY_NEW_BOOKMARK (new_bookmark), title);
- ephy_new_bookmark_set_smarturl
- (EPHY_NEW_BOOKMARK (new_bookmark), rel);
gtk_widget_show (new_bookmark);
}
}