[GRASS-SVN] r48009 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 31 15:40:50 EDT 2011


Author: martinl
Date: 2011-08-31 12:40:50 -0700 (Wed, 31 Aug 2011)
New Revision: 48009

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py
Log:
wxGUI/GdalImporter: hide extension widget for file mode


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py	2011-08-31 19:28:12 UTC (rev 48008)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py	2011-08-31 19:40:50 UTC (rev 48009)
@@ -1162,7 +1162,8 @@
         self.format.Bind(wx.EVT_CHOICE, self.OnSetFormat)
         self.extension = wx.TextCtrl(parent = self, id = wx.ID_ANY)
         self.extension.Bind(wx.EVT_TEXT, self.OnSetExtension)
-
+        self.extension.Hide()
+        
         if ogr:
             fType = 'ogr'
         else:
@@ -1193,6 +1194,7 @@
                                      size = (75, -1))
         self.extensionText = wx.StaticText(parent = self, id = wx.ID_ANY,
                                            label = _("Extension:"))
+        self.extensionText.Hide()
         
         self._layout()
         



More information about the grass-commit mailing list