mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-25 12:21:58 +00:00
* Source/NSApplication.m: Always resize icon to 48x48 so that
icons larger than this will display correctly. Change made in setApplicationIconImage:. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27197 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0425232826
commit
0f92239a0b
2 changed files with 8 additions and 0 deletions
|
@ -2184,6 +2184,8 @@ image.</p><p>See Also: -applicationIconImage</p>
|
|||
RETAIN(old_app_icon);
|
||||
[_app_icon setName: nil];
|
||||
[anImage setName: @"NSApplicationIcon"];
|
||||
[anImage setScalesWhenResized: YES];
|
||||
[anImage setSize: NSMakeSize(48,48)];
|
||||
ASSIGN(_app_icon, anImage);
|
||||
|
||||
[_main_menu _organizeMenu]; // Let horizontal menu change icon
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue