[GRASS-SVN] r35506 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 20 14:23:26 EST 2009


Author: martinl
Date: 2009-01-20 14:23:26 -0500 (Tue, 20 Jan 2009)
New Revision: 35506

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py
Log:
wxGUI: trac #448
      (merge from trunk, r35504)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py	2009-01-20 19:21:43 UTC (rev 35505)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py	2009-01-20 19:23:26 UTC (rev 35506)
@@ -481,7 +481,7 @@
         self.notebook = FN.FlatNotebook(parent=self.panel, id=wx.ID_ANY,
                                         style=FN.FNB_BOTTOM |
                                         FN.FNB_NO_NAV_BUTTONS |
-                                        FN.FNB_FANCY_TABS)
+                                        FN.FNB_FANCY_TABS | FN.FNB_NO_X_BUTTON)
 
         dbmStyle = globalvar.FNPageStyle
 
@@ -3314,13 +3314,14 @@
         Return line id or None if no line is found"""
         line = None
         nselected = 0
+        
         cmdWhat = gcmd.Command(cmd=['v.what',
                                    '-a', '--q',
                                     'map=%s' % self.map,
                                     'east_north=%f,%f' % \
                                         (float(queryCoords[0]), float(queryCoords[1])),
                                     'distance=%f' % qdist], stderr=None)
-
+        
         data = {}
         if cmdWhat.returncode == 0:
             readAttrb = False



More information about the grass-commit mailing list