Develop and Download Open Source Software

Browse CVS Repository

Contents of /undmail/guiproto/PreferenceToolbarSource.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Nov 20 13:42:53 2002 UTC (21 years, 5 months ago) by footashida
Branch: MAIN
Account Preference Panel

1 //
2 // PreferenceToolbarSource.m
3 // undproto
4 //
5 //
6
7 #import "PreferenceToolbarSource.h"
8
9
10 @implementation PreferenceToolbarSource
11 - (id)initWithController:(MainController *)controller{
12 if(self = [super init]){
13 NSToolbarItem *item;
14
15 item = [self addToolbarItemWithIdentifier:@"general_tab"
16 label:@"Label_General"
17 imageName:@"GNUMail.tiff"
18 isDefault:YES];
19
20 [item setTarget:controller];
21 [item setAction:@selector(selectPreferenceTab:)];
22
23 item = [self addToolbarItemWithIdentifier:@"account_tab"
24 label:@"Label_Account"
25 imageName:@"GNUMail.tiff"
26 isDefault:YES];
27
28 [item setTarget:controller];
29 [item setAction:@selector(selectPreferenceTab:)];
30
31 }
32 return self;
33 }
34
35 @end

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26