Changeset 136

Show
Ignore:
Timestamp:
05/24/06 00:16:34 (19 years ago)
Author:
jerome
Message:

Avoids a variable's name clash.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykoticon/trunk/bin/pykoticon

    r132 r136  
    195195            labelid = wx.NewId()     
    196196            varid = wx.NewId() 
    197             label = wx.StaticText(self, labelid, label) 
     197            labelst = wx.StaticText(self, labelid, label) 
    198198            if varname.lower().find("password") != -1 : 
    199199                variable = wx.TextCtrl(self, varid, varvalues.get(varname, ""), style=wx.TE_PASSWORD) 
     
    202202            self.variables.append(variable)     
    203203            hsizer = wx.BoxSizer(wx.HORIZONTAL) 
    204             hsizer.Add(label, 0, wx.ALIGN_CENTER | wx.ALIGN_RIGHT | wx.ALL, 5) 
     204            hsizer.Add(labelst, 0, wx.ALIGN_CENTER | wx.ALIGN_RIGHT | wx.ALL, 5) 
    205205            hsizer.Add(variable, 0, wx.ALIGN_CENTER | wx.ALIGN_LEFT | wx.ALL, 5) 
    206206            vsizer.Add(hsizer, 0, wx.ALIGN_CENTER | wx.ALL, 5)