I have dusted off an old computer and loaded it with an old linux
distro (ubuntu 6/10), so that I can test rclick on linux.

Unfortunately there were a few significant bugs.  Never mind, they
were easily fixed.

Some of the problems were generic to tk on linux so I have taken steps
to improve (I hope) popup menu handling in general.

I have added two methods to g.app.gui, killPopupMenu and
postPopupMenu. I have also made mods to the standard leo tree popup
and to cleo's popup menu to use these central methods.  rClick also
uses them obviously.  I have placed a couple of killPopupMenu calls in
other strategic places also.

cleo, rClick and the standard tree popup now all work nicely
together.  There is room for improvement and as these will be made to
the global methods, all three systems will benefit from any
improvement.

I have not included the log tab menus yet, but I will soon.  cleo,
rclick, tree popups use disposable menus, this is required by the
killPopupMenu/postPopupMenu functions, the log tab menus are permanant
and so that will have to change.

I'll also add optional rclick menus for the log tabs soon.

I hope these changes are not too drastic.  I may need some guidance as
to the sort of unit tests I need to add for these mods, I am new to
unit tests, especially in such a complex system as leo.

Bob









--~--~---------~--~----~------------~-------~--~----~
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