[squeak-dev] The Inbox: Tools-ael.394.mcz
Aran Lunzer
aranlunzer at gmail.com
Fri Dec 23 08:42:52 UTC 2011
In a FileList there are some operations (such as 'install into new
change set' and 'fileIn entire file', both on a .st file) that can be
invoked from the file list, but on the contents pane lead to a
walkback.
The problem arises from the setup of the contents-pane menu in
FileList>>fileContentsMenu:shifted:, where menu items are connected to
ServiceEntry instances that have an invalid 'served' object.
The relevant bit of the old code is
aMenu
addServices: services
for: self fullName
extraLines: extraLines
which looks like it should be
aMenu
addServices: services
for: self
extraLines: extraLines
...because the served object (the fileList) will be asked its fullName
when the service is invoked.
Aran Lunzer
Viewpoints Research Institute
More information about the Squeak-dev
mailing list
|