aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/popup-commands.c15
-rw-r--r--src/window-commands.c4
2 files changed, 5 insertions, 14 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c
index c1557eb7f..e1d2a046e 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -262,7 +262,6 @@ save_property_url (GtkAction *action,
const char *title,
EphyWindow *window,
gboolean ask_dest,
- gboolean show_progress,
const char *property)
{
EphyEmbedEvent *info;
@@ -285,15 +284,9 @@ save_property_url (GtkAction *action,
ephy_embed_persist_set_source (persist, location);
- if (show_progress)
- {
- ephy_embed_persist_set_flags (persist,
- EMBED_PERSIST_SHOW_PROGRESS);
- }
-
ephy_embed_utils_save (GTK_WIDGET (window), title,
CONF_STATE_DOWNLOADING_DIR,
- ask_dest, FALSE, persist);
+ ask_dest, persist);
g_object_unref (G_OBJECT(persist));
}
@@ -324,7 +317,7 @@ popup_cmd_download_link (GtkAction *action,
save_property_url (action, _("Download link"), window,
eel_gconf_get_boolean
(CONF_ASK_DOWNLOAD_DEST),
- TRUE, "link");
+ "link");
}
void
@@ -332,7 +325,7 @@ popup_cmd_save_image_as (GtkAction *action,
EphyWindow *window)
{
save_property_url (action, _("Save Image As"),
- window, TRUE, FALSE, "image");
+ window, TRUE, "image");
}
#define CONF_DESKTOP_BG_PICTURE "/desktop/gnome/background/picture_filename"
@@ -420,7 +413,7 @@ popup_cmd_save_background_as (GtkAction *action,
EphyWindow *window)
{
save_property_url (action, _("Save Background As"),
- window, TRUE, FALSE, "background_image");
+ window, TRUE, "background_image");
}
void
diff --git a/src/window-commands.c b/src/window-commands.c
index 5f5dea0d5..60eaf8c3b 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -383,9 +383,7 @@ window_cmd_file_save_as (GtkAction *action,
ephy_embed_utils_save (GTK_WIDGET(window),
_("Save As"),
CONF_STATE_SAVE_DIR,
- TRUE,
- TRUE,
- persist);
+ TRUE, persist);
g_object_unref (G_OBJECT(persist));
}