Fixed my dorkiness with making unneeded helper methods in
[MenuTunes.git] / StatusWindowController.m
index e28bf71..a0ab68c 100755 (executable)
@@ -52,6 +52,9 @@ static StatusWindowController *sharedController;
         [_window setExitMode:ITTransientStatusWindowExitAfterDelay];
         [_window setExitDelay:(exitDelay ? exitDelay : 4.0)];
 
+        [_window setHorizontalPosition:[df integerForKey:@"statusWindowHorizontalPosition"]];
+        [_window setVerticalPosition:[df integerForKey:@"statusWindowVerticalPosition"]];
+
         if ( entryTag == 2101 ) {
             entryEffect = [[[ITDissolveWindowEffect alloc] initWithWindow:_window] autorelease];
         } else if ( entryTag == 2102 ) {
@@ -93,14 +96,6 @@ static StatusWindowController *sharedController;
     [super dealloc];
 }
 
-- (void)readDefaults
-{
-    ITHorizontalWindowPosition horizontalPosition = [[NSUserDefaults standardUserDefaults] integerForKey:@"statusWindowHorizontalPosition"];
-    ITVerticalWindowPosition verticalPosition = [[NSUserDefaults standardUserDefaults] integerForKey:@"statusWindowVerticalPosition"];
-    [_window setHorizontalPosition:horizontalPosition];
-    [_window setVerticalPosition:verticalPosition];
-}
-
 - (void)showSongInfoWindowWithSource:(ITMTRemotePlayerSource)source
                                title:            (NSString *)title
                                album:            (NSString *)album