[GRASS-SVN] r53529 - grass/branches/develbranch_6/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Oct 23 11:13:44 PDT 2012
Author: martinl
Date: 2012-10-23 11:13:43 -0700 (Tue, 23 Oct 2012)
New Revision: 53529
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_core/forms.py
Log:
wxGUI cosmetics: rename internal variable (CamelCase)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_core/forms.py 2012-10-23 18:11:34 UTC (rev 53528)
+++ grass/branches/develbranch_6/gui/wxpython/gui_core/forms.py 2012-10-23 18:13:43 UTC (rev 53529)
@@ -785,11 +785,11 @@
else:
self.goutput = None
- self.manual_tab = HelpPanel(parent = self, grass_command = self.task.name)
- if not self.manual_tab.IsFile():
- self.manual_tab.Hide()
+ self.manualTab = HelpPanel(parent = self, grass_command = self.task.name)
+ if not self.manualTab.IsFile():
+ self.manualTab.Hide()
else:
- self.notebook.AddPage(page = self.manual_tab, text = _("Manual"), name = 'manual')
+ self.notebook.AddPage(page = self.manualTab, text = _("Manual"), name = 'manual')
self.notebook.SetSelection(0)
@@ -1466,8 +1466,8 @@
for section in sections:
tab[section].SetMinSize((self.constrained_size[0], self.panelMinHeight))
- if self.manual_tab.IsLoaded():
- self.manual_tab.SetMinSize((self.constrained_size[0], self.panelMinHeight))
+ if self.manualTab.IsLoaded():
+ self.manualTab.SetMinSize((self.constrained_size[0], self.panelMinHeight))
self.SetSizer(panelsizer)
panelsizer.Fit(self.notebook)
@@ -1603,9 +1603,9 @@
if idx > -1 and sel == idx:
# calling LoadPage() is strangely time-consuming (only first call)
# FIXME: move to helpPage.__init__()
- if not self.manual_tab.IsLoaded():
+ if not self.manualTab.IsLoaded():
wx.Yield()
- self.manual_tab.LoadPage()
+ self.manualTab.LoadPage()
self.Layout()
More information about the grass-commit
mailing list