diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/popup-commands.c | 16 | ||||
-rw-r--r-- | src/window-commands.c | 3 |
2 files changed, 11 insertions, 8 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c index 4d37e4e23..18dd5585c 100644 --- a/src/popup-commands.c +++ b/src/popup-commands.c @@ -26,6 +26,7 @@ #include "ephy-file-helpers.h" #include <string.h> +#include <bonobo/bonobo-i18n.h> static EphyEmbedEvent * get_event_info (EphyWindow *window) @@ -249,6 +250,7 @@ popup_cmd_copy_link_address (EggAction *action, static void save_property_url (EggAction *action, + const char *title, EphyWindow *window, gboolean ask_dest, gboolean show_progress, @@ -280,11 +282,9 @@ save_property_url (EggAction *action, EMBED_PERSIST_SHOW_PROGRESS); } - ephy_embed_utils_save (GTK_WIDGET (window), + ephy_embed_utils_save (GTK_WIDGET (window), title, CONF_STATE_DOWNLOADING_DIR, - ask_dest, - FALSE, - persist); + ask_dest, FALSE, persist); g_object_unref (G_OBJECT(persist)); } @@ -312,7 +312,7 @@ void popup_cmd_download_link (EggAction *action, EphyWindow *window) { - save_property_url (action, window, + save_property_url (action, _("Download link"), window, eel_gconf_get_boolean (CONF_ASK_DOWNLOAD_DEST), TRUE, "link"); @@ -322,7 +322,8 @@ void popup_cmd_save_image_as (EggAction *action, EphyWindow *window) { - save_property_url (action, window, TRUE, FALSE, "image"); + save_property_url (action, _("Save Image As"), + window, TRUE, FALSE, "image"); } #define CONF_DESKTOP_BG_PICTURE "/desktop/gnome/background/picture_filename" @@ -409,7 +410,8 @@ void popup_cmd_save_background_as (EggAction *action, EphyWindow *window) { - save_property_url (action, window, TRUE, FALSE, "background_image"); + save_property_url (action, _("Save Background As"), + window, TRUE, FALSE, "background_image"); } void diff --git a/src/window-commands.c b/src/window-commands.c index 7712ce8b7..53b134eef 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -327,7 +327,7 @@ window_cmd_file_open (EggAction *action, result = ephy_embed_single_show_file_picker (single, wmain, - _("Select the file to open"), + _("Open"), dir, NULL, modeOpen, &file, NULL, NULL); @@ -368,6 +368,7 @@ window_cmd_file_save_as (EggAction *action, EMBED_PERSIST_MAINDOC); ephy_embed_utils_save (GTK_WIDGET(window), + _("Save As"), CONF_STATE_SAVE_DIR, TRUE, TRUE, |