mailr13993 - /branches/gui_testing/gui/relax_gui.py


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

Header


Content

Posted by edward on July 29, 2011 - 14:34:
Author: bugman
Date: Fri Jul 29 14:34:31 2011
New Revision: 13993

URL: http://svn.gna.org/viewcvs/relax?rev=13993&view=rev
Log:
Improvements to the wildcards for the relax save state file dialogs.

There is now a separation between the compressed *.bz2 *.gz files and the 
'All files' entry for
selecting an uncompressed version.


Modified:
    branches/gui_testing/gui/relax_gui.py

Modified: branches/gui_testing/gui/relax_gui.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/relax_gui.py?rev=13993&r1=13992&r2=13993&view=diff
==============================================================================
--- branches/gui_testing/gui/relax_gui.py (original)
+++ branches/gui_testing/gui/relax_gui.py Fri Jul 29 14:34:31 2011
@@ -202,7 +202,7 @@
         """
 
         # The dialog.
-        dialog = RelaxFileDialog(parent=self, message='Select the relax save 
state file', defaultFile='state.bz2', wildcard='relax save files (*.bz2, 
*.gz, *)|*.bz2;*.gz;*', style=wx.FD_SAVE)
+        dialog = RelaxFileDialog(parent=self, message='Select the relax save 
state file', defaultFile='state.bz2', wildcard='relax save files 
(*.bz2;*.gz)|*.bz2;*.gz|All files (*)|*', style=wx.FD_SAVE)
 
         # Show the dialog and catch if no file has been selected.
         if dialog.ShowModal() != wx.ID_OK:
@@ -437,7 +437,7 @@
 
         # Open the dialog.
         if not file_name:
-            dialog = RelaxFileDialog(parent=self, message='Select the relax 
save state file', defaultFile='state.bz2', wildcard='relax save files (*.bz2, 
*.gz, *)|*.bz2;*.gz;*', style=wx.FD_OPEN)
+            dialog = RelaxFileDialog(parent=self, message='Select the relax 
save state file', defaultFile='state.bz2', wildcard='relax save files 
(*.bz2;*.gz)|*.bz2;*.gz|All files (*)|*', style=wx.FD_OPEN)
 
             # Show the dialog and catch if no file has been selected.
             if dialog.ShowModal() != wx.ID_OK:




Related Messages


Powered by MHonArc, Updated Fri Jul 29 15:20:03 2011