[GRASS-SVN] r55719 - in grass/branches/releasebranch_6_4/gui/wxpython: dbmgr gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Apr 12 07:16:23 PDT 2013
Author: annakrat
Date: 2013-04-12 07:16:23 -0700 (Fri, 12 Apr 2013)
New Revision: 55719
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/dbmgr/manager.py
grass/branches/releasebranch_6_4/gui/wxpython/gui_core/preferences.py
Log:
wxGUI/dbmgr: workaround for #1633
Modified: grass/branches/releasebranch_6_4/gui/wxpython/dbmgr/manager.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/dbmgr/manager.py 2013-04-12 14:04:54 UTC (rev 55718)
+++ grass/branches/releasebranch_6_4/gui/wxpython/dbmgr/manager.py 2013-04-12 14:16:23 UTC (rev 55719)
@@ -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/releasebranch_6_4/gui/wxpython/gui_core/preferences.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_core/preferences.py 2013-04-12 14:04:54 UTC (rev 55718)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_core/preferences.py 2013-04-12 14:16:23 UTC (rev 55719)
@@ -1026,9 +1026,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