Update the configuration when text entries change, not when they're activated
This commit is contained in:
parent
909d424911
commit
f05986fe72
|
@ -903,7 +903,7 @@
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="invisible_char">•</property>
|
<property name="invisible_char">•</property>
|
||||||
<signal name="activate" handler="on_word_chars_entry_activate"/>
|
<signal name="changed" handler="on_word_chars_entry_changed"/>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="position">1</property>
|
<property name="position">1</property>
|
||||||
|
@ -1274,7 +1274,7 @@
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="invisible_char">•</property>
|
<property name="invisible_char">•</property>
|
||||||
<signal name="activate" handler="on_custom_command_entry_activate"/>
|
<signal name="changed" handler="on_custom_command_entry_changed"/>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="position">1</property>
|
<property name="position">1</property>
|
||||||
|
@ -2719,7 +2719,7 @@
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="invisible_char">•</property>
|
<property name="invisible_char">•</property>
|
||||||
<signal name="activate" handler="on_layout_profile_command_activate"/>
|
<signal name="changed" handler="on_layout_profile_command_changed"/>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left_attach">1</property>
|
<property name="left_attach">1</property>
|
||||||
|
|
|
@ -690,7 +690,7 @@ class PrefsEditor:
|
||||||
self.config['exit_action'] = value
|
self.config['exit_action'] = value
|
||||||
self.config.save()
|
self.config.save()
|
||||||
|
|
||||||
def on_custom_command_entry_activate(self, widget):
|
def on_custom_command_entry_changed(self, widget):
|
||||||
"""Custom command value changed"""
|
"""Custom command value changed"""
|
||||||
self.config['custom_command'] = widget.get_text()
|
self.config['custom_command'] = widget.get_text()
|
||||||
self.config.save()
|
self.config.save()
|
||||||
|
@ -712,7 +712,7 @@ class PrefsEditor:
|
||||||
self.config['cursor_shape'] = value
|
self.config['cursor_shape'] = value
|
||||||
self.config.save()
|
self.config.save()
|
||||||
|
|
||||||
def on_word_chars_entry_activate(self, widget):
|
def on_word_chars_entry_changed(self, widget):
|
||||||
"""Word characters changed"""
|
"""Word characters changed"""
|
||||||
self.config['word_chars'] = widget.get_text()
|
self.config['word_chars'] = widget.get_text()
|
||||||
self.config.save()
|
self.config.save()
|
||||||
|
@ -1001,7 +1001,7 @@ class PrefsEditor:
|
||||||
"""A different profile has been selected for this item"""
|
"""A different profile has been selected for this item"""
|
||||||
self.layouteditor.on_layout_profile_chooser_changed(widget)
|
self.layouteditor.on_layout_profile_chooser_changed(widget)
|
||||||
|
|
||||||
def on_layout_profile_command_activate(self, widget):
|
def on_layout_profile_command_changed(self, widget):
|
||||||
"""A different command has been entered for this item"""
|
"""A different command has been entered for this item"""
|
||||||
self.layouteditor.on_layout_profile_command_activate(widget)
|
self.layouteditor.on_layout_profile_command_activate(widget)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue