mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Remove key equivalents from the font manager's default font menu that
conflict with standard key equivalents. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30395 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6029fc9d6c
commit
6c2fb0bd9b
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-05-15 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/NSFontManager.m (-fontMenu): Remove key equivalents that
|
||||
conflict with standard key equivalents.
|
||||
|
||||
2010-05-15 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/NSAlert.m:
|
||||
|
|
|
@ -923,28 +923,28 @@ static Class fontPanelClass = Nil;
|
|||
// Entry to increase weight
|
||||
menuItem = [_fontMenu addItemWithTitle: @"Heavier"
|
||||
action: @selector(modifyFont:)
|
||||
keyEquivalent: @"h"];
|
||||
keyEquivalent: @""];
|
||||
[menuItem setTag: NSHeavierFontAction];
|
||||
[menuItem setTarget: self];
|
||||
|
||||
// Entry to decrease weight
|
||||
menuItem = [_fontMenu addItemWithTitle: @"Lighter"
|
||||
action: @selector(modifyFont:)
|
||||
keyEquivalent: @"g"];
|
||||
keyEquivalent: @""];
|
||||
[menuItem setTag: NSLighterFontAction];
|
||||
[menuItem setTarget: self];
|
||||
|
||||
// Entry to increase size
|
||||
menuItem = [_fontMenu addItemWithTitle: @"Larger"
|
||||
action: @selector(modifyFont:)
|
||||
keyEquivalent: @"l"];
|
||||
keyEquivalent: @"+"];
|
||||
[menuItem setTag: NSSizeUpFontAction];
|
||||
[menuItem setTarget: self];
|
||||
|
||||
// Entry to decrease size
|
||||
menuItem = [_fontMenu addItemWithTitle: @"Smaller"
|
||||
action: @selector(modifyFont:)
|
||||
keyEquivalent: @"s"];
|
||||
keyEquivalent: @"-"];
|
||||
[menuItem setTag: NSSizeDownFontAction];
|
||||
[menuItem setTarget: self];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue