mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-07 01:15:09 +00:00
See ChangeLog
Monotone-Parent: b60d547047a2529bf2428a9d602340aa1c4f7f9b Monotone-Revision: 1aaea249ad1360b144fa338a55f11cad2cf930d0 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2009-09-28T01:05:10 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -91,7 +91,12 @@
|
||||
|
||||
tmp = [calendarURL lastPathComponent];
|
||||
if (tmp)
|
||||
rc = [tmp stringByDeletingSuffix: @".ics"];
|
||||
{
|
||||
if ([[tmp pathExtension] caseInsensitiveCompare: @"ics"] == NSOrderedSame)
|
||||
rc = [tmp substringToIndex: [tmp length] - 4];
|
||||
else
|
||||
rc = tmp;
|
||||
}
|
||||
else
|
||||
rc = [self labelForKey: @"Web Calendar"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user