UI element applications don't restore correctly, this needs more work/testing.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Wed, 13 Mar 2013 18:06:45 +0000 (19:06 +0100)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Wed, 13 Mar 2013 18:06:45 +0000 (19:06 +0100)
Classes/EnjoyableApplicationDelegate.m
Info.plist

index f02ec90..411067e 100644 (file)
 }
 
 - (void)applicationDidFinishLaunching:(NSNotification *)notification {
-    if (NSRunningApplication.currentApplication.wasLaunchedAsLoginItemOrResume
-        && [NSUserDefaults.standardUserDefaults boolForKey:@"hidden in status item"]) {
-        [self transformIntoElement:self];
-        NSApplication *app = notification.object;
-        [app deactivate];
-    } else {
-        [window makeKeyAndOrderFront:nil];
-    }
+    [window makeKeyAndOrderFront:nil];
 }
 
 - (BOOL)applicationShouldHandleReopen:(NSApplication *)theApplication
index 6191eaa..2b34274 100644 (file)
@@ -46,7 +46,7 @@
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>258</string>
+       <string>259</string>
        <key>LSApplicationCategoryType</key>
        <string>public.app-category.utilities</string>
        <key>NSHumanReadableCopyright</key>