SOURCES: SystemPreferences-initWithArgs.patch (NEW) - added

aredridel aredridel at pld-linux.org
Thu Nov 20 06:32:28 CET 2008


Author: aredridel                    Date: Thu Nov 20 05:32:28 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- added

---- Files affected:
SOURCES:
   SystemPreferences-initWithArgs.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/SystemPreferences-initWithArgs.patch
diff -u /dev/null SOURCES/SystemPreferences-initWithArgs.patch:1.1
--- /dev/null	Thu Nov 20 06:32:28 2008
+++ SOURCES/SystemPreferences-initWithArgs.patch	Thu Nov 20 06:32:22 2008
@@ -0,0 +1,14 @@
+diff -Nur SystemPreferences-1.0.2.orig/SystemPreferences/main.m SystemPreferences-1.0.2.initWithArgs/SystemPreferences/main.m
+--- SystemPreferences-1.0.2.orig/SystemPreferences/main.m	2007-11-04 13:25:08.000000000 -0700
++++ SystemPreferences-1.0.2.initWithArgs/SystemPreferences/main.m	2008-11-19 21:33:59.000000000 -0700
+@@ -7,6 +7,10 @@
+ int main(int argc, char **argv, char** env)
+ {
+ 	CREATE_AUTORELEASE_POOL (pool);
++#ifdef GS_PASS_ARGUMENTS
++  [NSProcessInfo initializeWithArguments: argv count: argc environment:
++env];
++#endif
+ 	NSApplication *theApp = [NSApplication sharedApplication];  
+ 	createMenu();  
+ 	[theApp setDelegate: [SystemPreferences systemPreferences]];  
================================================================


More information about the pld-cvs-commit mailing list