diff options
author | stuconnolly <stuart02@gmail.com> | 2013-01-22 16:00:31 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2013-01-22 16:00:31 +0000 |
commit | e2cc9e1953a142f182714fb02d7eca028398e368 (patch) | |
tree | 129c06cc8407dc3627ea9eccf39c7374cfd12485 /Source | |
parent | ba6a7fac93619f3e74784b1ffbaaf9561247dcdf (diff) | |
download | sequelpro-e2cc9e1953a142f182714fb02d7eca028398e368.tar.gz sequelpro-e2cc9e1953a142f182714fb02d7eca028398e368.tar.bz2 sequelpro-e2cc9e1953a142f182714fb02d7eca028398e368.zip |
Tidy up.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPGrowlController.m | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/SPGrowlController.m b/Source/SPGrowlController.m index b34443f4..9558208e 100644 --- a/Source/SPGrowlController.m +++ b/Source/SPGrowlController.m @@ -95,6 +95,7 @@ static SPGrowlController *sharedGrowlController = nil; } NSMutableDictionary *notificationDictionary = [NSMutableDictionary dictionary]; + [notificationDictionary setObject:title forKey:@"title"]; [notificationDictionary setObject:description forKey:@"description"]; [notificationDictionary setObject:document forKey:@"document"]; @@ -192,7 +193,10 @@ static SPGrowlController *sharedGrowlController = nil; */ - (void)setVisibilityForNotificationName:(NSString *)name { - if (timingNotificationName) [timingNotificationName release], timingNotificationName = nil; + if (timingNotificationName) { + [timingNotificationName release], timingNotificationName = nil; + } + timingNotificationName = [[NSString alloc] initWithString:name]; timingNotificationStart = [NSDate monotonicTimeInterval]; } |