Permalink
Browse files

No longer have a default app to activate when clicking.

  • Loading branch information...
1 parent 9c51506 commit 38e547b682a4b820e3ac0b5443100d3dd78058af @alloy alloy committed Jul 28, 2012
Showing with 4 additions and 5 deletions.
  1. +4 −5 Terminal Notifier/AppDelegate.m
@@ -55,11 +55,10 @@ - (void)applicationDidFinishLaunching:(NSNotification *)notification;
}
NSMutableDictionary *options = [NSMutableDictionary dictionary];
- options[@"bundleID"] = defaults[@"activate"] ?: @"com.apple.Terminal";
-
- if (defaults[@"group"]) options[@"groupID"] = defaults[@"group"];
- if (defaults[@"execute"]) options[@"command"] = defaults[@"execute"];
- if (defaults[@"open"]) options[@"open"] = defaults[@"open"];
+ if (defaults[@"activate"]) options[@"bundleID"] = defaults[@"activate"];
+ if (defaults[@"group"]) options[@"groupID"] = defaults[@"group"];
+ if (defaults[@"execute"]) options[@"command"] = defaults[@"execute"];
+ if (defaults[@"open"]) options[@"open"] = defaults[@"open"];
[self deliverNotificationWithTitle:defaults[@"title"] ?: @"Terminal"
message:message

0 comments on commit 38e547b

Please sign in to comment.