Changeset 85


Ignore:
Timestamp:
Feb 4, 2006, 3:21:28 PM (15 years ago)
Author:
titer
Message:

Hide toolbar button in a Panther-compatible way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/PrefsController.m

    r58 r85  
    2222
    2323#import "PrefsController.h"
     24#import "Utils.h"
    2425
    2526#define MIN_PORT            1
     
    7475    [fToolbar setDisplayMode: NSToolbarDisplayModeIconAndLabel];
    7576    [fToolbar setSizeMode: NSToolbarSizeModeRegular];
    76     [fPrefsWindow setShowsToolbarButton: NO];
     77    [[fPrefsWindow standardWindowButton: NSWindowToolbarButton]
     78        setFrame: NSZeroRect];
    7779   
    7880    [fToolbar setSelectedItemIdentifier: TOOLBAR_GENERAL];
Note: See TracChangeset for help on using the changeset viewer.