Using Grease can you set the author initials of an image on Squeak and
Pharo? If not is that something that should/could be added ? _______________________________________________ seaside-dev mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev |
You can do it with these two lines:
('Pharo*' match: Smalltalk version) ifTrue:[Author fullName: 'travisci']. ('Squeak*' match: Smalltalk version) ifTrue:[Utilities setAuthorInitials: 'tra']. On 11/11/2012 02:04 PM, Paul DeBruicker wrote: > Using Grease can you set the author initials of an image on Squeak and > Pharo? If not is that something that should/could be added ? > > _______________________________________________ seaside-dev mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev |
In reply to this post by Paul DeBruicker
Hm... could exist if anyone wants it badly enough. Do all platforms even have that concept though?
I'd always imagined that people would feel free to create extension packages (probably appropriately namespaced) for Grease that people could load as needed so that the core could be as small as possible.
On Sun, Nov 11, 2012 at 10:04 PM, Paul DeBruicker <[hidden email]> wrote: Using Grease can you set the author initials of an image on Squeak and Pharo? If not is that something that should/could be added ? _______________________________________________ seaside-dev mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev |
On 11/13/2012 02:58 PM, Julian Fitzell wrote:
> Hm... could exist if anyone wants it badly enough. Do all platforms even > have that concept though? > > I'd always imagined that people would feel free to create extension > packages (probably appropriately namespaced) for Grease that people > could load as needed so that the core could be as small as possible. > I ended up just putting the code I posted to the list in the script where I needed it. I'm glad I sent it to the list so I could google for it when I'd forgotten how to do it in the future. I don't think its necessary or advisable to add it to Grease and I don't know if all platforms have that concept. I agree about keeping the core small. So I'd say my issue is a non issue at this point. _______________________________________________ seaside-dev mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev |
In reply to this post by Julian Fitzell-2
On 11/13/2012 02:58 PM, Julian Fitzell wrote:
> Hm... could exist if anyone wants it badly enough. Do all platforms even > have that concept though? > > I'd always imagined that people would feel free to create extension > packages (probably appropriately namespaced) for Grease that people > could load as needed so that the core could be as small as possible. I forgot to mention that the reason setting the Author with Grease came up is because when the GRPharoPlatformTests>>#testCompileIntoClassified is run a dialog pops up asking to specify the Author which happens on Squeak and Pharo. Not sure about the other platforms. _______________________________________________ seaside-dev mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev |
Have a look in WAWelcomeAuthorNamePrompter>>#handleAuthorNameSubmission
It uses GRPlatform current seasideSetAuthorName: self authorName. I made a different package for Squeak and Pharo as they handle author naming setting differently
On 14 November 2012 00:21, Paul DeBruicker <[hidden email]> wrote:
_______________________________________________ seaside-dev mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev |
Free forum by Nabble | Edit this page |