mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 05:32:11 +00:00
Fix to display correct app icon.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28651 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ec138f065f
commit
d16088af08
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
2009-09-10 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSInfoPanel.m: When trying to locate image, try
|
||||
the applicationIconImage method before trying the image
|
||||
named NSApplicationIcon (the generic app icon). That way we get
|
||||
the actual icon used by the application.
|
||||
|
||||
2009-09-09 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSView.m (-_lockFocusInContext:inRect:): Correct the
|
||||
|
|
|
@ -282,10 +282,9 @@ new_label (NSString *value)
|
|||
|
||||
if (nil_or_not_of_class (icon, [NSImage class]))
|
||||
{
|
||||
icon = [NSImage imageNamed: @"NSApplicationIcon"];
|
||||
|
||||
icon = [NSApp applicationIconImage];
|
||||
if (nil_or_not_of_class (icon, [NSImage class]))
|
||||
icon = [NSApp applicationIconImage];
|
||||
icon = [NSImage imageNamed: @"NSApplicationIcon"];
|
||||
}
|
||||
/* Release */
|
||||
if (dictionary)
|
||||
|
|
Loading…
Reference in a new issue