Mercurial > libervia-backend
diff frontends/src/wix/profile.py @ 587:952322b1d490
Remove trailing whitespaces.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 18 Jan 2013 17:55:34 +0100 |
parents | ca13633d3b6b |
children | 84a6e83157c2 |
line wrap: on
line diff
--- a/frontends/src/wix/profile.py Fri Jan 18 17:55:27 2013 +0100 +++ b/frontends/src/wix/profile.py Fri Jan 18 17:55:34 2013 +0100 @@ -47,24 +47,24 @@ self.sizer.Add(self.notebook, 1, flag=wx.EXPAND) self.SetSizer(self.sizer) self.SetAutoLayout(True) - + #events self.Bind(wx.EVT_CLOSE, self.onClose, self) - + self.MakeModal() self.showData(data) self.Show() def showData(self, data): flags = wx.TE_READONLY - + #General tab generaltab = wx.Panel(self.notebook) sizer = wx.FlexGridSizer(cols=2) sizer.AddGrowableCol(1) generaltab.SetSizer(sizer) generaltab.SetAutoLayout(True) - for field in ['fullname','nick', 'birthday', 'phone', 'website', 'email']: + for field in ['fullname','nick', 'birthday', 'phone', 'website', 'email']: value = data[field] if data.has_key(field) else '' label=wx.StaticText(generaltab, -1, self.name_dict[field]+": ") sizer.Add(label) @@ -80,7 +80,7 @@ sizer.Add(self.ctl_list['avatar'], 0) - + self.notebook.AddPage(generaltab, _("General"))