(self, widget)
Scrollback infiniteness changed
Scrollback infiniteness changed
Scrollback infiniteness changed
def on_scrollback_infinite_toggled(self, widget):
        """Scrollback infiniteness changed"""
        spinbutton = self.builder.get_object('scrollback_lines_spinbutton')
        value = widget.get_active()
        if value == True:
            spinbutton.set_sensitive(False)
        else:
            spinbutton.set_sensitive(True)
        self.config['scrollback_infinite'] = value
        self.config.save()
def on_scrollback_infinite_toggled ( self , widget ) : spinbutton = self . builder . get_object ( 'scrollback_lines_spinbutton' ) value = widget . get_active ( ) if value == True : spinbutton . set_sensitive ( False ) else : spinbutton . set_sensitive ( True ) self . config [ 'scrollback_infinite' ] = value self . config . save ( )