Hello,

i want to give pype a try and what did i see? yeah, it crashed, again and again :D
For me pype runs...
Here the diff (it just remove the icon thing - but its better to have no icons than have no (working) editor...)

so here just the diff..

mfg
403c403
<     #EXT_TO_IMG = {'python':1}
---
>     EXT_TO_IMG = {'python':1}
1370c1370
<             # self.control.SetPageImage(wnum, 
EXT_TO_IMG.get(extns.get(fn.split('.')[-1].lower(), 0), 0))
---
>             self.control.SetPageImage(wnum, 
> EXT_TO_IMG.get(extns.get(fn.split('.')[-1].lower(), 0), 0))
3320c3320
<         # which = EXT_TO_IMG.get(extns.get(text.split('.')[-1].lower(), 0), 0)
---
>         which = EXT_TO_IMG.get(extns.get(text.split('.')[-1].lower(), 0), 0)
3322c3322
<         wxNotebook.AddPage(self, page, text, switch)
---
>         wxNotebook.AddPage(self, page, text, switch, which)
3328c3328
<         # which = EXT_TO_IMG.get(extns.get(text.split('.')[-1].lower(), 0), 0)
---
>         which = EXT_TO_IMG.get(extns.get(text.split('.')[-1].lower(), 0), 0)
3330c3330
<         wxNotebook.InsertPage(self, posn, page, text, switch)
---
>         wxNotebook.InsertPage(self, posn, page, text, switch, which)
3491,3492c3491,3492
<         # which = EXT_TO_IMG.get(extns.get(label.split('.')[-1].lower(), 0), 
0)
<         self.AppendItem(self.rootnode, label)
---
>         which = EXT_TO_IMG.get(extns.get(label.split('.')[-1].lower(), 0), 0)
>         self.AppendItem(self.rootnode, label, which)
3498,3499c3498,3499
<             # which = EXT_TO_IMG.get(extns.get(label.split('.')[-1].lower(), 
0), 0)
<             self.InsertItemBefore(self.rootnode, index, label)
---
>             which = EXT_TO_IMG.get(extns.get(label.split('.')[-1].lower(), 
> 0), 0)
>             self.InsertItemBefore(self.rootnode, index, label, which)

Reply via email to