Changeset 6361 for trunk/macosx/PrefsController.m
- Timestamp:
- Jul 19, 2008, 1:40:23 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/PrefsController.m
r6357 r6361 57 57 #define RPC_KEYCHAIN_NAME "Remote" 58 58 59 #define WEBUI_URL @"http://localhost:%d/transmission/clutch/" 60 59 61 @interface PrefsController (Private) 60 62 … … 806 808 { 807 809 tr_sessionSetRPCEnabled(fHandle, [fDefaults boolForKey: @"RPC"]); 810 } 811 812 - (void) linkWebUI: (id) sender 813 { 814 NSString * urlString = [NSString stringWithFormat: WEBUI_URL, [fDefaults integerForKey: @"RPCPort"]]; 815 [[NSWorkspace sharedWorkspace] openURL: [NSURL URLWithString: urlString]]; 808 816 } 809 817
Note: See TracChangeset
for help on using the changeset viewer.