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 ?
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 ?
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 pdebruic@gmail.comwrote:
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 seaside-dev@lists.**squeakfoundation.orgseaside-dev@lists.squeakfoundation.org http://lists.squeakfoundation.**org/mailman/listinfo/seaside-**devhttp://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.
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.
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 pdebruic@gmail.com wrote:
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 seaside-dev@lists.**squeakfoundation.orgseaside-dev@lists.squeakfoundation.org http://lists.squeakfoundation.**org/mailman/listinfo/seaside-**devhttp://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
seaside-dev@lists.squeakfoundation.org