From 8e481d140798f09781086e1caeb397b6b870a304 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 17 Sep 2007 03:37:42 +0000 Subject: [PATCH] Monotone-Parent: 4d261df2cf600b1a2b203cffba49ea6559226fdd Monotone-Revision: 7e0e7f16482ee3ae19401f5ff1f7b42154de45a5 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-09-17T03:37:42 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 6 ++++++ SoObjects/SOGo/SOGoParentFolder.m | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d879621d3..afff66d78 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-09-16 Wolfgang Sourdeau + + * SoObjects/SOGo/SOGoParentFolder.m ([SOGoParentFolder + -subFolders]): returns a sorted array using the "compare:" + selector. + 2007-09-14 Wolfgang Sourdeau * UI/Scheduler/UIxCalendarSelector.m ([UIxCalendarSelector diff --git a/SoObjects/SOGo/SOGoParentFolder.m b/SoObjects/SOGo/SOGoParentFolder.m index 6bdf0f783..37604a352 100644 --- a/SoObjects/SOGo/SOGoParentFolder.m +++ b/SoObjects/SOGo/SOGoParentFolder.m @@ -263,7 +263,8 @@ if (!subFolders) [self initSubFolders]; - return [subFolders allValues]; + return [[subFolders allValues] + sortedArrayUsingSelector: @selector (compare:)]; } /* acls */