[squeak-dev] The Trunk: MorphicExtras-mt.311.mcz

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Sat Mar 26 15:26:28 UTC 2022

Oops, sorry. Thanks Lauren! :-)



Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von commits at source.squeak.org <commits at source.squeak.org>
Gesendet: Freitag, 11. März 2022 10:23:56
An: squeak-dev at lists.squeakfoundation.org; packages at lists.squeakfoundation.org
Betreff: [squeak-dev] The Trunk: MorphicExtras-mt.311.mcz

Marcel Taeumel uploaded a new version of MorphicExtras to project The Trunk:

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

Name: MorphicExtras-mt.311
Author: mt
Time: 11 March 2022, 10:23:52.103495 am
UUID: ba283975-c297-4148-a39d-1d4e56c16454
Ancestors: MorphicExtras-mt.310, MorphicExtras-lrnp.308

Merges fix from MorphicExtras-lrnp.308 now that #setProperty:toValue: returns the set property and not the receiver anymore. Let's hope that those incidents are rare.

Thanks to Lauren (lrnp) for spotting this!

=============== Diff against MorphicExtras-mt.310 ===============

Item was changed:
  ----- Method: ScrapBook>>scrapBook (in category 'scraps') -----
         | header aButton label |
         ^ book ifNil: [
                 book := BookMorph new pageSize: 300 at 300; setNameTo: 'scraps' translated.
                 book addCornerGrips.
                 book color: Color yellow muchLighter.
                 book borderColor: Color darkGray; borderWidth: 2.
                 book removeEverything; showPageControls; insertPage.

                 header := AlignmentMorph newRow wrapCentering: #center; cellPositioning: #leftCenter.
                 header setProperty: #header toValue: true.
                 header addMorph: (aButton := ThreePhaseButtonMorph labelSymbol: #'Halo-Collapse').
                 aButton target: book;
                         actionSelector: #delete;
                         setBalloonText: 'Close the trashcan.\(to view again later, click on any trashcan).' translated withCRs.
                 header addMorphBack: AlignmentMorph newVariableTransparentSpacer beSticky.
                 header addMorphBack:     (label := UpdatingStringMorph new target: self) beSticky.
                 label getSelector: #trashTitle; useStringFormat; step.
                 header addMorphBack: AlignmentMorph newVariableTransparentSpacer beSticky.
                 header addMorphBack: (aButton := ThreePhaseButtonMorph labelSymbol: #'Halo-Dismiss').
                 aButton target: self;
                         actionSelector: #maybeEmptyTrash;
                         setBalloonText: 'Click here to empty the trash.' translated.
                 book currentPage
                         layoutPolicy: TableLayout new;
                         addMorph: (TextMorph new
                                 contents: 'Objects you drag into the trash will automatically be saved here, one object per page, in case you need them later.  To disable this feature set the "preserveTrash" Preference to false.\\You can individually expunge objects by hitting the "-" control (behind "..."). You can empty out all the objects in the trash can by hitting the "X" button at top right.' translated withCRs;
                                 hResizing: #spaceFill).

                 book addMorphFront: header.
+                book setProperty: #scraps toValue: true.
+                book].!
-                book setProperty: #scraps toValue: true].!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220326/13913365/attachment.html>

More information about the Squeak-dev mailing list