aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyHeaderSniffer.cpp
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2003-11-03 06:31:18 +0800
committerXan Lopez <xan@src.gnome.org>2003-11-03 06:31:18 +0800
commit2f10c10cd81abd29f24ace8c128a5b5d3244fbdd (patch)
tree76254bd0c48969e4840a2b97eec3fdb6d527f251 /embed/mozilla/EphyHeaderSniffer.cpp
parentbce28d78b08a72c11b9cbb8a798d7b59564fe1f2 (diff)
downloadgsoc2013-epiphany-2f10c10cd81abd29f24ace8c128a5b5d3244fbdd.tar
gsoc2013-epiphany-2f10c10cd81abd29f24ace8c128a5b5d3244fbdd.tar.gz
gsoc2013-epiphany-2f10c10cd81abd29f24ace8c128a5b5d3244fbdd.tar.bz2
gsoc2013-epiphany-2f10c10cd81abd29f24ace8c128a5b5d3244fbdd.tar.lz
gsoc2013-epiphany-2f10c10cd81abd29f24ace8c128a5b5d3244fbdd.tar.xz
gsoc2013-epiphany-2f10c10cd81abd29f24ace8c128a5b5d3244fbdd.tar.zst
gsoc2013-epiphany-2f10c10cd81abd29f24ace8c128a5b5d3244fbdd.zip
Remove the "show_details in downloader" schema.
* data/epiphany.schemas.in: Remove the "show_details in downloader" schema. * embed/ephy-embed-popup-control.c: (save_url): * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * lib/ephy-prefs.h: * src/popup-commands.c: (save_property_url): Implement the new downloading mechanism in CH, also rename CONF_STATE_DOWNLOADING_DIR to CONF_STATE_DOWNLOAD_DIR.
Diffstat (limited to 'embed/mozilla/EphyHeaderSniffer.cpp')
-rw-r--r--embed/mozilla/EphyHeaderSniffer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/mozilla/EphyHeaderSniffer.cpp b/embed/mozilla/EphyHeaderSniffer.cpp
index 939394bd1..9ac0c0eca 100644
--- a/embed/mozilla/EphyHeaderSniffer.cpp
+++ b/embed/mozilla/EphyHeaderSniffer.cpp
@@ -292,7 +292,7 @@ nsresult EphyHeaderSniffer::PerformSave (nsIURI* inOriginalURI)
dialog = ephy_file_chooser_new (title ? title: _("Save"),
GTK_WIDGET (window),
GTK_FILE_CHOOSER_ACTION_SAVE,
- key ? key : CONF_STATE_DOWNLOADING_DIR);
+ key ? key : CONF_STATE_DOWNLOAD_DIR);
gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (dialog),
NS_ConvertUCS2toUTF8 (defaultFileName).get());
@@ -308,7 +308,7 @@ nsresult EphyHeaderSniffer::PerformSave (nsIURI* inOriginalURI)
/* FIXME: how to inform user of failed save ? */
- download_dir = eel_gconf_get_string (CONF_STATE_DOWNLOADING_DIR);
+ download_dir = eel_gconf_get_string (CONF_STATE_DOWNLOAD_DIR);
if (!download_dir)
{
/* Emergency download destination */