The main content is related to the 'localization' of getStatus
(which was considered generally a 'good idea').

Most of the change is related to reverse logic by switching from a
'disabled' flag to an 'enabled' flag.

The rationale is simply that an inset will know what kind of LFUNs it is
willing to handle (after all there needs to be an handler in
distpatch()), but not which ones it won't handle. (The set of LFUNs is
not constant after all).

So the rule now is fairly simple: Whenever an inset handles an LFUN in
its dispatch(), it has to have a related entry in its getStatus()
function which 'enables' the LFUN (maybe under certain restrictions...)

[Maybe there's a way to avoid this switch duplication, but right now I
am happy enough with the 'getStatus localization' and don't look at
cosmetics too hard.]

Andre'

Attachment: 4.diff.gz
Description: application/gunzip

Reply via email to