aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-persist.h
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-10-24 18:56:53 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-10-24 18:56:53 +0800
commit2a93fb20b6618d44c05589bb636fe77b7b04e075 (patch)
tree8291a66e4f65ea6c17c050dc1a066bd7c9a5582c /embed/ephy-embed-persist.h
parent5767e9aeb78133de615e08087cd96c4beb89f1d7 (diff)
downloadgsoc2013-epiphany-2a93fb20b6618d44c05589bb636fe77b7b04e075.tar
gsoc2013-epiphany-2a93fb20b6618d44c05589bb636fe77b7b04e075.tar.gz
gsoc2013-epiphany-2a93fb20b6618d44c05589bb636fe77b7b04e075.tar.bz2
gsoc2013-epiphany-2a93fb20b6618d44c05589bb636fe77b7b04e075.tar.lz
gsoc2013-epiphany-2a93fb20b6618d44c05589bb636fe77b7b04e075.tar.xz
gsoc2013-epiphany-2a93fb20b6618d44c05589bb636fe77b7b04e075.tar.zst
gsoc2013-epiphany-2a93fb20b6618d44c05589bb636fe77b7b04e075.zip
Add an helper to initialize downloads.
2003-10-24 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Add an helper to initialize downloads. * embed/ephy-embed-persist.h: Add a flag to ask destination. * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: Use the helper. Add code to determine a good filename. * embed/mozilla/mozilla-embed-persist.cpp: Use a MozDownload directly if there is a dest set, it doesnt make sense to use sniffer for favicons.
Diffstat (limited to 'embed/ephy-embed-persist.h')
-rw-r--r--embed/ephy-embed-persist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/embed/ephy-embed-persist.h b/embed/ephy-embed-persist.h
index ad0a702b2..1a48d2455 100644
--- a/embed/ephy-embed-persist.h
+++ b/embed/ephy-embed-persist.h
@@ -41,7 +41,8 @@ typedef enum
{
EMBED_PERSIST_BYPASSCACHE = 1 << 0,
EMBED_PERSIST_MAINDOC = 1 << 1,
- EMBED_PERSIST_NO_VIEW = 1 << 2
+ EMBED_PERSIST_NO_VIEW = 1 << 2,
+ EMBED_PERSIST_ASK_DESTINATION = 1 << 3
} EmbedPersistFlags;
typedef struct