remove unused render_resample option from beos, gtk and monkey frontends

This commit is contained in:
Vincent Sanders 2019-12-21 20:50:00 +00:00
parent fd510b27ee
commit 3fdbef0566
10 changed files with 6 additions and 57 deletions

View File

@ -302,9 +302,6 @@ Override CSS sys_colour_WindowFrame colour.
.B \-\-sys_colour_WindowText .B \-\-sys_colour_WindowText
Override CSS sys_colour_WindowText colour. Override CSS sys_colour_WindowText colour.
.TP .TP
.B \-\-render_resample
render resample
.TP
.B \-\-downloads_clear .B \-\-downloads_clear
downloads clear downloads clear
.TP .TP

View File

@ -205,8 +205,6 @@ Override CSS sys_colour_Window colour.
Override CSS sys_colour_WindowFrame colour. Override CSS sys_colour_WindowFrame colour.
.It Fl -sys_colour_WindowText .It Fl -sys_colour_WindowText
Override CSS sys_colour_WindowText colour. Override CSS sys_colour_WindowText colour.
.It Fl -render_resample
render resample
.It Fl -downloads_clear .It Fl -downloads_clear
downloads clear downloads clear
.It Fl -request_overwrite .It Fl -request_overwrite

View File

@ -18,13 +18,12 @@
*/ */
#ifndef _NETSURF_BEOS_OPTIONS_H_ #ifndef NETSURF_BEOS_OPTIONS_H_
#define _NETSURF_BEOS_OPTIONS_H_ #define NETSURF_BEOS_OPTIONS_H_
/* currently nothing here */ /* currently nothing here */
#endif #endif
NSOPTION_BOOL(render_resample, false)
NSOPTION_STRING(url_file, NULL) NSOPTION_STRING(url_file, NULL)

View File

@ -23,9 +23,6 @@
#endif #endif
/* High quality image scaling */
NSOPTION_BOOL(render_resample, true)
/* clear downloads */ /* clear downloads */
NSOPTION_BOOL(downloads_clear, false) NSOPTION_BOOL(downloads_clear, false)

View File

@ -412,9 +412,6 @@ TOGGLEBUTTON_SIGNALS(checkHideAdverts, block_advertisements)
/* enable javascript */ /* enable javascript */
TOGGLEBUTTON_SIGNALS(checkEnableJavascript, enable_javascript) TOGGLEBUTTON_SIGNALS(checkEnableJavascript, enable_javascript)
/* high quality image scaling */
TOGGLEBUTTON_SIGNALS(checkResampleImages, render_resample)
/* load and display of images */ /* load and display of images */
G_MODULE_EXPORT void G_MODULE_EXPORT void
nsgtk_preferences_comboboxLoadImages_changed(GtkComboBox *combo, nsgtk_preferences_comboboxLoadImages_changed(GtkComboBox *combo,

View File

@ -1142,22 +1142,6 @@
<property name="position">2</property> <property name="position">2</property>
</packing> </packing>
</child> </child>
<child>
<object class="GtkCheckButton" id="checkResampleImages">
<property name="label" translatable="yes">preferencesControlHigh</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_checkResampleImages_toggled" swapped="no"/>
<signal name="realize" handler="nsgtk_preferences_checkResampleImages_realize" swapped="no"/>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">3</property>
</packing>
</child>
<child> <child>
<object class="GtkHBox" id="hbox8"> <object class="GtkHBox" id="hbox8">
<property name="visible">True</property> <property name="visible">True</property>
@ -1199,7 +1183,7 @@
<packing> <packing>
<property name="expand">True</property> <property name="expand">True</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">4</property> <property name="position">3</property>
</packing> </packing>
</child> </child>
</object> </object>

View File

@ -982,26 +982,6 @@
<property name="position">2</property> <property name="position">2</property>
</packing> </packing>
</child> </child>
<child>
<object class="GtkCheckButton" id="checkResampleImages">
<property name="label" translatable="yes">preferencesControlHigh</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_checkResampleImages_toggled" swapped="no"/>
<signal name="realize" handler="nsgtk_preferences_checkResampleImages_realize" swapped="no"/>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">3</property>
</packing>
</child>
<child> <child>
<object class="GtkHBox" id="hbox8"> <object class="GtkHBox" id="hbox8">
<property name="visible">True</property> <property name="visible">True</property>
@ -1044,7 +1024,7 @@
<packing> <packing>
<property name="expand">True</property> <property name="expand">True</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">4</property> <property name="position">3</property>
</packing> </packing>
</child> </child>
</object> </object>

View File

@ -16,14 +16,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef _NETSURF_MONKEY_OPTIONS_H_ #ifndef NETSURF_MONKEY_OPTIONS_H_
#define _NETSURF_MONKEY_OPTIONS_H_ #define NETSURF_MONKEY_OPTIONS_H_
/* currently nothing here */ /* currently nothing here */
#endif #endif
NSOPTION_BOOL(render_resample, true)
NSOPTION_BOOL(downloads_clear, false) NSOPTION_BOOL(downloads_clear, false)
NSOPTION_BOOL(request_overwrite, true) NSOPTION_BOOL(request_overwrite, true)
NSOPTION_STRING(downloads_directory, NULL) NSOPTION_STRING(downloads_directory, NULL)

View File

@ -99,7 +99,6 @@ sys_colour_ThreeDShadow:000000
sys_colour_Window:000000 sys_colour_Window:000000
sys_colour_WindowFrame:000000 sys_colour_WindowFrame:000000
sys_colour_WindowText:000000 sys_colour_WindowText:000000
render_resample:1
downloads_clear:0 downloads_clear:0
request_overwrite:1 request_overwrite:1
downloads_directory:/home/vince downloads_directory:/home/vince

View File

@ -95,7 +95,6 @@ sys_colour_WindowFrame:4e4e4e
sys_colour_WindowText:000000 sys_colour_WindowText:000000
log_filter:level:WARNING log_filter:level:WARNING
verbose_filter:level:DEBUG verbose_filter:level:DEBUG
render_resample:1
downloads_clear:0 downloads_clear:0
request_overwrite:1 request_overwrite:1
downloads_directory:/home/vince downloads_directory:/home/vince