diff options
author | Davyd Madeley <davyd@madeley.id.au> | 2009-04-23 19:30:48 +0800 |
---|---|---|
committer | Davyd Madeley <davyd@madeley.id.au> | 2009-04-23 19:30:48 +0800 |
commit | 7a94f85d284baebdd3bbc0607205d3ced82748a2 (patch) | |
tree | ba1f3275ccdc7b1f33d96d28850ff1d25308df45 /libempathy-gtk/empathy-presence-chooser.c | |
parent | 88e713991752dfccebc37309571384165d557d6c (diff) | |
download | gsoc2013-empathy-7a94f85d284baebdd3bbc0607205d3ced82748a2.tar gsoc2013-empathy-7a94f85d284baebdd3bbc0607205d3ced82748a2.tar.gz gsoc2013-empathy-7a94f85d284baebdd3bbc0607205d3ced82748a2.tar.bz2 gsoc2013-empathy-7a94f85d284baebdd3bbc0607205d3ced82748a2.tar.lz gsoc2013-empathy-7a94f85d284baebdd3bbc0607205d3ced82748a2.tar.xz gsoc2013-empathy-7a94f85d284baebdd3bbc0607205d3ced82748a2.tar.zst gsoc2013-empathy-7a94f85d284baebdd3bbc0607205d3ced82748a2.zip |
Sort presets alphabetically in the list
Diffstat (limited to 'libempathy-gtk/empathy-presence-chooser.c')
-rw-r--r-- | libempathy-gtk/empathy-presence-chooser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-presence-chooser.c b/libempathy-gtk/empathy-presence-chooser.c index d565cf387..d97abea0c 100644 --- a/libempathy-gtk/empathy-presence-chooser.c +++ b/libempathy-gtk/empathy-presence-chooser.c @@ -170,7 +170,8 @@ presence_chooser_create_model (EmpathyPresenceChooser *self) if (states[i+1]) { /* Set custom messages if wanted */ - list = empathy_status_presets_get (states[i], 5); + list = empathy_status_presets_get (states[i], -1); + list = g_list_sort (list, (GCompareFunc) g_utf8_collate); for (l = list; l; l = l->next) { gtk_list_store_insert_with_values (store, NULL, -1, |