Author: bugman Date: Thu Aug 4 16:24:33 2011 New Revision: 14138 URL: http://svn.gna.org/viewcvs/relax?rev=14138&view=rev Log: Fix for the grace.view user function GUI page - the directory is set to None. Without this, the directory would be set to 'grace' and prepended to the absolute path of 'file'! Modified: branches/gui_testing/gui/user_functions/grace.py Modified: branches/gui_testing/gui/user_functions/grace.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/user_functions/grace.py?rev=14138&r1=14137&r2=14138&view=diff ============================================================================== --- branches/gui_testing/gui/user_functions/grace.py (original) +++ branches/gui_testing/gui/user_functions/grace.py Thu Aug 4 16:24:33 2011 @@ -119,7 +119,7 @@ grace_exe = gui_to_str(self.grace_exe.GetValue()) # Open the file. - self.gui.interpreter.grace.view(file=file, grace_exe=grace_exe) + self.gui.interpreter.grace.view(file=file, dir=None, grace_exe=grace_exe)