blob: 81bdbca64ea929fdaa0435f337c0e8e82afadd3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Index: work/usr/share/xplanetFX/xplanetFX_gtk
===================================================================
--- work.orig/usr/share/xplanetFX/xplanetFX_gtk
+++ work/usr/share/xplanetFX/xplanetFX_gtk
@@ -60,7 +60,7 @@ sys.path.insert(0, basedir)
class GUI():
"""This class is a GUI for xplanetFX"""
- _VERSION = open(os.path.join(sys.path[0], 'version')).read().strip()
+ _VERSION = open('/usr/share/xplanetFX/version').read().strip()
_TITLE = "xplanetFX " + _VERSION
_XFX_PATH = os.path.expanduser("~") + "/.xplanetFX"
_THEME_PATH = os.path.join(_XFX_PATH, "templates")
|