mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 22:10:47 +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
c10bfc152d
commit
21c9e0dca8
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>
|
2009-09-09 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSView.m (-_lockFocusInContext:inRect:): Correct the
|
* Source/NSView.m (-_lockFocusInContext:inRect:): Correct the
|
||||||
|
|
|
@ -282,10 +282,9 @@ new_label (NSString *value)
|
||||||
|
|
||||||
if (nil_or_not_of_class (icon, [NSImage class]))
|
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]))
|
if (nil_or_not_of_class (icon, [NSImage class]))
|
||||||
icon = [NSApp applicationIconImage];
|
icon = [NSImage imageNamed: @"NSApplicationIcon"];
|
||||||
}
|
}
|
||||||
/* Release */
|
/* Release */
|
||||||
if (dictionary)
|
if (dictionary)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue