Browse CVS Repository
Annotation of /undmail/guiproto/ComposeToolbarSource.m
Parent Directory
| Revision Log
| Revision Graph
Revision 1.2 -
( hide annotations)
( download)
Sun Nov 24 13:45:06 2002 UTC
(21 years, 4 months ago)
by footashida
Branch: MAIN
Changes since 1.1: +4 -0 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 |
|
|
- (id)initWithController:(MainController *)controller{ |
| 8 |
|
|
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.2 |
item = [self addToolbarItemWithIdentifier:@"edit_headers" |
| 35 |
|
|
label:@"Label_Edit_Headers" |
| 36 |
|
|
imageName:@"create_32.tiff" |
| 37 |
|
|
isDefault:YES]; |
| 38 |
footashida |
1.1 |
} |
| 39 |
|
|
return self; |
| 40 |
|
|
} |
| 41 |
|
|
|
| 42 |
|
|
@end |
|