mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 03:00:37 +00:00
Try Fred's idea for theme image lookup improvement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39168 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e61577a98f
commit
79e04b545a
3 changed files with 255 additions and 250 deletions
|
@ -3836,9 +3836,14 @@ struct _DelegateWrapper
|
|||
|
||||
|
||||
{
|
||||
NSRect iconContentRect = GSGetIconFrame(_app_icon_window);
|
||||
NSRect iconFrame = [_app_icon_window frameRectForContentRect: iconContentRect];
|
||||
NSRect iconViewFrame = NSMakeRect(0, 0, iconContentRect.size.width, iconContentRect.size.height);
|
||||
NSRect iconContentRect;
|
||||
NSRect iconFrame;
|
||||
NSRect iconViewFrame;
|
||||
|
||||
iconContentRect = GSGetIconFrame(_app_icon_window);
|
||||
iconFrame = [_app_icon_window frameRectForContentRect: iconContentRect];
|
||||
iconViewFrame = NSMakeRect(0, 0,
|
||||
iconContentRect.size.width, iconContentRect.size.height);
|
||||
[_app_icon_window setFrame: iconFrame display: YES];
|
||||
|
||||
iv = [[NSAppIconView alloc] initWithFrame: iconViewFrame];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue