mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 07:10:37 +00:00
Fix PR #5849 window deminiaturize.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17945 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cc96830424
commit
7bbabe4e72
4 changed files with 21 additions and 1 deletions
|
@ -2137,6 +2137,12 @@ image.
|
|||
}
|
||||
}
|
||||
|
||||
/** Changes the Window menu item associated with aWindow to aString. If no
|
||||
associated window item exists, one is created. If isFilename is YES, then
|
||||
aString is assumed to be a filename representation the way
|
||||
[NSWindow-setTitleWithRepresentedFilename:] would format it, otherwise
|
||||
the string is displayed literally in the menu item.
|
||||
*/
|
||||
- (void) changeWindowsItem: (NSWindow*)aWindow
|
||||
title: (NSString*)aString
|
||||
filename: (BOOL)isFilename
|
||||
|
@ -2237,7 +2243,7 @@ image.
|
|||
i++;
|
||||
}
|
||||
item = [_windows_menu insertItemWithTitle: aString
|
||||
action: @selector(makeKeyAndOrderFront:)
|
||||
action: @selector(deminiaturize:)
|
||||
keyEquivalent: @""
|
||||
atIndex: i];
|
||||
[item setTarget: aWindow];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue