mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-17 01:08:16 +00:00
Proper system defaults fallback for preferences
(Bug #145) Monotone-Parent: 86d5fda1266a9ae6071c1b0c48daa229594679fb Monotone-Revision: 33a4befb91778f46b962f6c895f7697b0d1df722 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-10-06T18:12:07 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
a9f4d77c2c
commit
725878ebdb
8 files changed
+99
-36
No files matched your search
@@ -120,11 +120,8 @@
|
||||
{
|
||||
unsigned int currentHour, lastHour;
|
||||
|
||||
// For later
|
||||
ud = [[context activeUser] userDefaults];
|
||||
timeFormat = [NSMutableString stringWithString: [ud stringForKey: @"TimeFormat"]];
|
||||
if (!timeFormat || [timeFormat length] == 0)
|
||||
timeFormat = [NSMutableString stringWithString: @"%H:00"];
|
||||
// For later in method currentTableHour
|
||||
timeFormat = [[context activeUser] timeFormat];
|
||||
|
||||
if (!hoursToDisplay)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user