aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@src.gnome.org>2003-10-17 01:28:46 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-10-17 01:28:46 +0800
commit24fc218c90c70a06011a851df6991bf34b72d6c3 (patch)
tree6bb9ee7e434a3b10e636634cbaaa997e6ccebf1f /src
parentb7a8e995fde6c3cf6ac82ea2390c3c4b510024c5 (diff)
downloadgsoc2013-epiphany-24fc218c90c70a06011a851df6991bf34b72d6c3.tar
gsoc2013-epiphany-24fc218c90c70a06011a851df6991bf34b72d6c3.tar.gz
gsoc2013-epiphany-24fc218c90c70a06011a851df6991bf34b72d6c3.tar.bz2
gsoc2013-epiphany-24fc218c90c70a06011a851df6991bf34b72d6c3.tar.lz
gsoc2013-epiphany-24fc218c90c70a06011a851df6991bf34b72d6c3.tar.xz
gsoc2013-epiphany-24fc218c90c70a06011a851df6991bf34b72d6c3.tar.zst
gsoc2013-epiphany-24fc218c90c70a06011a851df6991bf34b72d6c3.zip
Merge new-downloader branch. We reworked the backend, the user
interface is still incomplete.
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));
}