The R Project SVN R-packages

Rev

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

Rev 814 Rev 1048
Line 4... Line 4...
4
//
4
//
5
//  Created by Andreas on Sat May 31 2003.
5
//  Created by Andreas on Sat May 31 2003.
6
//  Copyright (c) 2003 Andreas Mayer. All rights reserved.
6
//  Copyright (c) 2003 Andreas Mayer. All rights reserved.
7
//
7
//
8
 
8
 
-
 
9
#import "../RGUI.h" /* for NLS nacro */
9
#import "AMPreferenceWindowController.h"
10
#import "AMPreferenceWindowController.h"
10
#import "AMPrefPaneProtocol.h"
11
#import "AMPrefPaneProtocol.h"
11
#import "AMPrefPaneIcon.h"
12
#import "AMPrefPaneIcon.h"
12
#import "AMPrefPaneIconView.h"
13
#import "AMPrefPaneIconView.h"
13
 
14
 
Line 511... Line 512...
511
		if (result = [[NSToolbarItem alloc] initWithItemIdentifier:itemIdentifier]) {
512
		if (result = [[NSToolbarItem alloc] initWithItemIdentifier:itemIdentifier]) {
512
			[result setTarget:self];
513
			[result setTarget:self];
513
			[result setAction:@selector(toolbarShowAll)];
514
			[result setAction:@selector(toolbarShowAll)];
514
			[result setEnabled:YES];
515
			[result setEnabled:YES];
515
			[result setImage:[NSImage imageNamed:@"Prefs"]];
516
			[result setImage:[NSImage imageNamed:@"Prefs"]];
516
			[result setLabel:NSLocalizedString(@"Show All", @"")];
517
			[result setLabel:NLS(@"Show All")];
517
		}
518
		}
518
	} else if (pane = [prefPanes objectForKey:itemIdentifier]) {
519
	} else if (pane = [prefPanes objectForKey:itemIdentifier]) {
519
		if (result = [[NSToolbarItem alloc] initWithItemIdentifier:itemIdentifier]) {
520
		if (result = [[NSToolbarItem alloc] initWithItemIdentifier:itemIdentifier]) {
520
			[result setTarget:self];
521
			[result setTarget:self];
521
			[result setAction:@selector(toolbarShowPane:)];
522
			[result setAction:@selector(toolbarShowPane:)];