Develop and Download Open Source Software

Browse CVS Repository

Annotation of /undmail/guiproto/MainToolbarSource.m

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


Revision 1.2 - (hide annotations) (download)
Sun Feb 16 09:05:53 2003 UTC (21 years, 2 months ago) by footashida
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +6 -0 lines
*** empty log message ***

1 footashida 1.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 footashida 1.2 item = [self addToolbarItemWithIdentifier:@"address"
43     label:@"Label_Address"
44     imageName:@"addresses_32.tiff"
45     isDefault:YES];
46     [item setTarget:controller];
47     [item setAction:@selector(showAddressBook:)];
48 footashida 1.1
49     }
50     return self;
51     }
52     @end

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