Some last minute changes
authorKent Sutherland <ksuther@ithinksw.com>
Mon, 29 Dec 2003 06:11:02 +0000 (06:11 +0000)
committerKent Sutherland <ksuther@ithinksw.com>
Mon, 29 Dec 2003 06:11:02 +0000 (06:11 +0000)
MenuController.m
PreferencesController.m

index 668f961..b7f8f85 100755 (executable)
@@ -22,7 +22,7 @@
 - (NSMenu *)eqMenu;
 - (void)setKeyEquivalentForCode:(short)code andModifiers:(long)modifiers
         onItem:(NSMenuItem *)item;
-- (BOOL)iPodAtPathAutomaticallyUpdates:(NSString *)name;
+//- (BOOL)iPodAtPathAutomaticallyUpdates:(NSString *)name;
 @end
 
 @implementation MenuController
     ITDebugLog(@"Done setting key equivalent on menu item: %@", [item title]);
 }
 
-- (BOOL)iPodAtPathAutomaticallyUpdates:(NSString *)name
+/*- (BOOL)iPodAtPathAutomaticallyUpdates:(NSString *)name
 {
     NSArray *volumes = [[NSWorkspace sharedWorkspace] mountedLocalVolumePaths];
     NSEnumerator *volEnum = [volumes objectEnumerator];
             }
         }
     }
-}
+}*/
 
 @end
\ No newline at end of file
index fc25302..e82526b 100755 (executable)
@@ -980,6 +980,11 @@ static PreferencesController *prefs = nil;
     ITDebugLog(@"Synchronizing menus");
     [df setObject:myItems forKey:@"menu"];
     [df synchronize];
+    
+    //If we're connected over a network, refresh the menu immediately
+    if ([[NetworkController sharedController] isConnectedToServer]) {
+        [controller timerUpdate];
+    }
 }
 
 - (void)setLaunchesAtLogin:(BOOL)flag