Re: [Pharo-users] Turning off Growl notifications

2016-04-16 Thread kmo
Thanks for taking a look. It's not good that there is no easy way. If you are deploying an application to a user you will almost certainly want to run some kind of startup script - and you will want to suppress any messages. Looking at the code I think I can probably overwrite an inform method so

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-16 Thread kmo
As a developer you need to be able to control the program shut down. That is a given. I think I was expecting something like the Dolphin approach but it doesn't exist in pharo. Having to overwrite an existing method is not elegant but it works. A similar issue exists with Growl notifications - I

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-16 Thread Peter Uhnák
What's Doplin's approach? Also adding a configuration option for this situation is rather trivial. On Sat, Apr 16, 2016 at 9:42 AM, kmo wrote: > As a developer you need to be able to control the program shut down. That > is > a given. > > I think I was expecting something like the Dolphin appro

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-16 Thread kmo
The Dolphin approach was described by Estaban earlier in this thread. I've never used Dolphin myself so cannot expand on it. -- View this message in context: http://forum.world.st/Trapping-the-Pharo-window-close-event-tp4890079p4890281.html Sent from the Pharo Smalltalk Users mailing list archi

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-16 Thread Peter Uhnák
Ah, right, that certainly sounds interesting. :) Pharo is yours, so you can add it. :) We already have a SystemAnnouncer so maybe it would be quite easy to add… it might be a nice exercise to get a bit more familiar with the system. Peter On Sat, Apr 16, 2016 at 11:01 AM, kmo wrote: > The Dolp

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-16 Thread kmo
/Pharo is yours, so you can add it. :)/ Yes, but I don't want to add it. I expect it to be there out of the box. I think it's quite enough work for me to add my own code on window close. I don't want to have to write the framework for doing it as well. -- View this message in context: http://

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-16 Thread Damien Pollet
On 16 April 2016 at 11:33, kmo wrote: > /Pharo is yours, so you can add it. :)/ > > Yes, but I don't want to add it. I expect it to be there out of the box. > If you expect a perfect system out of the box, you will never get it. > think it's quite enough work for me to add my own code on windo

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-16 Thread kmo
Well, my reply was rather tongue-in-cheek. I was mocking my own laziness and the laziness of developers like me. But really I have no problem in doing these things for myself. And I hope that soon I will be in a position to contribute to pharo myself. But overriding the close event is something an

Re: [Pharo-users] First impressions, was About Box

2016-04-16 Thread Alistair Grant
On Thu, Apr 14, 2016 at 08:37:39AM +0200, stepharo wrote: > Have a look at the chapter about command handler in Deep into Pharo > because you have all you need > > You can script the loading and execution of expressions easily. > > People like julien, damien at Pharodays started to resume a bette

Re: [Pharo-users] First impressions, was About Box

2016-04-16 Thread Cyril Ferlicot
On Saturday, 16 April 2016, Alistair Grant wrote: > > > Thanks. I had started reading Pharo by Example, but it looks like Deep > into Pharo is more up to date. > > A new version of PBE is almost ready. You can find it at https://ci.inria.fr/pharo-contribution/view/Books/job/UpdatedPharoByExample/

[Pharo-users] RBRefactoring docs

2016-04-16 Thread Peter Uhnák
Hi, is there any documentation for RBRefactoring? Since there are not even class comments the only thing I found is judging from tests. Thanks, Peter

Re: [Pharo-users] Dawn Theme on Pharo 4.0

2016-04-16 Thread Siemen Baader
Hi again, I have cloned the Pharo3DawnTheme on github and updated the installation instructions to work for Pharo 4.0. It is on https://github.com/siemenbaader/Pharo3DawnTheme. Would it be better for the community to use Smalltalkhub, or is Github the new thing people prefer? Have a nice weekend

Re: [Pharo-users] [ANN] Introspect web content (Soup with some GT extensions)

2016-04-16 Thread Siemen Baader
On Thu, Apr 14, 2016 at 1:01 PM, Torsten Bergmann wrote: > Hi, > > I added a few GT inspector extensions to Soup and cleaned up a little bit. > Released as a new version 1.8 of Soup - you will find easily in Catalog > for Pharo 5 or by opening Spotter and entering "Soup" to load. > That is very

[Pharo-users] GTDebugger shortcuts usability

2016-04-16 Thread Peter Uhnák
Hi, I'm getting fed-up with GTDebugger shortcuts since they are completely random. Can we have them more meaningful and/or somehow visible? For now I ended up overriding the labels so I can at least see them... but doing this is also stupid, because I still have to look at them since I cannot re

[Pharo-users] Merging refactoring changes

2016-04-16 Thread Peter Uhnák
Is it possible to merge changesets? For example when I am creating a new class and adding a new instance variable, I would like to see it as one change set, not two. Similarly if I am overriding a method twice, it would be good to see only what actually gets applied. For example ~~~

[Pharo-users] RBAddClassRefactoring ensuring existence

2016-04-16 Thread Peter Uhnák
Hi, is it possible to "ensure" that class exists with RBAddClassRefactoring? Right now RBAddClassRefactoring will throw up if the class already exists. I would like it to create the class if it doesn't exist and just do nothing if it already exists. Is it possible? (if not I will just work arou

Re: [Pharo-users] RBAddClassRefactoring ensuring existence

2016-04-16 Thread Nicolai Hess
2016-04-16 20:59 GMT+02:00 Peter Uhnák : > Hi, > > is it possible to "ensure" that class exists with RBAddClassRefactoring? > > Right now RBAddClassRefactoring will throw up if the class already exists. > > I would like it to create the class if it doesn't exist and just do > nothing if it already

Re: [Pharo-users] [Pharo-dev] GTDebugger shortcuts usability

2016-04-16 Thread Tudor Girba
Hi Peter, Let’s turn this energy into something positive. Please propose a concrete set of default keybindings that you think would work better. In this process, please take into account all keybindings that are already defined in the code editor (it might not be so easy as it appears). Cheers

Re: [Pharo-users] [Pharo-dev] GTDebugger shortcuts usability

2016-04-16 Thread Peter Uhnák
> > Let’s turn this energy into something positive. Please propose a concrete > set of default keybindings that you think would work better. In this > process, please take into account all keybindings that are already defined > in the code editor (it might not be so easy as it appears). > As I've

Re: [Pharo-users] List with Border

2016-04-16 Thread peaslee
> PluggableListMorph>borderStyleToUse > "Answer the borderStyle that should be used for the receiver." > > ^self enabled > ifTrue: [self theme listNormalBorderStyleFor: self] > ifFalse: [self theme listDisabledBorderStyleFor: self] > > If you then look at the different impl

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-16 Thread John Pfersich
> On Apr 16, 2016, at 03:30, Damien Pollet > wrote: > >> On 16 April 2016 at 11:33, kmo wrote: >> /Pharo is yours, so you can add it. :)/ >> >> Yes, but I don't want to add it. I expect it to be there out of the box. > > If you expect a perfect system out of the box, you will never get it.