mailr10697 - /branches/bieri_gui/gui_bieri/settings.py


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

Header


Content

Posted by edward on February 16, 2010 - 09:43:
Author: bugman
Date: Tue Feb 16 09:43:14 2010
New Revision: 10697

URL: http://svn.gna.org/viewcvs/relax?rev=10697&view=rev
Log:
Option to load a sequence file was added back to the settings.

This settings_patch patch was attached to https://gna.org/task/?6847 by 
Michael
Bieri (https://gna.org/users/michaelbieri), in the zip file patches.zip
(https://gna.org/support/download.php?file_id=8122).


Modified:
    branches/bieri_gui/gui_bieri/settings.py

Modified: branches/bieri_gui/gui_bieri/settings.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/settings.py?rev=10697&r1=10696&r2=10697&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/settings.py (original)
+++ branches/bieri_gui/gui_bieri/settings.py Tue Feb 16 09:43:14 2010
@@ -27,6 +27,7 @@
 import wx
 
 # relax GUI module imports.
+from filedialog import openfile
 from paths import IMAGE_PATH
 
 
@@ -51,7 +52,7 @@
 
 
 def load_sequence(self):
-    seqfile = openfile('Choose Sequence File', sys.path[-1], 
'save.relaxGUI', 'relaxGUI files (*.relaxGUI)|*.relaxGUI|all files (*.*)|*.*')
+    seqfile = openfile('Choose Sequence File', sys.path[-1], '', 'all files 
(*.*)|*.*')
     return seqfile
 
 




Related Messages


Powered by MHonArc, Updated Tue Feb 16 10:40:02 2010