Author: bugman
Date: Tue May  8 19:22:32 2012
New Revision: 16122

URL: http://svn.gna.org/viewcvs/relax?rev=16122&view=rev
Log:
Fix for the Molmol wizard graphic paths.


Modified:
    branches/uf_redesign/user_functions/molmol.py

Modified: branches/uf_redesign/user_functions/molmol.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/molmol.py?rev=16122&r1=16121&r2=16122&view=diff
==============================================================================
--- branches/uf_redesign/user_functions/molmol.py (original)
+++ branches/uf_redesign/user_functions/molmol.py Tue May  8 19:22:32 2012
@@ -22,6 +22,9 @@
 
 # Module docstring.
 """Module containing the 'molmol' user function data for interacting with 
Molmol."""
+
+# Python module imports.
+from os import sep
 
 # relax module imports.
 import colour
@@ -49,7 +52,7 @@
 uf.menu_text = "clear_&history"
 uf.wizard_size = (600, 300)
 uf.wizard_apply_button = False
-uf.wizard_image = WIZARD_IMAGE_PATH + 'molmol.png'
+uf.wizard_image = WIZARD_IMAGE_PATH + 'molmol' + sep + 'molmol_logo.png'
 
 
 # The molmol.command user function.
@@ -73,7 +76,7 @@
 uf.backend = molmol.command
 uf.menu_text = "&command"
 uf.wizard_size = (700, 400)
-uf.wizard_image = WIZARD_IMAGE_PATH + 'molmol.png'
+uf.wizard_image = WIZARD_IMAGE_PATH + 'molmol' + sep + 'molmol_logo.png'
 
 
 # The molmol.macro_apply user function.
@@ -158,7 +161,7 @@
 uf.gui_icon = "relax.molmol"
 uf.wizard_size = (1000, 750)
 uf.wizard_height_desc = 400
-uf.wizard_image = WIZARD_IMAGE_PATH + 'molmol.png'
+uf.wizard_image = WIZARD_IMAGE_PATH + 'molmol' + sep + 'molmol_logo.png'
 
 
 # The molmol.macro_run user function.
@@ -195,7 +198,7 @@
 uf.menu_text = "macro_&run"
 uf.gui_icon = "oxygen.actions.document-open"
 uf.wizard_size = (700, 400)
-uf.wizard_image = WIZARD_IMAGE_PATH + 'molmol.png'
+uf.wizard_image = WIZARD_IMAGE_PATH + 'molmol' + sep + 'molmol_logo.png'
 
 
 # The molmol.macro_write user function.
@@ -303,7 +306,7 @@
 uf.gui_icon = "oxygen.actions.document-save"
 uf.wizard_size = (1000, 750)
 uf.wizard_height_desc = 350
-uf.wizard_image = WIZARD_IMAGE_PATH + 'molmol.png'
+uf.wizard_image = WIZARD_IMAGE_PATH + 'molmol' + sep + 'molmol_logo.png'
 
 
 # The molmol.ribbon user function.
@@ -328,7 +331,7 @@
 uf.wizard_size = (700, 500)
 uf.wizard_height_desc = 450
 uf.wizard_apply_button = False
-uf.wizard_image = WIZARD_IMAGE_PATH + 'molmol.png'
+uf.wizard_image = WIZARD_IMAGE_PATH + 'molmol' + sep + 'molmol_logo.png'
 
 
 # The molmol.tensor_pdb user function.
@@ -380,7 +383,7 @@
 uf.wizard_size = (1000, 700)
 uf.wizard_height_desc = 450
 uf.wizard_apply_button = False
-uf.wizard_image = WIZARD_IMAGE_PATH + 'molmol.png'
+uf.wizard_image = WIZARD_IMAGE_PATH + 'molmol' + sep + 'molmol_logo.png'
 
 
 # The molmol.view user function.
@@ -397,4 +400,4 @@
 uf.menu_text = "&view"
 uf.wizard_size = (600, 300)
 uf.wizard_apply_button = False
-uf.wizard_image = WIZARD_IMAGE_PATH + 'molmol.png'
+uf.wizard_image = WIZARD_IMAGE_PATH + 'molmol' + sep + 'molmol_logo.png'


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to