Ignore:
Timestamp:
Jun 5, 2008, 4:50:39 PM (14 years ago)
Author:
livings124
Message:

add fields for rpc username and password

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/PrefsController.m

    r6048 r6053  
    653653}
    654654
     655- (void) setRPCAuthorize: (id) sender
     656{
     657    tr_sessionSetRPCPasswordEnabled(fHandle, [fDefaults boolForKey: @"RPCAuthorize"]);
     658}
     659
     660- (void) setRPCUsername: (id) sender
     661{
     662    tr_sessionSetRPCUsername(fHandle, [[fDefaults stringForKey: @"RPCUsername"] UTF8String]);
     663}
     664
     665- (void) setRPCPassword: (id) sender
     666{
     667    tr_sessionSetRPCPassword(fHandle, [[fDefaults stringForKey: @"RPCPassword"] UTF8String]);
     668}
     669
    655670- (void) setRPCPort: (id) sender
    656671{
Note: See TracChangeset for help on using the changeset viewer.