mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
NSApplication: use "Show" menu item title instead of "Unhide".
This commit is contained in:
parent
9d419c9116
commit
c5754158c5
1 changed files with 2 additions and 2 deletions
|
@ -2551,7 +2551,7 @@ image.</p><p>See Also: -applicationIconImage</p>
|
|||
if (menuItem)
|
||||
{
|
||||
[menuItem setAction:@selector(unhide:)];
|
||||
[menuItem setTitle:_(@"Unhide")];
|
||||
[menuItem setTitle:_(@"Show")];
|
||||
}
|
||||
|
||||
_app_is_hidden = YES;
|
||||
|
@ -2618,7 +2618,7 @@ image.</p><p>See Also: -applicationIconImage</p>
|
|||
{
|
||||
id<NSMenuItem> menuItem = [sender isKindOfClass:[NSMenuItem class]]
|
||||
? sender
|
||||
: [_main_menu itemWithTitle:_(@"Unhide")];
|
||||
: [_main_menu itemWithTitle:_(@"Show")];
|
||||
if (menuItem)
|
||||
{
|
||||
[menuItem setAction:@selector(hide:)];
|
||||
|
|
Loading…
Reference in a new issue