aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-popup-control.c
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 /embed/ephy-embed-popup-control.c
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 'embed/ephy-embed-popup-control.c')
-rw-r--r--embed/ephy-embed-popup-control.c26
1 files changed, 6 insertions, 20 deletions
diff --git a/embed/ephy-embed-popup-control.c b/embed/ephy-embed-popup-control.c
index 9c6dd87b5..a300e0535 100644
--- a/embed/ephy-embed-popup-control.c
+++ b/embed/ephy-embed-popup-control.c
@@ -480,7 +480,6 @@ static void
save_property_url (EphyEmbedPopupControl *popup,
const char *title,
gboolean ask_dest,
- gboolean show_progress,
const char *property)
{
EphyEmbedEvent *info;
@@ -501,15 +500,9 @@ save_property_url (EphyEmbedPopupControl *popup,
ephy_embed_persist_set_source (persist, location);
- if (show_progress)
- {
- ephy_embed_persist_set_flags (persist,
- EMBED_PERSIST_SHOW_PROGRESS);
- }
-
ephy_embed_utils_save (window, title,
CONF_STATE_DOWNLOADING_DIR,
- ask_dest, FALSE, persist);
+ ask_dest, persist);
}
/* commands */
@@ -539,7 +532,7 @@ embed_popup_download_link_cmd (BonoboUIComponent *uic,
_("Download Link"),
eel_gconf_get_boolean
(CONF_ASK_DOWNLOAD_DEST),
- TRUE, "link");
+ "link");
}
static void
@@ -547,7 +540,7 @@ embed_popup_save_image_as_cmd (BonoboUIComponent *uic,
EphyEmbedPopupControl *popup,
const char* verbname)
{
- save_property_url (popup, _("Save Image As"), TRUE, FALSE, "image");
+ save_property_url (popup, _("Save Image As"), TRUE, "image");
}
#define CONF_DESKTOP_BG_PICTURE "/desktop/gnome/background/picture_filename"
@@ -628,7 +621,6 @@ static void
save_url (EphyEmbedPopupControl *popup,
const char *title,
gboolean ask_dest,
- gboolean show_progress,
const char *url)
{
GtkWidget *widget;
@@ -641,15 +633,9 @@ save_url (EphyEmbedPopupControl *popup,
persist = ephy_embed_persist_new (popup->priv->embed);
ephy_embed_persist_set_source (persist, url);
- if (show_progress)
- {
- ephy_embed_persist_set_flags (persist,
- EMBED_PERSIST_SHOW_PROGRESS);
- }
-
ephy_embed_utils_save (window, title,
CONF_STATE_DOWNLOADING_DIR,
- ask_dest, FALSE, persist);
+ ask_dest, persist);
}
static void
@@ -661,7 +647,7 @@ embed_popup_save_page_as_cmd (BonoboUIComponent *uic,
ephy_embed_get_location (popup->priv->embed,
FALSE, &location);
- save_url (popup, _("Save Page As"), TRUE, FALSE, location);
+ save_url (popup, _("Save Page As"), TRUE, location);
g_free (location);
}
@@ -671,7 +657,7 @@ embed_popup_save_background_as_cmd (BonoboUIComponent *uic,
const char* verbname)
{
save_property_url (popup, _("Save Background As"),
- TRUE, FALSE, "background_image");
+ TRUE, "background_image");
}
static void