aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-window.c2
-rw-r--r--src/popup-commands.c7
-rw-r--r--src/popup-commands.h3
3 files changed, 12 insertions, 0 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index f66d4119d..deb226d7c 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -273,6 +273,8 @@ static GtkActionEntry ephy_popups_entries [] = {
NULL, NULL, G_CALLBACK (popup_cmd_link_in_new_tab) },
{ "DownloadLink", GTK_STOCK_SAVE, N_("_Download Link"), NULL,
NULL, G_CALLBACK (popup_cmd_download_link) },
+ { "DownloadLinkAs", GTK_STOCK_SAVE, N_("_Download Link As..."), NULL,
+ NULL, G_CALLBACK (popup_cmd_download_link_as) },
{ "BookmarkLink", STOCK_ADD_BOOKMARK, N_("_Bookmark Link..."),
NULL, NULL, G_CALLBACK (popup_cmd_bookmark_link) },
{ "CopyLinkAddress", NULL, N_("_Copy Link Address"), NULL,
diff --git a/src/popup-commands.c b/src/popup-commands.c
index ac5e5ee43..f145c1d76 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -328,6 +328,13 @@ popup_cmd_download_link (GtkAction *action,
}
void
+popup_cmd_download_link_as (GtkAction *action,
+ EphyWindow *window)
+{
+ save_property_url (action, _("Download link"), window,
+ TRUE, "link");
+}
+void
popup_cmd_save_image_as (GtkAction *action,
EphyWindow *window)
{
diff --git a/src/popup-commands.h b/src/popup-commands.h
index 2d2da5f11..2a5c0929f 100644
--- a/src/popup-commands.h
+++ b/src/popup-commands.h
@@ -59,6 +59,9 @@ void popup_cmd_open_link (GtkAction *action,
void popup_cmd_download_link (GtkAction *action,
EphyWindow *window);
+void popup_cmd_download_link_as (GtkAction *action,
+ EphyWindow *window);
+
void popup_cmd_set_image_as_background (GtkAction *action,
EphyWindow *window);