1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/editors/py-room/files/patch-PyRoom-preferences.py
Dmitry Marakasov b5c6ec6bd2 - Fix paths to icon and executable in .desktop file
- Fix LOCALBASE/PREFIX misuse

PR:		143296
Submitted by:	Anatoly Borodin <anatoly.borodin@gmail.com>
Approved by:	Alexander Best <alexbestms@wwu.de> (maintainer)
Feature safe:	yes
2010-02-17 17:06:53 +00:00

12 lines
615 B
Python

--- PyRoom/preferences.py 2009-11-13 03:57:27.000000000 +0100
+++ PyRoom/preferences.py 2009-11-13 03:57:44.000000000 +0100
@@ -95,7 +95,7 @@
self.conf_dir = os.path.join(config_home, 'pyroom')
self.data_dir = os.path.join(data_home, 'pyroom')
self.themes_dir = os.path.join(self.data_dir, 'themes')
- self.global_themes_dir = '/usr/share/pyroom/themes'
+ self.global_themes_dir = '%%PREFIX%%/share/pyroom/themes'
# if we are not using a global installation,
# take the themes directly from sources
if not os.path.isdir(self.global_themes_dir) :