Changeset 745


Ignore:
Timestamp:
Aug 8, 2006, 10:23:33 PM (15 years ago)
Author:
livings124
Message:

show prefs window in Window menu / dock menu

Location:
trunk/macosx
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r742 r745  
    124124   
    125125    [fWindow makeFirstResponder: fTableView];
     126    [fWindow setExcludedFromWindowsMenu: YES];
    126127   
    127128    //set table size
     
    12241225   
    12251226    NSCalendarDate * currentDate = [NSCalendarDate calendarDate];
    1226     //do nothing if not within first few seconds of hour
    1227     if ([currentDate minuteOfHour] > 0 || [currentDate secondOfMinute] >= AUTO_SPEED_LIMIT_SECONDS)
    1228         return;
    1229    
    1230     if ([currentDate hourOfDay] == (fSpeedLimitEnabled ? offHour : onHour))
     1227    //toggle if within first few seconds of hour
     1228    if ([currentDate minuteOfHour] == 0 && [currentDate secondOfMinute] < AUTO_SPEED_LIMIT_SECONDS
     1229            && [currentDate hourOfDay] == (fSpeedLimitEnabled ? offHour : onHour))
    12311230    {
    12321231        [self toggleSpeedLimit: nil];
  • trunk/macosx/English.lproj/MainMenu.nib/info.nib

    r718 r745  
    1414                <string>337 545 477 67 0 0 1152 842 </string>
    1515                <key>29</key>
    16                 <string>227 675 451 44 0 0 1152 842 </string>
     16                <string>104 684 520 44 0 0 1152 842 </string>
    1717                <key>456</key>
    1818                <string>396 374 216 206 0 0 1152 842 </string>
     
    3232        <key>IBOpenObjects</key>
    3333        <array>
     34                <integer>21</integer>
    3435                <integer>29</integer>
    35                 <integer>21</integer>
    3636        </array>
    3737        <key>IBSystem Version</key>
  • trunk/macosx/InfoWindowController.m

    r744 r745  
    183183        [fDateStartedField setObjectValue: [torrent date]];
    184184       
    185         //don't allow empty strings to be selected
     185        //allow these strings to be selected
    186186        [fTrackerField setSelectable: YES];
    187187        [fAnnounceField setSelectable: YES];
  • trunk/macosx/PrefsWindow.m

    r743 r745  
    3636- (void) close
    3737{
    38     [self makeFirstResponder: nil]; //essentially saves changes on window close
     38    [self makeFirstResponder: nil]; //essentially saves pref changes on window close
    3939    [super close];
    4040}
Note: See TracChangeset for help on using the changeset viewer.