modify terminator separater size setting in gui to start from 1
This commit is contained in:
parent
0b2d91786c
commit
c8cd50ba9a
@ -84,7 +84,7 @@ DEFAULTS = {
|
||||
'global_config': {
|
||||
'dbus' : True,
|
||||
'focus' : 'click',
|
||||
'handle_size' : -1,
|
||||
'handle_size' : 1,
|
||||
'geometry_hinting' : False,
|
||||
'window_state' : 'normal',
|
||||
'borderless' : False,
|
||||
|
@ -307,9 +307,9 @@
|
||||
</data>
|
||||
</object>
|
||||
<object class="GtkAdjustment" id="adjustment1">
|
||||
<property name="lower">-1</property>
|
||||
<property name="lower">1</property>
|
||||
<property name="upper">20</property>
|
||||
<property name="value">-1</property>
|
||||
<property name="value">1</property>
|
||||
<property name="step-increment">1</property>
|
||||
<property name="page-increment">2</property>
|
||||
</object>
|
||||
|
@ -1270,6 +1270,8 @@ class PrefsEditor:
|
||||
value = int(value) # Cast to int.
|
||||
if value > 20:
|
||||
value = 20
|
||||
if value < 1:
|
||||
value = 1
|
||||
self.config['handle_size'] = value
|
||||
self.config.save()
|
||||
guiget = self.builder.get_object
|
||||
|
Loading…
Reference in New Issue
Block a user