From 9905646184361dba98ad742b39e946bb74580c7a Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 1 Aug 2012 14:42:02 +0200 Subject: Various changes to the roster sorting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Change the separator from _ to : - Move the functions away in another module to avoir cluttering the roster code - Add a case-sensitive sort (“sname”) --- data/default_config.cfg | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'data') 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 -- cgit v1.2.3