mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Fix bug #35335
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34599 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ace1561e52
commit
13f1a53070
2 changed files with 13 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-01-20 German Arias <german@xelalug.org>
|
||||
|
||||
* Source/GSInfoPanel.m (-initWithDictionary:): Fix bug #35335.
|
||||
|
||||
2012-01-19 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSCell.m (-setStringValue:, setObjectValue:): Always use
|
||||
|
|
|
@ -282,10 +282,16 @@ new_label (NSString *value)
|
|||
|
||||
if (nil_or_not_of_class (icon, [NSImage class]))
|
||||
{
|
||||
icon = [NSImage imageNamed: @"NSApplicationIcon"];
|
||||
|
||||
icon = [NSImage imageNamed:
|
||||
value_from_info_plist_for_key (@"ApplicationIcon")];
|
||||
|
||||
if (nil_or_not_of_class (icon, [NSImage class]))
|
||||
icon = [NSApp applicationIconImage];
|
||||
{
|
||||
icon = [NSImage imageNamed: @"NSApplicationIcon"];
|
||||
|
||||
if (nil_or_not_of_class (icon, [NSImage class]))
|
||||
icon = [NSApp applicationIconImage];
|
||||
}
|
||||
}
|
||||
/* Release */
|
||||
if (dictionary)
|
||||
|
|
Loading…
Reference in a new issue