mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Don't touch icon positions when the icon manager is not used, so that
any icon placement performed by the user does not get lost when a miniwindow is deminiaturized. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29427 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fc16eea0dd
commit
460f7f7c39
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
|||
2010-01-28 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/GSIconManager.m (GSGetIconFrame): Don't touch icon
|
||||
positions when the icon manager is not used, so that any icon
|
||||
placement performed by the user does not get lost when a
|
||||
miniwindow is deminiaturized.
|
||||
|
||||
2010-01-27 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/NSTextView.m (smartLeftChars, smartRightChars, +initialize,
|
||||
|
|
|
@ -132,10 +132,8 @@ GSGetIconFrame(NSWindow *window)
|
|||
}
|
||||
else
|
||||
{
|
||||
NSSize iconSize;
|
||||
|
||||
iconSize = [GSCurrentServer() iconSize];
|
||||
iconRect = NSMakeRect(0, 0, iconSize.height, iconSize.width);
|
||||
iconRect = [window frame];
|
||||
iconRect.size = [GSCurrentServer() iconSize];
|
||||
}
|
||||
|
||||
return iconRect;
|
||||
|
|
Loading…
Reference in a new issue