mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-01 08:29:45 +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:
@@ -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