Changeset 7313


Ignore:
Timestamp:
Dec 7, 2008, 10:35:49 PM (12 years ago)
Author:
livings124
Message:

use the short username for the Bonjour web ui name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/BonjourController.m

    r7297 r7313  
    4545    [self stop];
    4646   
    47     CFStringRef machineName = CSCopyMachineName();
    48     NSString * serviceName = [NSString stringWithFormat: @"%@: Transmission Web Interface", (NSString *)machineName];
     47    CFStringRef userName = CSCopyUserName(TRUE);
     48    NSString * serviceName = [NSString stringWithFormat: @"Transmission Web Interface (%@)", (NSString *)userName];
    4949    CFRelease(machineName);
    5050   
Note: See TracChangeset for help on using the changeset viewer.