diff options
author | mathieui <mathieui@mathieui.net> | 2012-08-01 14:42:02 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-08-01 14:42:02 +0200 |
commit | 9905646184361dba98ad742b39e946bb74580c7a (patch) | |
tree | 7fe279ec255d7d1aa4a0aea2e7c60cfea36c067f /data | |
parent | c890fefbc40377fd63f1d69011ed12a863e11043 (diff) | |
download | poezio-9905646184361dba98ad742b39e946bb74580c7a.tar.gz poezio-9905646184361dba98ad742b39e946bb74580c7a.tar.bz2 poezio-9905646184361dba98ad742b39e946bb74580c7a.tar.xz poezio-9905646184361dba98ad742b39e946bb74580c7a.zip |
Various changes to the roster sorting
- Change the separator from _ to :
- Move the functions away in another module to avoir cluttering the
roster code
- Add a case-sensitive sort (“sname”)
Diffstat (limited to 'data')
-rw-r--r-- | data/default_config.cfg | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/data/default_config.cfg b/data/default_config.cfg index 76e02d57..8871de15 100644 --- a/data/default_config.cfg +++ b/data/default_config.cfg @@ -230,18 +230,20 @@ roster_show_offline = false # - 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) +# - sname: case-sensitive name sorting (uppercase first) # - resource: sort by resource number # - online: sort by online presence (online or not) # 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 +# colons (":"). 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) +# - sname: case-sensitive name sorting (uppercase first) # - fold: sort unfolded/folded # - connected: sort by number of connected contacts # - size: sort by group size |