Develop and Download Open Source Software

Browse CVS Repository

Annotation of /undmail/guiproto/ComposeToolbarSource.m

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


Revision 1.4 - (hide annotations) (download)
Fri Feb 14 16:47:45 2003 UTC (21 years, 2 months ago) by footashida
Branch: MAIN
Changes since 1.3: +2 -2 lines
*** empty log message ***

1 footashida 1.1 #import "ComposeToolbarSource.h"
2     #import "MainController.h"
3    
4     extern NSToolbarItem * MakeToolbarItem(NSString *identifier, NSString *label, NSString *imageName);
5    
6     @implementation ComposeToolbarSource
7 footashida 1.4 - (id)initWithController:(id)controller{
8 footashida 1.1 if(self = [super init]){
9     NSToolbarItem *item;
10     item = [self addToolbarItemWithIdentifier:@"send"
11     label:@"Label_Send"
12     imageName:@"send_32.tiff"
13     isDefault:YES];
14     item = [self addToolbarItemWithIdentifier:@"send_later"
15     label:@"Label_SendLater"
16     imageName:@"send_32.tiff"
17     isDefault:YES];
18     item = [self addToolbarItemWithIdentifier:@"draft"
19     label:@"Label_Draft"
20     imageName:@"create_32.tiff"
21     isDefault:YES];
22     item = [self addToolbarItemWithIdentifier:@"delete"
23     label:@"Label_Delete"
24     imageName:@"delete_32.tiff"
25     isDefault:YES];
26     item = [self addToolbarItemWithIdentifier:@"attach"
27     label:@"Label_Attach"
28     imageName:@"attach_32.tiff"
29     isDefault:YES];
30     item = [self addToolbarItemWithIdentifier:@"address"
31     label:@"Label_Address"
32     imageName:@"addresses_32.tiff"
33     isDefault:YES];
34 footashida 1.3 [item setTarget:controller];
35 footashida 1.4 [item setAction:@selector(showAddressBook:)];
36 footashida 1.2 item = [self addToolbarItemWithIdentifier:@"edit_headers"
37     label:@"Label_Edit_Headers"
38     imageName:@"create_32.tiff"
39     isDefault:YES];
40 footashida 1.1 }
41     return self;
42     }
43    
44     @end

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