1 diff -ur gnustep-gui-0.8.7-orig/Source/Functions.m gnustep-gui-0.8.7/Source/Functions.m
2 --- gnustep-gui-0.8.7-orig/Source/Functions.m 2003-06-13 09:01:10.000000000 -0600
3 +++ gnustep-gui-0.8.7/Source/Functions.m 2003-07-24 17:47:22.000000000 -0600
8 - DPSsetgray(ctxt, NSLightGray);
9 - DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
10 - NSWidth(rect), NSHeight(rect));
11 +// DPSsetgray(ctxt, NSLightGray);
12 +// DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
13 +// NSWidth(rect), NSHeight(rect));
18 DPSrectfill(ctxt, NSMaxX(aRect) - 2., NSMaxY(aRect) - 2., 1., 1.);
21 - DPSsetgray(ctxt, NSLightGray);
22 - DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
23 - NSWidth(rect), NSHeight(rect));
24 +// DPSsetgray(ctxt, NSLightGray);
25 +// DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
26 +// NSWidth(rect), NSHeight(rect));
34 - DPSsetgray(ctxt, NSLightGray);
35 - DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
36 - NSWidth(rect), NSHeight(rect));
37 +// DPSsetgray(ctxt, NSLightGray);
38 +// DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
39 +// NSWidth(rect), NSHeight(rect));
47 - DPSsetgray(ctxt, NSWhite);
48 - DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
49 - NSWidth(rect), NSHeight(rect));
50 +// DPSsetgray(ctxt, NSWhite);
51 +// DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
52 +// NSWidth(rect), NSHeight(rect));
60 - DPSsetgray(ctxt, NSLightGray);
61 - DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
62 - NSWidth(rect), NSHeight(rect));
63 +// DPSsetgray(ctxt, NSLightGray);
64 +// DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
65 +// NSWidth(rect), NSHeight(rect));
69 diff -ur gnustep-gui-0.8.7-orig/Source/NSApplication.m gnustep-gui-0.8.7/Source/NSApplication.m
70 --- gnustep-gui-0.8.7-orig/Source/NSApplication.m 2003-06-13 09:01:11.000000000 -0600
71 +++ gnustep-gui-0.8.7/Source/NSApplication.m 2003-07-24 17:48:30.000000000 -0600
73 _(@"Backend at path %@ doesn't contain the GSBackend class"), path);
74 [backend initializeBackend];
78 + /* hack to load arbitrary bundles - Alexander Malmberg 2002-05-09 */
80 + NSUserDefaults *defs=[NSUserDefaults standardUserDefaults];
81 + NSString *s=[defs stringForKey: @"GUIThemeBundles"];
82 + NSArray *a=[s componentsSeparatedByString: @" "];
84 + NSLog(@"try loading '%@'",s);
87 + NSLog(@"try '%@'\n",[a objectAtIndex: i]);
88 + NSBundle *b=[NSBundle bundleWithPath: [a objectAtIndex: i]];
91 + NSLog(@"Couldn't load theme bundle '%@'!",[a objectAtIndex: i]);
94 + [[[b principalClass] alloc] init];
99 /* GSBackend will be in a separate library, so use the runtime
100 to find the class and avoid an unresolved reference problem */
101 Only in gnustep-gui-0.8.7/Source: NSApplication.m~
102 Only in gnustep-gui-0.8.7/Source: NSApplication.m.orig
103 diff -ur gnustep-gui-0.8.7-orig/Source/NSColor.m gnustep-gui-0.8.7/Source/NSColor.m
104 --- gnustep-gui-0.8.7-orig/Source/NSColor.m 2003-06-13 09:01:11.000000000 -0600
105 +++ gnustep-gui-0.8.7/Source/NSColor.m 2003-07-24 17:47:22.000000000 -0600
107 return systemColorWithName(@"windowFrameTextColor");
110 ++ (void) setColor: (NSColor*) color forKey: (NSString*) key
112 + [systemColors setColor: color forKey: key];
113 + [[systemDict objectForKey: key] recache];
117 ////////////////////////////////////////////////////////////