From f05986fe72aebf62a9d6efb47883b268697cb5b0 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Tue, 13 Apr 2010 12:52:16 +0100 Subject: [PATCH] Update the configuration when text entries change, not when they're activated --- terminatorlib/preferences.glade | 6 +++--- terminatorlib/prefseditor.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/terminatorlib/preferences.glade b/terminatorlib/preferences.glade index 968639b3..479fbfba 100644 --- a/terminatorlib/preferences.glade +++ b/terminatorlib/preferences.glade @@ -903,7 +903,7 @@ True True - + 1 @@ -1274,7 +1274,7 @@ True True - + 1 @@ -2719,7 +2719,7 @@ True True - + 1 diff --git a/terminatorlib/prefseditor.py b/terminatorlib/prefseditor.py index 9543c533..9df69fac 100755 --- a/terminatorlib/prefseditor.py +++ b/terminatorlib/prefseditor.py @@ -690,7 +690,7 @@ class PrefsEditor: self.config['exit_action'] = value self.config.save() - def on_custom_command_entry_activate(self, widget): + def on_custom_command_entry_changed(self, widget): """Custom command value changed""" self.config['custom_command'] = widget.get_text() self.config.save() @@ -712,7 +712,7 @@ class PrefsEditor: self.config['cursor_shape'] = value self.config.save() - def on_word_chars_entry_activate(self, widget): + def on_word_chars_entry_changed(self, widget): """Word characters changed""" self.config['word_chars'] = widget.get_text() self.config.save() @@ -1001,7 +1001,7 @@ class PrefsEditor: """A different profile has been selected for this item""" 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""" self.layouteditor.on_layout_profile_command_activate(widget)