Develop and Download Open Source Software

Browse CVS Repository

Contents of /undmail/guiproto/MainToolbarSource.m

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


Revision 1.1 - (show annotations) (download)
Sun Nov 17 03:58:21 2002 UTC (21 years, 5 months ago) by footashida
Branch: MAIN
*** empty log message ***

1
2
3 #import "MainToolbarSource.h"
4
5
6 @implementation MainToolbarSource
7 - (id)initWithController:(MainController *)controller{
8 if(self = [super init]){
9 NSToolbarItem *item;
10
11 item = [self addToolbarItemWithIdentifier:@"get_mail"
12 label:@"Label_GetMail"
13 imageName:@"GNUMail.tiff"
14 isDefault:YES];
15
16 item = [self addToolbarItemWithIdentifier:@"compose"
17 label:@"Label_Compose"
18 imageName:@"create_32.tiff"
19 isDefault:YES];
20 [item setTarget:controller];
21 [item setAction:@selector(createNewMessage:)];
22
23 item = [self addToolbarItemWithIdentifier:@"reply"
24 label:@"Label_Reply"
25 imageName:@"reply_32.tiff"
26 isDefault:YES];
27
28 item = [self addToolbarItemWithIdentifier:@"forward"
29 label:@"Label_Forward"
30 imageName:@"forward_32.tiff"
31 isDefault:YES];
32
33 item = [self addToolbarItemWithIdentifier:@"find"
34 label:@"Label_Find"
35 imageName:@"find_32.tiff"
36 isDefault:YES];
37
38 item = [self addToolbarItemWithIdentifier:@"delete"
39 label:@"Label_Delete"
40 imageName:@"delete_32.tiff"
41 isDefault:YES];
42
43 }
44 return self;
45 }
46 @end

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