diff options
-rw-r--r-- | gajim/common/setting_values.py | 2 | ||||
-rw-r--r-- | gajim/gtk/preferences.py | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gajim/common/setting_values.py b/gajim/common/setting_values.py index 770b5f018..7895fd390 100644 --- a/gajim/common/setting_values.py +++ b/gajim/common/setting_values.py @@ -651,7 +651,7 @@ ADVANCED_SETTINGS = { 'account in the Accounts window. BE CAREFUL, when you are logged ' 'in with a negative priority, you will NOT receive any message ' 'from your server.'), - 'escape_key_closes': _('If enabled, pressing Esc closes a tab/window.'), + 'escape_key_closes': _('Close a chat by pressing the Escape key'), 'file_transfers_port': '', 'ft_add_hosts_to_send': _( 'List of send hosts (comma separated) in ' diff --git a/gajim/gtk/preferences.py b/gajim/gtk/preferences.py index cd3e7f1e8..edcc4b1a3 100644 --- a/gajim/gtk/preferences.py +++ b/gajim/gtk/preferences.py @@ -269,6 +269,12 @@ class General(PreferenceBox): settings = [ Setting(SettingKind.SWITCH, + _('Close with Escape'), + SettingType.CONFIG, + 'escape_key_closes', + desc=_('Close a chat by pressing the Escape key')), + + Setting(SettingKind.SWITCH, _('Show Send Message Button'), SettingType.CONFIG, 'show_send_message_button', |