remove rewrap on resize from option and remove functions too
This commit is contained in:
parent
24757a6922
commit
a53dea6fa5
|
@ -498,9 +498,6 @@ Default value: \fBUTF-8\fR
|
|||
If set to True, text selections will be automatically copied to the clipboard, in addition to being made the Primary selection.
|
||||
Default value: \fBFalse\fR
|
||||
.TP
|
||||
.B rewrap_on_resize \fR(boolean)
|
||||
If True, the terminal contents are rewrapped when the terminal's width changes. Warning: This might be slow if you have a huge scrollback buffer.
|
||||
Default value: \fBTrue\fR
|
||||
|
||||
.SH layouts
|
||||
|
||||
|
|
|
@ -250,7 +250,6 @@ DEFAULTS = {
|
|||
'force_no_bell' : False,
|
||||
'cycle_term_tab' : True,
|
||||
'copy_on_selection' : False,
|
||||
'rewrap_on_resize' : True,
|
||||
'split_to_group' : False,
|
||||
'autoclean_groups' : True,
|
||||
'http_proxy' : '',
|
||||
|
|
|
@ -1752,23 +1752,6 @@
|
|||
<property name="position">4</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkCheckButton" id="rewrap_on_resize_checkbutton">
|
||||
<property name="label" translatable="yes">Rewrap on resize</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="xalign">0.5</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
<signal name="toggled" handler="on_rewrap_on_resize_toggled" swapped="no"/>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
<property name="position">5</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkCheckButton" id="disablemousewheelzoom">
|
||||
<property name="label" translatable="yes">Disable Ctrl+mousewheel zoom</property>
|
||||
|
|
|
@ -482,9 +482,6 @@ class PrefsEditor:
|
|||
# Copy on selection
|
||||
widget = guiget('copy_on_selection')
|
||||
widget.set_active(self.config['copy_on_selection'])
|
||||
# Rewrap on resize
|
||||
widget = guiget('rewrap_on_resize_checkbutton')
|
||||
widget.set_active(self.config['rewrap_on_resize'])
|
||||
# Word chars
|
||||
widget = guiget('word_chars_entry')
|
||||
widget.set_text(self.config['word_chars'])
|
||||
|
@ -802,11 +799,6 @@ class PrefsEditor:
|
|||
self.config['copy_on_selection'] = widget.get_active()
|
||||
self.config.save()
|
||||
|
||||
def on_rewrap_on_resize_toggled(self, widget):
|
||||
"""Rewrap on resize setting changed"""
|
||||
self.config['rewrap_on_resize'] = widget.get_active()
|
||||
self.config.save()
|
||||
|
||||
def on_putty_paste_style_toggled(self, widget):
|
||||
"""Putty paste style setting changed"""
|
||||
self.config['putty_paste_style'] = widget.get_active()
|
||||
|
|
|
@ -827,9 +827,6 @@ class Terminal(Gtk.VBox):
|
|||
elif self.config['scrollbar_position'] == 'right':
|
||||
self.terminalbox.reorder_child(self.vte, 0)
|
||||
|
||||
|
||||
self.vte.set_rewrap_on_resize(self.config['rewrap_on_resize'])
|
||||
|
||||
self.titlebar.update()
|
||||
self.vte.queue_draw()
|
||||
|
||||
|
|
Loading…
Reference in New Issue