* Source/GSInfoPanel.m (value_from_info_plist_for_key): Use

NSBundle method to get the info dictionary.
Patch by: Luboš Doležel <lubos@dolezel.info>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35673 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2012-10-12 15:19:29 +00:00
parent be389d2459
commit 70baebe674
2 changed files with 7 additions and 7 deletions

View file

@ -1,3 +1,9 @@
2012-10-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSInfoPanel.m (value_from_info_plist_for_key): Use
NSBundle method to get the info dictionary.
Patch by: Luboš Doležel <lubos@dolezel.info>
2012-10-10 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSView.m (addTrackingRect:owner:userData:assumeInside:):
@ -24,7 +30,6 @@
* Source/GSToolTips.m (GSTTProvider): Remove view rectangles from
GSTTProvider class. They are no longer used.
>>>>>>> .r35660
2012-10-04 Wolfgang Lux <wolfgang.lux@gmail.com>
Improve keyboard navigation by automatically computing a key view

View file

@ -55,12 +55,7 @@ value_from_info_plist_for_key (NSString *key)
if ((d == nil) && (load_failed == NO))
{
NSBundle *b;
NSString *f;
b = [NSBundle mainBundle];
f = [b pathForResource: @"Info-gnustep" ofType: @"plist"];
d = [NSDictionary dictionaryWithContentsOfFile: f];
d = [[NSBundle mainBundle] localizedInfoDictionary];
if (d == nil)
load_failed = YES;