mailr16419 - /branches/uf_redesign/graphics/__init__.py


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

Header


Content

Posted by edward on May 23, 2012 - 19:50:
Author: bugman
Date: Wed May 23 19:50:55 2012
New Revision: 16419

URL: http://svn.gna.org/viewcvs/relax?rev=16419&view=rev
Log:
Bug fix for the graphics.fetch_icon() method.

This was not returning the full path, just the relative path.  This results 
in the failure to find
and load the icons when relax is run from any directory other than the 
installed directory.


Modified:
    branches/uf_redesign/graphics/__init__.py

Modified: branches/uf_redesign/graphics/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/graphics/__init__.py?rev=16419&r1=16418&r2=16419&view=diff
==============================================================================
--- branches/uf_redesign/graphics/__init__.py (original)
+++ branches/uf_redesign/graphics/__init__.py Wed May 23 19:50:55 2012
@@ -60,7 +60,7 @@
         return None
 
     # Initialise the path.
-    path = 'graphics' + sep
+    path = status.install_path + sep + 'graphics' + sep
 
     # Split up the icon code.
     elements = split(icon, '.')




Related Messages


Powered by MHonArc, Updated Wed May 23 20:20:07 2012