Hi,
I've created a patch for GSInfoPanel.
The problem is the current code uses only Info-gnustep.plist and doesn't
check for Info.plist - probably unlike the rest of GNUstep.
The patch not only fixes that, but also somewhat reduces code
duplication by using the dictionary from NSBundle.
Thanks,
--
Luboš Doležel
--- gnustep-gui-0.22.0/Source/GSInfoPanel.m.orig 2012-01-20
07:10:03.000000000 +0100
+++ gnustep-gui-0.22.0/Source/GSInfoPanel.m 2012-10-10 20:20:12.438436137
+0200
@@ -55,12 +55,7 @@
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] infoDictionary];
if (d == nil)
load_failed = YES;
_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev