[geobert] add a ACE option so that ctrl+tab can or cannot go to next composing tab

This commit is contained in:
Yann Leboulanger 2006-08-02 20:38:09 +00:00
parent f496059862
commit 8f449a4704
2 changed files with 2 additions and 1 deletions

View File

@ -203,6 +203,7 @@ class Config:
'chat_merge_consecutive_nickname': [opt_bool, False, _('Merge consecutive nickname in chat window')],
'chat_merge_consecutive_nickname_indent': [opt_str, ' ', _('Indentation when using merge consecutive nickame')],
'gc_nicknames_colors': [ opt_str, '#a34526:#c000ff:#0012ff:#388a99:#38995d:#519938:#ff8a00:#94452d:#244b5a:#32645a', _('List of colors that will be used to color nicknames in groupchats'), True ],
'ctrl_tab_go_to_next_composing': [opt_bool, True, _('Ctrl-Tab go to next composing tab when none is unread')],
}
__options_per_key = {

View File

@ -435,7 +435,7 @@ class MessageWindow:
if ctrl.nb_unread > 0:
found = True
break # found
else: # Search for a composing contact
elif gajim.config.get('ctrl_tab_go_to_next_composing') : # Search for a composing contact
contact = ctrl.contact
if first_composing_ind == -1 and contact.chatstate == 'composing':
# If no composing contact found yet, check if this one is composing