** Fix for bug #318842
authorMilan Crha <mcrha@redhat.com>
Mon, 5 Nov 2007 10:16:54 +0000 (10:16 +0000)
committerMilan Crha <mcrha@src.gnome.org>
Mon, 5 Nov 2007 10:16:54 +0000 (10:16 +0000)
commit5bea831ae2a53054b081876dc20179e212e98006
treeee96edea7af34fed9b1a9528671ddfb668074fcf
parentdda0ad57df7806e69743a89ae327e07f61f52ee1
** Fix for bug #318842

2007-11-05  Milan Crha  <mcrha@redhat.com>

** Fix for bug #318842

* Sort sources within group alphabetically
in ESourceSelector and ESourceComboBox.
* e-source-selector.c: (compare_source_names), (get_sorted_sources):
* e-source-combo-box.c: (compare_source_names), (get_sorted_sources):
New helper functions to sort sources in a group.
* e-source-selector.c: (rebuild_model): Always sort sources and place
them on their right position, if not in a tree yet.
* e-source-combo-box.c: (source_list_changed_cb):
Add sources in sorted order within group.

svn path=/trunk/; revision=8183
libedataserverui/ChangeLog
libedataserverui/e-source-combo-box.c
libedataserverui/e-source-selector.c