diff options
author | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-06-01 10:41:49 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-06-23 08:06:48 +0800 |
commit | 43a4f898f770c95987becfa2e96a270b756a059e (patch) | |
tree | a612a5f046e7b02d07d19c153633708453ded1b8 /embed/ephy-download.h | |
parent | b274c83f91a2f267ddfedd11656f1b0a328f227f (diff) | |
download | gsoc2013-epiphany-43a4f898f770c95987becfa2e96a270b756a059e.tar.gz gsoc2013-epiphany-43a4f898f770c95987becfa2e96a270b756a059e.tar.zst gsoc2013-epiphany-43a4f898f770c95987becfa2e96a270b756a059e.zip |
ephy-download: add EPHY_DOWNLOAD_ACTION_DO_NOTHING
Add a new action instead of abusing NONE. NONE means nothing has been
set, this will trigger AUTO when auto-downloads preference is TRUE.
DO_NOTHING explicitely asks for no action to be taken.
https://bugzilla.gnome.org/show_bug.cgi?id=676128
Diffstat (limited to 'embed/ephy-download.h')
-rw-r--r-- | embed/ephy-download.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/embed/ephy-download.h b/embed/ephy-download.h index 34cbbca83..a4592b806 100644 --- a/embed/ephy-download.h +++ b/embed/ephy-download.h @@ -74,7 +74,8 @@ typedef enum EPHY_DOWNLOAD_ACTION_NONE, EPHY_DOWNLOAD_ACTION_AUTO, EPHY_DOWNLOAD_ACTION_BROWSE_TO, - EPHY_DOWNLOAD_ACTION_OPEN + EPHY_DOWNLOAD_ACTION_OPEN, + EPHY_DOWNLOAD_ACTION_DO_NOTHING } EphyDownloadActionType; GType ephy_download_get_type (void) G_GNUC_CONST; |