On Mon, 24 Nov 2008 08:56:08 +1800
"Kent Tenney" <[EMAIL PROTECTED]> wrote:
>
> On Mon, Nov 17, 2008 at 9:51 AM, Edward K. Ream <[EMAIL PROTECTED]>
> wrote:

> >>  File "/home/ktenney/src/leo-editor/leo/core/leoMenu.py", line
> >> 1655, in deleteRecentFilesMenuItems
> >>    self.delete_range(menu,0,toDrop)
> >>  File "/home/ktenney/src/leo-editor/leo/core/leoTkinterMenu.py",
> >> line 125, in delete_range
> >>    return menu.delete(n1,n2)
> >>  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 2681, in delete
> >>    if 'command' in self.entryconfig(i):
> >>  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 2693, in
> >> entryconfigure return self._configure(('entryconfigure', index),
> >> cnf, kw) File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1196,
> >> in _configure cnf[x[0][1:]] = (x[0][1:],) + x[1:]
> >> TypeError: can only concatenate tuple (not "str") to tuple
> >
> > Funny what we remember.  I'm pretty sure that I never have used the
> > 'toDrop' identifier, so I suspect this has been caused by a recent
> > change from somebody else.  I'll fix this asap.
> 
> I'm still seeing it.

I think it may be code I wrote, but not recently.  The recent part
might come from changes in tk perhaps.  I had a lot of trouble getting
clean deletion of just the right parts of the recent files menu when I
added the clean and sort recent files menu options, although I can't
remember exactly what the issue was, but something with the tk bindings.

I wonder how that code's working in qt - not, I'd guess.

Will try and take a look at it.

Cheers -Terry

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to