Author: saq                          Date: Wed Feb 16 22:46:47 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- look for pixmaps where they're installed

---- Files affected:
SOURCES:
   nle-pixmapsdir.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/nle-pixmapsdir.patch
diff -u /dev/null SOURCES/nle-pixmapsdir.patch:1.1
--- /dev/null   Wed Feb 16 23:46:47 2005
+++ SOURCES/nle-pixmapsdir.patch        Wed Feb 16 23:46:42 2005
@@ -0,0 +1,27 @@
+diff -u nle/src.orig/main.c nle/src/main.c
+--- nle/src.orig/main.c        2000-06-12 10:05:01.000000000 +0200
++++ nle/src/main.c     2005-02-16 23:40:14.882658080 +0100
+@@ -12,13 +12,6 @@
+ #include "interface.h"
+ #include "support.h"
+ 
+-#ifndef PACKAGE_DATA_DIR
+-#define PACKAGE_DATA_DIR /usr/share/nle
+-#endif
+-#ifndef PACKAGE_SOURCE_DIR
+-#define PACKAGE_SOURCE_DIR /usr/share/nle
+-#endif
+-
+ int
+ main (int argc, char *argv[])
+ {
+@@ -27,8 +20,7 @@
+   gtk_set_locale ();
+   gtk_init (&argc, &argv);
+ 
+-  add_pixmap_directory (PACKAGE_DATA_DIR "/pixmaps");
+-  add_pixmap_directory (PACKAGE_SOURCE_DIR "/pixmaps");
++  add_pixmap_directory ("/usr/share/pixmaps/nle");
+ 
+   /*
+    * The following code was added by Glade to create one of each component
================================================================

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to