From a714aaca1a27be4d2982654eb8503249ba6f2c55 Mon Sep 17 00:00:00 2001 From: Ting-Wei Lan Date: Mon, 8 Jul 2013 14:54:21 +0800 Subject: Add a checkbutton to toggle the automatical extraction --- src/prefs-dialog.c | 3 +++ src/resources/prefs-dialog.ui | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c index fd322ef33..f5591cf69 100644 --- a/src/prefs-dialog.c +++ b/src/prefs-dialog.c @@ -944,6 +944,9 @@ static const PrefsDialogPreference preferences[] = { "automatic_downloads_checkbutton", "active", EPHY_PREFS_SCHEMA, EPHY_PREFS_AUTO_DOWNLOADS, G_SETTINGS_BIND_DEFAULT, NULL, NULL }, + { "extract_downloaded_archives_checkbutton", "active", + EPHY_PREFS_SCHEMA, EPHY_PREFS_EXTRACT_DOWNLOADED_ARCHIVES, + G_SETTINGS_BIND_DEFAULT, NULL, NULL }, { "remember_passwords_checkbutton", "active", EPHY_PREFS_SCHEMA, EPHY_PREFS_REMEMBER_PASSWORDS, G_SETTINGS_BIND_DEFAULT, NULL, NULL }, diff --git a/src/resources/prefs-dialog.ui b/src/resources/prefs-dialog.ui index 63ca72e7f..22faecf73 100644 --- a/src/resources/prefs-dialog.ui +++ b/src/resources/prefs-dialog.ui @@ -284,6 +284,24 @@ 1 + + + Automatically e_xtract downloaded archives + False + True + True + False + False + True + 0.5 + True + + + False + False + 2 + + -- cgit v1.2.3