Ed Leafe wrote:
On Oct 26, 2006, at 7:50 AM, Basil Shubin wrote:
After I patched the Dabo with you patch, I got the following error
when click on column labels:
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/Dabo-0.6.5s-py2.4.egg/dabo/lib/eventMixin.py",
line 87, in raiseEvent
bindingFunction(event)
File
"/usr/lib/python2.4/site-packages/Dabo-0.6.5s-py2.4.egg/dabo/ui/uiwx/dGrid.py",
line 2746, in _onGridHeaderMouseRightClick
help=_("Autosize the column based on the data in the column."))
File
"/usr/lib/python2.4/site-packages/Dabo-0.6.5s-py2.4.egg/dabo/ui/uiwx/dMenu.py",
line 184, in append
item = self._getItem(bindfunc, help, bmp, menutype, **kwargs)
File
"/usr/lib/python2.4/site-packages/Dabo-0.6.5s-py2.4.egg/dabo/ui/uiwx/dMenu.py",
line 284, in _getItem
itmtyp = self._getItemType(menutype)
File
"/usr/lib/python2.4/site-packages/Dabo-0.6.5s-py2.4.egg/dabo/ui/uiwx/dMenu.py",
line 311, in _getItemType
if self.Application.Platform != "GTK":
AttributeError: 'NoneType' object has no attribute 'Platform'
This is what I think will make such a project nearly impossible.
There is a standard design in the way that Dabo classes work, and these
assumptions are all throughout the code base.
I agree that it would be way cool to be able to be able to drop
dabo.ui controls into non-Dabo environments, but I'm afraid that the
amount of re-writing would be way too great to attempt it right now.
We're trying to get a stable 0.7 release out, and it really isn't the
time to be tearing up all of the code.
Agreed, but if someone else is willing to do the work and it doesn't
break Dabo, I'm willing to answer questions, commit patches and such.
--
pkm ~ http://paulmcnett.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users