Search
lxdream.org :: lxdream/src/cocoaui/cocoa_gd.m :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/cocoaui/cocoa_gd.m
changeset 1040:9e3e41eab2db
prev964:f2f3c7612d06
author nkeynes
date Thu Jun 25 21:21:18 2009 +0000 (10 years ago)
permissions -rw-r--r--
last change Add quick state bits to the menus
file annotate diff log raw
1.1 --- a/src/cocoaui/cocoa_gd.m Thu Jan 15 04:15:11 2009 +0000
1.2 +++ b/src/cocoaui/cocoa_gd.m Thu Jun 25 21:21:18 2009 +0000
1.3 @@ -36,8 +36,12 @@
1.4 if( entry[0] == '\0' ) {
1.5 [menu addItem: [NSMenuItem separatorItem]];
1.6 } else {
1.7 + NSString *keyEquiv = @"";
1.8 + if( i == 0 ) {
1.9 + keyEquiv = @"e";
1.10 + }
1.11 [[menu addItemWithTitle: [NSString stringWithCString: entry]
1.12 - action: @selector(gdrom_list_action:) keyEquivalent: @""]
1.13 + action: @selector(gdrom_list_action:) keyEquivalent: keyEquiv]
1.14 setTag: i];
1.15 }
1.16 }
.