mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 23:30:48 +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
be698a3d7c
commit
faedadfcd0
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>
|
2010-05-15 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||||
|
|
||||||
* Source/NSAlert.m:
|
* Source/NSAlert.m:
|
||||||
|
|
|
@ -923,28 +923,28 @@ static Class fontPanelClass = Nil;
|
||||||
// Entry to increase weight
|
// Entry to increase weight
|
||||||
menuItem = [_fontMenu addItemWithTitle: @"Heavier"
|
menuItem = [_fontMenu addItemWithTitle: @"Heavier"
|
||||||
action: @selector(modifyFont:)
|
action: @selector(modifyFont:)
|
||||||
keyEquivalent: @"h"];
|
keyEquivalent: @""];
|
||||||
[menuItem setTag: NSHeavierFontAction];
|
[menuItem setTag: NSHeavierFontAction];
|
||||||
[menuItem setTarget: self];
|
[menuItem setTarget: self];
|
||||||
|
|
||||||
// Entry to decrease weight
|
// Entry to decrease weight
|
||||||
menuItem = [_fontMenu addItemWithTitle: @"Lighter"
|
menuItem = [_fontMenu addItemWithTitle: @"Lighter"
|
||||||
action: @selector(modifyFont:)
|
action: @selector(modifyFont:)
|
||||||
keyEquivalent: @"g"];
|
keyEquivalent: @""];
|
||||||
[menuItem setTag: NSLighterFontAction];
|
[menuItem setTag: NSLighterFontAction];
|
||||||
[menuItem setTarget: self];
|
[menuItem setTarget: self];
|
||||||
|
|
||||||
// Entry to increase size
|
// Entry to increase size
|
||||||
menuItem = [_fontMenu addItemWithTitle: @"Larger"
|
menuItem = [_fontMenu addItemWithTitle: @"Larger"
|
||||||
action: @selector(modifyFont:)
|
action: @selector(modifyFont:)
|
||||||
keyEquivalent: @"l"];
|
keyEquivalent: @"+"];
|
||||||
[menuItem setTag: NSSizeUpFontAction];
|
[menuItem setTag: NSSizeUpFontAction];
|
||||||
[menuItem setTarget: self];
|
[menuItem setTarget: self];
|
||||||
|
|
||||||
// Entry to decrease size
|
// Entry to decrease size
|
||||||
menuItem = [_fontMenu addItemWithTitle: @"Smaller"
|
menuItem = [_fontMenu addItemWithTitle: @"Smaller"
|
||||||
action: @selector(modifyFont:)
|
action: @selector(modifyFont:)
|
||||||
keyEquivalent: @"s"];
|
keyEquivalent: @"-"];
|
||||||
[menuItem setTag: NSSizeDownFontAction];
|
[menuItem setTag: NSSizeDownFontAction];
|
||||||
[menuItem setTarget: self];
|
[menuItem setTarget: self];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue