diff options
author | mathieui <mathieui@mathieui.net> | 2012-08-01 01:06:57 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-08-01 01:06:57 +0200 |
commit | 71f813af289ff4df6e4721f56c907d78aa609e69 (patch) | |
tree | 77034550713e6da64516c3bf691ef0626e9abbea /data | |
parent | 1625a4f41fa6727e41b0546687d72a3101b2b2bf (diff) | |
download | poezio-71f813af289ff4df6e4721f56c907d78aa609e69.tar.gz poezio-71f813af289ff4df6e4721f56c907d78aa609e69.tar.bz2 poezio-71f813af289ff4df6e4721f56c907d78aa609e69.tar.xz poezio-71f813af289ff4df6e4721f56c907d78aa609e69.zip |
Add a roster_group_sort option, which works like roster_sort
- defaults to "name" (sort by group name)
- document it
- also, micro-optimize get_nb_connected_contacts()
Diffstat (limited to 'data')
-rw-r--r-- | data/default_config.cfg | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/data/default_config.cfg b/data/default_config.cfg index aedd2413..f75ae14b 100644 --- a/data/default_config.cfg +++ b/data/default_config.cfg @@ -229,13 +229,24 @@ roster_show_offline = false # - reverse: reverse the sorting # - jid: sort by JID (alphabetical order) # - show: sort by show (available/away/xa/…) -# - name: Sort by roster name (if no name, then the bare jid is used) -# - resource: Sort by resource number +# - name: sort by roster name (if no name, then the bare jid is used) +# - resource: sort by resource number # You can arrange them however you like, and you have to separate them with # underscores "_". Keep in mind that if there are more than 3 or 4 your sorting # is most likely inefficient. roster_sort = jid_show +# How to sort the roster groups. +# The principles are the same as roster_sort. +# Available methods are: +# - reverse: reverse the sorting +# - name: sort by group name (alphabetical order) +# - fold: sort unfolded/folded +# - connected: sort by number of connected contacts +# - size: sort by group size +# - none: put the "none" group (if any) at the end of the list +roster_group_sort = name + # The terminal can beep on various event. Put the event you want in a list # (separated by spaces). # The events can be |