a quick try with the new widget.py on Debian 6, works well for me..
On Feb 26, 11:34 am, José L. <[email protected]> wrote: > On Saturday, February 26, 2011 7:29:09 PM UTC+1, Massimo Di Pierro wrote: > > > Thanks, > > your fix is in trunk. > > > I'd like to see the gtk version and I am ok to you adding it to trunk > > but Ido not think we should add a new dependence. > > I've uploaded the module widget.py and its diff with current stable version > (1.92.1) to it tohttp://people.debian.org/~jredrejo/web2py/ > > In fact, it doesn't add a new dependency: if you have gtk installed it will > run, otherwise it will try it with Tkinter or console if tk is not available > either. > > Most linux desktops have gtk available so, the look is much better. For the > Debian package I'm adding python-gtk2 | python-tk as recommended packages, > not dependencies. > > It's almost finished, only the update_canvas method is still in work. > > Also, I don't see the purpose of the update(self, text) method > in web2pyDialog, so I haven't translated it into the gtk class. Tell me if > it's needed. > > Regards. > José L. > > > Massimo

