aboutsummaryrefslogtreecommitdiffstats
path: root/src/pdm-dialog.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@src.gnome.org>2007-12-21 16:55:25 +0800
committerCosimo Cecchi <cosimoc@src.gnome.org>2007-12-21 16:55:25 +0800
commit6adb4570e797dcafcd865fd67e489766294a2f8b (patch)
treeaa98e129db0c58f316e0f3f869477d9def1455aa /src/pdm-dialog.h
parentbcc23108bc5e8653a31744b3d758334681d899f2 (diff)
downloadgsoc2013-epiphany-6adb4570e797dcafcd865fd67e489766294a2f8b.tar.gz
gsoc2013-epiphany-6adb4570e797dcafcd865fd67e489766294a2f8b.tar.zst
gsoc2013-epiphany-6adb4570e797dcafcd865fd67e489766294a2f8b.zip
Adds a "Clear All" dialog to clear all the privacy information, and a help
section explaining its usage. Close bug #148314. svn path=/trunk/; revision=7793
Diffstat (limited to 'src/pdm-dialog.h')
-rw-r--r--src/pdm-dialog.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/pdm-dialog.h b/src/pdm-dialog.h
index 4c3642a47..af69ae350 100644
--- a/src/pdm-dialog.h
+++ b/src/pdm-dialog.h
@@ -38,6 +38,15 @@ typedef struct PdmDialog PdmDialog;
typedef struct PdmDialogClass PdmDialogClass;
typedef struct PdmDialogPrivate PdmDialogPrivate;
+typedef enum
+{
+ CLEAR_ALL_NONE = 0,
+ CLEAR_ALL_CACHE = 1 << 0,
+ CLEAR_ALL_PASSWORDS = 1 << 1,
+ CLEAR_ALL_HISTORY = 1 << 2,
+ CLEAR_ALL_COOKIES = 1 << 4
+} PdmClearAllDialogFlags;
+
struct PdmDialog
{
EphyDialog parent;
@@ -56,6 +65,10 @@ GType pdm_dialog_get_type (void);
void pdm_dialog_open (PdmDialog *dialog,
const char *host);
+void pdm_dialog_show_clear_all_dialog (EphyDialog *dialog,
+ GtkWidget *parent,
+ PdmClearAllDialogFlags flags);
+
G_END_DECLS
#endif