The R Project SVN R-packages

Rev

Rev 1254 | Rev 5235 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1254 Rev 1442
Line 236... Line 236...
236
	
236
	
237
    // Create a new toolbar instance, and attach it to our document window 
237
    // Create a new toolbar instance, and attach it to our document window 
238
	toolbar = [[[NSToolbar alloc] initWithIdentifier: WorkSpaceBrowserToolbarIdentifier] autorelease];
238
	toolbar = [[[NSToolbar alloc] initWithIdentifier: WorkSpaceBrowserToolbarIdentifier] autorelease];
239
    
239
    
240
    // Set up toolbar properties: Allow customization, give a default display mode, and remember state in user defaults 
240
    // Set up toolbar properties: Allow customization, give a default display mode, and remember state in user defaults 
241
    [toolbar setAllowsUserCustomization: NO];
241
    [toolbar setAllowsUserCustomization: YES];
242
    [toolbar setAutosavesConfiguration: YES];
242
    [toolbar setAutosavesConfiguration: YES];
243
    [toolbar setDisplayMode: NSToolbarDisplayModeIconOnly];
243
    [toolbar setDisplayMode: NSToolbarDisplayModeIconOnly];
244
    
244
    
245
    // We are the delegate
245
    // We are the delegate
246
    [toolbar setDelegate: self];
246
    [toolbar setDelegate: self];