diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-storage-set-view.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 148c1a2c02..aaf00ceff0 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2001-03-28 Christopher James Lahey <clahey@ximian.com> + + * e-storage-set-view.c (storage_sort_callback, + folder_sort_callback): Use strcasecmp instead of strcmp. + 2001-03-28 Ettore Perazzoli <ettore@ximian.com> * e-local-storage.c (async_xfer_folder_callback): diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c index dc084fac35..5db6e70893 100644 --- a/shell/e-storage-set-view.c +++ b/shell/e-storage-set-view.c @@ -157,15 +157,15 @@ storage_sort_callback (ETreeMemory *etmm, if (path2_local) return 1; - return strcmp (e_tree_model_value_at (E_TREE_MODEL (etmm), node1, 0), - e_tree_model_value_at (E_TREE_MODEL (etmm), node2, 0)); + return strcasecmp (e_tree_model_value_at (E_TREE_MODEL (etmm), node1, 0), + e_tree_model_value_at (E_TREE_MODEL (etmm), node2, 0)); } static int folder_sort_callback (ETreeMemory *etmm, ETreePath path1, ETreePath path2, gpointer closure) { - return strcmp (e_tree_model_value_at (E_TREE_MODEL (etmm), path1, 0), - e_tree_model_value_at (E_TREE_MODEL (etmm), path2, 0)); + return strcasecmp (e_tree_model_value_at (E_TREE_MODEL (etmm), path1, 0), + e_tree_model_value_at (E_TREE_MODEL (etmm), path2, 0)); } |