The Inbox: HelpSystem-Core-ct.161.mcz

[email protected] Sun, 2 Aug 2026 20:56:38 0000
Newsgroups gmane.comp.lang.smalltalk.squeak.general
Message-ID <[email protected]>
Christoph Thiede uploaded a new version of HelpSystem-Core to project The Inbox:
http://source.squeak.org/inbox/HelpSystem-Core-ct.161.mcz

==================== Summary ====================

Name: HelpSystem-Core-ct.161
Author: ct
Time: 2 August 2026, 10:56:38.2225 pm
UUID: aacb7115-df22-41eb-8027-5156ac95e130
Ancestors: HelpSystem-Core-ct.159

Fixes a MNU when trying to drag a help topic away from a parent that doesn't support removal (such as the 'What is New?' topic in the welcome workspaces).

I don't insist on merging this into the release, but we could do...

=============== Diff against HelpSystem-Core-ct.159 ===============

Item was changed:
  ----- Method: HelpBrowser>>wantsToDropItem:type:from:morph:on: (in category 'drag''n''drop') -----
  wantsToDropItem: anObject type: aSymbol from: source morph: aTransferMorph on: parentTopicOrNil
  
  	aSymbol = #helpTopic ifFalse: [^ false].
+ 	(aTransferMorph shouldCopy or: [self currentParentTopic canRemoveSubtopic: anObject])
+ 		ifFalse: [^ false].
  	^ parentTopicOrNil notNil and: [parentTopicOrNil canAddSubtopic: anObject]!

Squeak-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]