Changeset 3660
- Timestamp:
- Oct 30, 2007, 8:19:22 PM (15 years ago)
- Location:
- trunk/macosx
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.h
r3391 r3660 187 187 - (void) switchFilter: (id) sender; 188 188 189 - (void) applySpeedLimit: (id) sender;190 189 - (void) toggleSpeedLimit: (id) sender; 191 190 - (void) autoSpeedLimitChange: (NSNotification *) notification; -
trunk/macosx/Controller.m
r3655 r3660 2026 2026 } 2027 2027 2028 #warning look into 2029 - (void) applySpeedLimit: (id) sender 2030 { 2028 - (void) toggleSpeedLimit: (id) sender 2029 { 2030 [fDefaults setBool: ![fDefaults boolForKey: @"SpeedLimit"] forKey: @"SpeedLimit"]; 2031 2031 [fPrefsController applySpeedSettings: nil]; 2032 }2033 2034 - (void) toggleSpeedLimit: (id) sender2035 {2036 [fDefaults setBool: ![fDefaults boolForKey: @"SpeedLimit"] forKey: @"SpeedLimit"];2037 [self applySpeedLimit: nil];2038 2032 } 2039 2033 … … 2849 2843 { 2850 2844 SEL action = [menuItem action]; 2845 2846 if (action == @selector(toggleSpeedLimit:)) 2847 { 2848 [menuItem setState: [fDefaults boolForKey: @"SpeedLimit"] ? NSOnState : NSOffState]; 2849 return YES; 2850 } 2851 2851 2852 2852 //only enable some items if it is in a context menu or the window is useable -
trunk/macosx/English.lproj/MainMenu.nib/classes.nib
r3655 r3660 71 71 <string>id</string> 72 72 <key>applyFilter</key> 73 <string>id</string>74 <key>applySpeedLimit</key>75 73 <string>id</string> 76 74 <key>copyTorrentFiles</key> -
trunk/macosx/English.lproj/MainMenu.nib/info.nib
r3655 r3660 11 11 <key>IBOpenObjects</key> 12 12 <array> 13 <integer>1 639</integer>13 <integer>1326</integer> 14 14 </array> 15 15 <key>IBSystem Version</key>
Note: See TracChangeset
for help on using the changeset viewer.