mailr11052 - /branches/bieri_gui/gui_bieri/paths.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on March 29, 2010 - 11:40:
Author: bugman
Date: Mon Mar 29 11:40:31 2010
New Revision: 11052

URL: http://svn.gna.org/viewcvs/relax?rev=11052&view=rev
Log:
Path fix for the relax installation directory.

This corresponds to the shifting of this string into __main__.install_path at 
r11000 of the 1.3
line.  This problem was identified by Michael Bieri at
https://mail.gna.org/public/relax-devel/2010-03/msg00060.html (Message-id:
<4BAFE29C.7090907@xxxxxxxxxxxxx>).


Modified:
    branches/bieri_gui/gui_bieri/paths.py

Modified: branches/bieri_gui/gui_bieri/paths.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/paths.py?rev=11052&r1=11051&r2=11052&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/paths.py (original)
+++ branches/bieri_gui/gui_bieri/paths.py Mon Mar 29 11:40:31 2010
@@ -28,13 +28,14 @@
 """
 
 # Python module imports.
+import __main__
 from os import sep
 import sys
 
 
 # GUI image and icon paths.
-ICON_PATH = sys.path[0]+sep+'gui_bieri'+sep+'oxygen_icons'+sep
-IMAGE_PATH = sys.path[0]+sep+'gui_bieri'+sep+'images'+sep
+ICON_PATH = __main__.install_path +sep+'gui_bieri'+sep+'oxygen_icons'+sep
+IMAGE_PATH = __main__.install_path +sep+'gui_bieri'+sep+'images'+sep
 
 # 16x16 icons.
 ABOUT_RELAX_ICON = IMAGE_PATH + 'relax_16x16.png'




Related Messages


Powered by MHonArc, Updated Thu Apr 01 00:00:04 2010