Added config proposed in email to the list

This commit is contained in:
Travis Shirk 2005-12-28 03:20:11 +00:00
parent eb92a7a756
commit 2b83445104
1 changed files with 7 additions and 1 deletions

View File

@ -39,6 +39,8 @@ opt_int = [ 'integer', 0 ]
opt_str = [ 'string', 0 ] opt_str = [ 'string', 0 ]
opt_bool = [ 'boolean', 0 ] opt_bool = [ 'boolean', 0 ]
opt_color = [ 'color', '^(#[0-9a-fA-F]{6})|()$' ] opt_color = [ 'color', '^(#[0-9a-fA-F]{6})|()$' ]
opt_single_window_types = [('never', _('Never')), ('always', _('Always')),
('peracct', _('Per Account')), ('pertype', _('Per type'))]
class Config: class Config:
@ -82,6 +84,7 @@ class Config:
'saveposition': [ opt_bool, True ], 'saveposition': [ opt_bool, True ],
'mergeaccounts': [ opt_bool, False ], 'mergeaccounts': [ opt_bool, False ],
'sort_by_show': [ opt_bool, True ], 'sort_by_show': [ opt_bool, True ],
# FIXME: Remove me
'usetabbedchat': [ opt_bool, True ], 'usetabbedchat': [ opt_bool, True ],
'use_speller': [ opt_bool, False ], 'use_speller': [ opt_bool, False ],
'print_time': [ opt_str, 'always' ], 'print_time': [ opt_str, 'always' ],
@ -166,12 +169,15 @@ class Config:
'show_status_msgs_in_roster': [opt_bool, True, _('If True, Gajim will display the status message, if not empty, for every contact under the contact name in roster window')], 'show_status_msgs_in_roster': [opt_bool, True, _('If True, Gajim will display the status message, if not empty, for every contact under the contact name in roster window')],
'show_avatars_in_roster': [opt_bool, True], 'show_avatars_in_roster': [opt_bool, True],
'ask_avatars_on_startup': [opt_bool, True, _('If True, Gajim will ask for avatar each contact that did not have an avatar last time or has one cached that is too old.')], 'ask_avatars_on_startup': [opt_bool, True, _('If True, Gajim will ask for avatar each contact that did not have an avatar last time or has one cached that is too old.')],
#FIXME: remvoe you and make it Gajim will not; and/or his or *her* status messages #FIXME: remove you and make it Gajim will not; and/or his or *her* status messages
'print_status_in_chats': [opt_bool, True, _('If False, you will no longer see status line in chats when a contact changes his or her status and/or his status message.')], 'print_status_in_chats': [opt_bool, True, _('If False, you will no longer see status line in chats when a contact changes his or her status and/or his status message.')],
'log_contact_status_changes': [opt_bool, False], 'log_contact_status_changes': [opt_bool, False],
'restored_messages_color': [opt_str, 'grey'], 'restored_messages_color': [opt_str, 'grey'],
'hide_avatar_of_transport': [opt_bool, False], 'hide_avatar_of_transport': [opt_bool, False],
'roster_window_skip_taskbar': [opt_bool, False], 'roster_window_skip_taskbar': [opt_bool, False],
# TODO: Need to decide Gajim default. methinks 'always'
'single_message_window': [opt_str, 'never',
_('Controls the window where new messages are placed.\n\'always\' - All messages are sent to a single window.\n\'never\' - All messages get their own window.\n\'peracct\' - Messages for each account are sent to a specific window.\n\'pertype\' - Each message type (e.g., chats vs. groupchats) are sent to a specific window. Note, changing this option requires restarting Gajim before the changes will take effect')],
} }
__options_per_key = { __options_per_key = {