[epiphany] Remove plugins setting from preferences dialog
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Remove plugins setting from preferences dialog
- Date: Fri, 25 May 2018 13:45:19 +0000 (UTC)
commit f87a3697a7f1f9daae7508186844ab82f62ed5c2
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Fri May 25 08:38:31 2018 -0500
Remove plugins setting from preferences dialog
It still exists in gsettings for now, for people who really need it.
Tentatively planned for removal after 3.34.
https://mail.gnome.org/archives/epiphany-list/2018-March/msg00002.html
src/prefs-dialog.c | 6 ------
src/resources/gtk/prefs-dialog.ui | 7 -------
2 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 492ea45..091dea8 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -779,7 +779,6 @@ prefs_dialog_class_init (PrefsDialogClass *klass)
gtk_widget_class_bind_template_child (widget_class, PrefsDialog, restore_session_checkbutton);
gtk_widget_class_bind_template_child (widget_class, PrefsDialog, popups_allow_checkbutton);
gtk_widget_class_bind_template_child (widget_class, PrefsDialog, adblock_allow_checkbutton);
- gtk_widget_class_bind_template_child (widget_class, PrefsDialog, enable_plugins_checkbutton);
gtk_widget_class_bind_template_child (widget_class, PrefsDialog, enable_safe_browsing_checkbutton);
gtk_widget_class_bind_template_child (widget_class, PrefsDialog, download_button_hbox);
gtk_widget_class_bind_template_child (widget_class, PrefsDialog, download_button_label);
@@ -1762,11 +1761,6 @@ setup_general_page (PrefsDialog *dialog)
"active",
G_SETTINGS_BIND_INVERT_BOOLEAN);
g_settings_bind (web_settings,
- EPHY_PREFS_WEB_ENABLE_PLUGINS,
- dialog->enable_plugins_checkbutton,
- "active",
- G_SETTINGS_BIND_DEFAULT);
- g_settings_bind (web_settings,
EPHY_PREFS_WEB_ENABLE_SAFE_BROWSING,
dialog->enable_safe_browsing_checkbutton,
"active",
diff --git a/src/resources/gtk/prefs-dialog.ui b/src/resources/gtk/prefs-dialog.ui
index 8fdba6b..599cf5f 100644
--- a/src/resources/gtk/prefs-dialog.ui
+++ b/src/resources/gtk/prefs-dialog.ui
@@ -268,13 +268,6 @@
</object>
</child>
<child>
- <object class="GtkCheckButton" id="enable_plugins_checkbutton">
- <property name="label" translatable="yes">Enable _plugins</property>
- <property name="visible">True</property>
- <property name="use-underline">True</property>
- </object>
- </child>
- <child>
<object class="GtkCheckButton" id="enable_safe_browsing_checkbutton">
<property name="label" translatable="yes">Try to block dangerous
web_sites</property>
<property name="visible">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]