[gnome-games] glchess: update texture dir for uninstalled mode to new location



commit 9ac1659d10f0adf2eb843ab7350005accc1ee844
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date:   Wed May 5 00:16:03 2010 +0200

    glchess: update texture dir for uninstalled mode to new location

 glchess/src/lib/defaults.py.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glchess/src/lib/defaults.py.in b/glchess/src/lib/defaults.py.in
index 85d475f..4917749 100644
--- a/glchess/src/lib/defaults.py.in
+++ b/glchess/src/lib/defaults.py.in
@@ -32,7 +32,7 @@ else:
     # Running in uninstalled mode
     APP_DATA_DIR     = os.path.join(root_dir, '../../data')
     SHARED_DATA_DIR  = '.'
-    TEXTURE_DIR      = os.path.join(root_dir, '../../textures')
+    TEXTURE_DIR      = os.path.join(root_dir, '../../data/textures')
     SHARED_IMAGE_DIR = os.path.join(SHARED_DATA_DIR, 'pixmaps')
     UI_DIR           = os.path.join(root_dir, '../../data')
     BASE_DIR         = os.path.join(root_dir, '../../data')



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]