diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index 05df997bb..35543a631 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -492,20 +492,12 @@ static Class sogoAppointmentFolderKlass = Nil; GCSFolder *folder; NSString *sql, *dateSqlString, *titleSqlString, *componentSqlString, *filterSqlString; - NGCalendarDateRange *r; folder = [self ocsFolder]; if (startDate && endDate) - { - r = [NGCalendarDateRange calendarDateRangeWithStartDate: startDate - endDate: endDate]; - dateSqlString = [self _sqlStringRangeFrom: startDate to: endDate]; - } + dateSqlString = [self _sqlStringRangeFrom: startDate to: endDate]; else - { - r = nil; - dateSqlString = @""; - } + dateSqlString = @""; if ([title length]) titleSqlString = [NSString stringWithFormat: @"AND (c_title" diff --git a/UI/MailerUI/Dutch.lproj/Localizable.strings b/UI/MailerUI/Dutch.lproj/Localizable.strings index 04b896315..486052837 100644 --- a/UI/MailerUI/Dutch.lproj/Localizable.strings +++ b/UI/MailerUI/Dutch.lproj/Localizable.strings @@ -21,6 +21,7 @@ "Contacts" = "Adresboek"; "Attach" = "Bijlage"; "Save" = "Opslaan"; +"Priority" = "Priority"; /* Main Frame */ diff --git a/UI/MailerUI/English.lproj/Localizable.strings b/UI/MailerUI/English.lproj/Localizable.strings index 9bf934107..fa8086a74 100644 --- a/UI/MailerUI/English.lproj/Localizable.strings +++ b/UI/MailerUI/English.lproj/Localizable.strings @@ -18,6 +18,7 @@ "Contacts" = "Contacts"; "Attach" = "Attach"; "Save" = "Save"; +"Priority" = "Priority"; /* Tooltips */ diff --git a/UI/MailerUI/French.lproj/Localizable.strings b/UI/MailerUI/French.lproj/Localizable.strings index 926414dbd..add39f772 100644 --- a/UI/MailerUI/French.lproj/Localizable.strings +++ b/UI/MailerUI/French.lproj/Localizable.strings @@ -21,6 +21,7 @@ "Contacts" = "Contacts"; "Attach" = "Joindre"; "Save" = "Enregistrer"; +"Priority" = "Priorité"; /* Tooltips */ diff --git a/UI/MailerUI/German.lproj/Localizable.strings b/UI/MailerUI/German.lproj/Localizable.strings index 858d40328..f6569ed16 100644 --- a/UI/MailerUI/German.lproj/Localizable.strings +++ b/UI/MailerUI/German.lproj/Localizable.strings @@ -22,6 +22,7 @@ "Contacts" = "Kontakte"; "Attach" = "Anhang"; "Save" = "Speichern"; +"Priority" = "Priority"; /* Main Frame */ diff --git a/UI/MailerUI/Italian.lproj/Localizable.strings b/UI/MailerUI/Italian.lproj/Localizable.strings index 3a7b9d072..0886f1ba7 100644 --- a/UI/MailerUI/Italian.lproj/Localizable.strings +++ b/UI/MailerUI/Italian.lproj/Localizable.strings @@ -21,6 +21,7 @@ "Contacts" = "Contatti"; "Attach" = "Allegato"; "Save" = "Salva"; +"Priority" = "Priority"; /* Tooltips */ diff --git a/UI/MailerUI/Spanish.lproj/Localizable.strings b/UI/MailerUI/Spanish.lproj/Localizable.strings index cef04a8af..5b3119dce 100644 --- a/UI/MailerUI/Spanish.lproj/Localizable.strings +++ b/UI/MailerUI/Spanish.lproj/Localizable.strings @@ -24,6 +24,7 @@ "Contacts" = "Contactos"; "Attach" = "Adjuntar"; "Save" = "Guardar"; +"Priority" = "Priority"; /* Tooltips */ diff --git a/UI/MailerUI/UIxMailListView.h b/UI/MailerUI/UIxMailListView.h index 8da0e5aaf..85f2e91b7 100644 --- a/UI/MailerUI/UIxMailListView.h +++ b/UI/MailerUI/UIxMailListView.h @@ -24,6 +24,7 @@ #import +@class NSDictionary; @class EOQualifier; @class SOGoDateFormatter; @@ -37,6 +38,7 @@ SOGoDateFormatter *dateFormatter; NSTimeZone *userTimeZone; int folderType; + NSDictionary *currentColumn; } - (NSString *) defaultSortKey; diff --git a/UI/MailerUI/UIxMailListView.m b/UI/MailerUI/UIxMailListView.m index 8a77b0b38..e73b96444 100644 --- a/UI/MailerUI/UIxMailListView.m +++ b/UI/MailerUI/UIxMailListView.m @@ -68,6 +68,7 @@ ASSIGN (dateFormatter, [user dateFormatterInContext: context]); ASSIGN (userTimeZone, [user timeZone]); folderType = 0; + currentColumn = nil; } return self; @@ -81,6 +82,7 @@ [message release]; [dateFormatter release]; [userTimeZone release]; + [currentColumn release]; [super dealloc]; } @@ -735,6 +737,11 @@ return columnsMetaData; } +- (NSString *) columnTitle +{ + return [self labelForKey: [currentColumn objectForKey: @"value"]]; +} + @end /* UIxMailListView */ diff --git a/UI/Templates/MailerUI/UIxMailListView.wox b/UI/Templates/MailerUI/UIxMailListView.wox index 312f23389..bbf67d98a 100644 --- a/UI/Templates/MailerUI/UIxMailListView.wox +++ b/UI/Templates/MailerUI/UIxMailListView.wox @@ -23,7 +23,7 @@ - +