[GRASS-SVN] r55753 - in grass/branches/develbranch_6/gui/wxpython: dbmgr gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Apr 13 07:58:41 PDT 2013


Author: annakrat
Date: 2013-04-13 07:58:41 -0700 (Sat, 13 Apr 2013)
New Revision: 55753

Modified:
   grass/branches/develbranch_6/gui/wxpython/dbmgr/manager.py
   grass/branches/develbranch_6/gui/wxpython/gui_core/preferences.py
Log:
wxGUI/dbmgr: workaround for #1633 (merged from releasebranch, r55719)

Modified: grass/branches/develbranch_6/gui/wxpython/dbmgr/manager.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/dbmgr/manager.py	2013-04-13 14:57:47 UTC (rev 55752)
+++ grass/branches/develbranch_6/gui/wxpython/dbmgr/manager.py	2013-04-13 14:58:41 UTC (rev 55753)
@@ -184,7 +184,8 @@
         cmdParams = dict(quiet = True,
                          parent = self,
                          flags = 'c')
-        if sys.platform != "win32":
+        # pipe must not be given in the params for windows
+        if not (sys.platform == "win32" and fs == '|'):
             cmdParams.update(dict(fs = fs))
 
         if sql:

Modified: grass/branches/develbranch_6/gui/wxpython/gui_core/preferences.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_core/preferences.py	2013-04-13 14:57:47 UTC (rev 55752)
+++ grass/branches/develbranch_6/gui/wxpython/gui_core/preferences.py	2013-04-13 14:58:41 UTC (rev 55753)
@@ -1024,9 +1024,6 @@
 
         flexSizer.Add(label, proportion = 0, flag = wx.ALIGN_CENTER_VERTICAL)
         flexSizer.Add(separator, proportion = 0, flag = wx.ALIGN_RIGHT | wx.FIXED_MINSIZE)
-        if sys.platform == "win32":
-            label.Hide()
-            separator.Hide()
 
         # ask on delete record
         askOnDeleteRec = wx.CheckBox(parent = panel, id = wx.ID_ANY,



More information about the grass-commit mailing list