From a9b4571e2e23ad165436cb2ccc79d18083882091 Mon Sep 17 00:00:00 2001 From: Pierre Ratinaud Date: Sat, 19 Jul 2014 01:44:53 +0200 Subject: [PATCH] ... --- ProfList.py | 2 +- guifunct.py | 4 ++-- layout.py | 2 +- profile_segment.py | 2 +- textafcuci.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ProfList.py b/ProfList.py index e882f7e..5e58a99 100644 --- a/ProfList.py +++ b/ProfList.py @@ -795,7 +795,7 @@ class ProfListctrlPanel(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.Col class wliste(wx.Frame): def __init__(self, parent, id, title, d, fline, size=(600, 500)): wx.Frame.__init__(self, parent, id) - self.liste = ListForSpec(self, parent, d, fline, menu = False) + self.liste = ListForSpec(self, parent, d, fline[1:], menu = False) self.button_1 = wx.Button(self, -1, "Fermer") self.Bind(wx.EVT_BUTTON, self.OnCloseMe, self.button_1) self.Bind(wx.EVT_CLOSE, self.OnCloseWindow) diff --git a/guifunct.py b/guifunct.py index ef718c0..47f49db 100644 --- a/guifunct.py +++ b/guifunct.py @@ -115,7 +115,7 @@ class SelectColumn : self.ira = parent if dlg : dial = dialog.SelectColDial(self.ira) - listcol = ListForSpec(dial, self, dictcol, ['forme', 'eff']) + listcol = ListForSpec(dial, self, dictcol, ['eff']) dial.bSizer2.Add( listcol, 2, wx.ALL|wx.EXPAND, 5 ) dial.m_sdbSizer2.AddButton( dial.m_sdbSizer2OK ) dial.m_sdbSizer2.AddButton( dial.butok) @@ -167,7 +167,7 @@ class PrefSimi ( wx.Dialog ): bSizer16 = wx.BoxSizer( wx.HORIZONTAL ) if wordlist is not None : - self.listcol = ListForSpec(self, self, wordlist, ['forme', 'eff']) + self.listcol = ListForSpec(self, self, wordlist, ['eff']) self.listcol.SetMinSize( wx.Size( 270,-1 ) ) bSizer16.Add( self.listcol, 0, wx.ALL|wx.EXPAND, 5 ) if selected is None : diff --git a/layout.py b/layout.py index 2c3f41c..aa09840 100644 --- a/layout.py +++ b/layout.py @@ -469,7 +469,7 @@ class OpenCHDS(): if os.path.exists(self.DictPathOut['afc_facteur']) : dictrow, first = ReadList(self.DictPathOut['afc_facteur'], self.encoding) - self.TabAFC_facteur = ListForSpec(self.parent, parametres, dictrow, first) + self.TabAFC_facteur = ListForSpec(self.parent, parametres, dictrow, first[1:]) #dictrow, first = ReadList(self.DictPathOut['afc_row'], self.encoding) #self.TabAFC_ligne = ListForSpec(self.parent, self.parametres, dictrow, first) #dictrow, first = ReadList(self.DictPathOut['afc_col'], self.encoding) diff --git a/profile_segment.py b/profile_segment.py index b7e1f24..b0ca4c4 100644 --- a/profile_segment.py +++ b/profile_segment.py @@ -146,7 +146,7 @@ class ProfilType() : prof_seg_nb.AddPage(ntab, 'classe %i' % (i + 1)) else : self.DictSpec, first = ReadList(self.outprof) - self.ListPan = ListForSpec(self.parent, self, self.DictSpec, first) + self.ListPan = ListForSpec(self.parent, self, self.DictSpec, first[1:]) prof_seg_nb.AddPage(self.ListPan, u'Spécificités') page.AddPage(prof_seg_nb, u'Profils des types') diff --git a/textafcuci.py b/textafcuci.py index d030413..bdfad06 100644 --- a/textafcuci.py +++ b/textafcuci.py @@ -108,7 +108,7 @@ class AfcUci(): #self.TabAfcSplit.SetPage(txtafcsplit) dictrow, first = ReadList(self.corpus.dictpathout['afc_row']) - panel_list = ListForSpec(parent, self, dictrow, first) + panel_list = ListForSpec(parent, self, dictrow, first[1:]) -- 2.7.4