mailr20648 - /trunk/docs/latex/fetch_docstrings.py


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

Header


Content

Posted by edward on August 20, 2013 - 21:15:
Author: bugman
Date: Tue Aug 20 21:15:14 2013
New Revision: 20648

URL: http://svn.gna.org/viewcvs/relax?rev=20648&view=rev
Log:
Fix for bug #21042 (https://gna.org/bugs/?21042).

The docs/latex/fetch_docstrings.py now asks the graphics.fetch_icon() 
function for the relative path
to the icon rather than the absolute path.


Modified:
    trunk/docs/latex/fetch_docstrings.py

Modified: trunk/docs/latex/fetch_docstrings.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/docs/latex/fetch_docstrings.py?rev=20648&r1=20647&r2=20648&view=diff
==============================================================================
--- trunk/docs/latex/fetch_docstrings.py (original)
+++ trunk/docs/latex/fetch_docstrings.py Tue Aug 20 21:15:14 2013
@@ -258,14 +258,14 @@
 
         # Add the user function class icon.
         if self.uf_class:
-            icon = fetch_icon(self.uf_class.gui_icon, size='128x128', 
format=None)
+            icon = fetch_icon(self.uf_class.gui_icon, size='128x128', 
format=None, full_path=False)
             if icon:
                 self.file.write("\includegraphics[bb=0 0 18 18]{%s} \hfill " 
% icon)
             else:
                 self.file.write("\hfill ")
 
         # Add the user function icon.
-        icon = fetch_icon(self.uf.gui_icon, size='128x128', format=None)
+        icon = fetch_icon(self.uf.gui_icon, size='128x128', format=None, 
full_path=False)
         if icon:
             self.file.write("\includegraphics[bb=0 0 18 18]{%s}\n" % icon)
         else:




Related Messages


Powered by MHonArc, Updated Tue Aug 20 21:20:02 2013