Revision 544b6f52 pithos-macos/PithosActivityFacility.m
b/pithos-macos/PithosActivityFacility.m | ||
---|---|---|
37 | 37 |
|
38 | 38 |
#import "PithosActivityFacility.h" |
39 | 39 |
#import "PithosAccount.h" |
40 |
#import "pithos_macosAppDelegate.h" |
|
40 | 41 |
|
41 | 42 |
static PithosActivityFacility *defaultPithosActivityFacility = nil; |
42 | 43 |
|
... | ... | |
118 | 119 |
|
119 | 120 |
pickedRunning = NO; |
120 | 121 |
|
121 |
timer = [[NSTimer scheduledTimerWithTimeInterval:0.5 target:self selector:@selector(update:) userInfo:nil repeats:YES] retain]; |
|
122 |
timer = [[NSTimer scheduledTimerWithTimeInterval:[(pithos_macosAppDelegate *)[[NSApplication sharedApplication] delegate] activityFacilityTimeInterval] |
|
123 |
target:self |
|
124 |
selector:@selector(update:) |
|
125 |
userInfo:nil |
|
126 |
repeats:YES] retain]; |
|
122 | 127 |
} |
123 | 128 |
} |
124 | 129 |
|
Also available in: Unified diff