remove long unused plugin option from gtk and monkey

This commit is contained in:
Vincent Sanders 2019-12-17 22:09:41 +00:00
parent 0e304aba42
commit 918b1d0fed
9 changed files with 4 additions and 54 deletions

View File

@ -332,9 +332,6 @@ button type
.B \-\-disable_popups
disable popups
.TP
.B \-\-disable_plugins
disable plugins
.TP
.B \-\-history_age
history age
.TP

View File

@ -225,8 +225,6 @@ Force tabs to always be show.
button type
.It Fl -disable_popups
disable popups
.It Fl -disable_plugins
disable plugins
.It Fl -history_age
history age
.It Fl -hover_urls

View File

@ -47,9 +47,6 @@ NSOPTION_INTEGER(button_type, 0)
/* disallow popup windows */
NSOPTION_BOOL(disable_popups, false)
/* disable content plugins */
NSOPTION_BOOL(disable_plugins, false)
/* number of days to keep history data */
NSOPTION_INTEGER(history_age, 0)

View File

@ -412,9 +412,6 @@ TOGGLEBUTTON_SIGNALS(checkHideAdverts, block_advertisements)
/* enable javascript */
TOGGLEBUTTON_SIGNALS(checkEnableJavascript, enable_javascript)
/* disable plugins */
TOGGLEBUTTON_SIGNALS(checkDisablePlugins, disable_plugins)
/* high quality image scaling */
TOGGLEBUTTON_SIGNALS(checkResampleImages, render_resample)

View File

@ -1142,22 +1142,6 @@
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="checkDisablePlugins">
<property name="label" translatable="yes">preferencesControlDisable</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="nsgtk_preferences_checkDisablePlugins_toggled" swapped="no"/>
<signal name="realize" handler="nsgtk_preferences_checkDisablePlugins_realize" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">3</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="checkResampleImages">
<property name="label" translatable="yes">preferencesControlHigh</property>
@ -1171,7 +1155,7 @@
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">4</property>
<property name="position">3</property>
</packing>
</child>
<child>
@ -1215,7 +1199,7 @@
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">5</property>
<property name="position">4</property>
</packing>
</child>
</object>

View File

@ -982,26 +982,6 @@
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="checkDisablePlugins">
<property name="label" translatable="yes">preferencesControlDisable</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="halign">start</property>
<property name="use_action_appearance">False</property>
<property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="nsgtk_preferences_checkDisablePlugins_toggled" swapped="no"/>
<signal name="realize" handler="nsgtk_preferences_checkDisablePlugins_realize" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">3</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="checkResampleImages">
<property name="label" translatable="yes">preferencesControlHigh</property>
@ -1019,7 +999,7 @@
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">4</property>
<property name="position">3</property>
</packing>
</child>
<child>
@ -1064,7 +1044,7 @@
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">5</property>
<property name="position">4</property>
</packing>
</child>
</object>

View File

@ -31,7 +31,6 @@ NSOPTION_STRING(url_file, NULL)
NSOPTION_BOOL(show_single_tab, false)
NSOPTION_INTEGER(button_type, 0)
NSOPTION_BOOL(disable_popups, false)
NSOPTION_BOOL(disable_plugins, false)
NSOPTION_INTEGER(history_age, 0)
NSOPTION_BOOL(hover_urls, false)
NSOPTION_BOOL(focus_new, false)

View File

@ -109,7 +109,6 @@ url_file:/home/vince/.netsurf/URLs
show_single_tab:1
button_type:1
disable_popups:0
disable_plugins:0
history_age:0
hover_urls:0
focus_new:0

View File

@ -105,7 +105,6 @@ url_file:/home/vince/.netsurf/URLs
show_single_tab:1
button_type:1
disable_popups:0
disable_plugins:0
history_age:0
hover_urls:0
focus_new:0