Browse Source

wxGUI/dbmgr: change button (quit -> close)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54752 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 years ago
parent
commit
6294eb0304
1 changed files with 4 additions and 4 deletions
  1. 4 4
      gui/wxpython/dbmgr/manager.py

+ 4 - 4
gui/wxpython/dbmgr/manager.py

@@ -112,13 +112,13 @@ class AttributeManager(wx.Frame, DbMgrBase):
             wx.CallAfter(self.notebook.SetSelection, 0) # select browse tab
         
         # buttons
-        self.btnQuit   = wx.Button(parent = self.panel, id = wx.ID_EXIT)
-        self.btnQuit.SetToolTipString(_("Close Attribute Table Manager"))
+        self.btnClose   = wx.Button(parent = self.panel, id = wx.ID_CLOSE)
+        self.btnClose.SetToolTipString(_("Close Attribute Table Manager"))
         self.btnReload = wx.Button(parent = self.panel, id = wx.ID_REFRESH)
         self.btnReload.SetToolTipString(_("Reload attribute data (selected layer only)"))
 
         # events
-        self.btnQuit.Bind(wx.EVT_BUTTON,   self.OnCloseWindow)
+        self.btnClose.Bind(wx.EVT_BUTTON,   self.OnCloseWindow)
         self.btnReload.Bind(wx.EVT_BUTTON, self.pages['browse'].OnDataReload)
         self.notebook.Bind(FN.EVT_FLATNOTEBOOK_PAGE_CHANGED, self.OnPageChanged)
         self.Bind(wx.EVT_CLOSE, self.OnCloseWindow)
@@ -139,7 +139,7 @@ class AttributeManager(wx.Frame, DbMgrBase):
         btnSizer = wx.BoxSizer(wx.HORIZONTAL)
         btnSizer.Add(item = self.btnReload, proportion = 1,
                      flag = wx.ALL | wx.ALIGN_RIGHT, border = 5)
-        btnSizer.Add(item = self.btnQuit, proportion = 1,
+        btnSizer.Add(item = self.btnClose, proportion = 1,
                      flag = wx.ALL | wx.ALIGN_RIGHT, border = 5)
 
         mainSizer.Add(item = self.notebook, proportion = 1, flag = wx.EXPAND)