On Mon, Jul 19, 2010 at 12:57 PM, Lukas Renggli <[email protected]> wrote:
> How would a choice like > > 'Remove it' > 'Remove, then browse senders' > 'Don''t remove, but show me those senders' > 'Forget it -- do nothing -- sorry I asked' > > be displayed this? This filterable list certainly does not make sense. > > Hi Lukas. Maybe you misunterstood. I was talking ONLY about the discard changes windows. Because it has a TWO cancel option, and an input (to type and subselect items from the menu) that has no sense for two only options. Cheers mariano > Lukas > > 2010/7/19 Mariano Martinez Peck <[email protected]>: > > Thanks Gary, this is much better. > > For me this is perfect: > > > > UIManager default > > confirm: 'Changes have not been saved.' translated withCRs > > trueChoice: 'Save' translated > > falseChoice: 'Discard' translated > > > > Cheers > > > > Mariano > > > > On Mon, Jul 19, 2010 at 12:20 PM, Gary Chambers < > [email protected]> > > wrote: > >> > >> Not a bug in Polymorph as such, just a misuse perhaps. > >> > >> Choices are for lists, Squeak used to use this mechanism even for > yes/not > >> style answers. > >> > >> The better approach for this would be > >> > >> UIManager default > >> confirm: 'Changes have not been saved.\Would you like to save or discard > >> these changes?' translated withCRs > >> trueChoice: 'Save' translated > >> falseChoice: 'Discard' translated > >> > >> Although this has slightly different semantics (but was what Mariano > >> suggested he wanted). > >> To retain the semantics it could look like this instead... > >> > >> UIManager default > >> confirm: 'Changes have not been saved.\Would you like to discard these > >> changes or cancel the navigation?' translated withCRs > >> trueChoice: 'Save' translated > >> falseChoice: 'Cancel' translated > >> > >> Regards, Gary > >> > >> ----- Original Message ----- From: "Lukas Renggli" <[email protected]> > >> To: <[email protected]> > >> Sent: Sunday, July 18, 2010 2:18 PM > >> Subject: Re: [Pharo-project] OBConfirmationRequest without cancel and > >> input > >> > >> > >> That's a bug in Polymorph. I don't know why it displays an input box > >> for simple selections? > >> > >> Lukas > >> > >> 2010/7/18 Mariano Martinez Peck <[email protected]>: > >>> > >>> I even think > >>> > >>> PluggableTextMorph >> promptForCancel > >>> "Ask if it is OK to cancel changes to text" > >>> (self confirm: > >>> 'Changes have not been saved. > >>> Is it OK to cancel those changes?' translated) > >>> ifTrue: [model clearUserEditFlag]. > >>> > >>> > >>> is better ;) > >>> > >>> > >>> On Sun, Jul 18, 2010 at 2:56 PM, Mariano Martinez Peck > >>> <[email protected]> wrote: > >>>> > >>>> sorry, I attach picture. > >>>> > >>>> On Sun, Jul 1orry8, 2010 at 2:56 PM, Mariano Martinez Peck > >>>> <[email protected]> wrote: > >>>>> > >>>>> Hi Lukas. I was taking a look to the OBDefinitionPanel >> > >>>>> aboutToChange: > >>>>> > >>>>> because it sucks for me those popups. > >>>>> First, it has a TWO cancel option, and an input (to type and > subselect > >>>>> items from the menu) that has no sense for two only options. > >>>>> > >>>>> So, I would like something simple. I want a popup with a label: > >>>>> "'Changes > >>>>> have not been saved." and two simple buttons: "save" and "discard". > >>>>> Not hirzontal selection lines, but buttons. > >>>>> > >>>>> I take a look into the methods and hierrarchy of OBInteractionRequest > >>>>> but > >>>>> I didn't find how to do it. > >>>>> > >>>>> Thanks in advance for any hints you can give me. > >>>>> > >>>>> Cheers > >>>>> > >>>>> Mariano > >>>> > >>> > >>> > >>> _______________________________________________ > >>> Pharo-project mailing list > >>> [email protected] > >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > >>> > >> > >> > >> > >> -- > >> Lukas Renggli > >> www.lukas-renggli.ch > >> > >> _______________________________________________ > >> Pharo-project mailing list > >> [email protected] > >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > >> > >> _______________________________________________ > >> Pharo-project mailing list > >> [email protected] > >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > > > > _______________________________________________ > > Pharo-project mailing list > > [email protected] > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > > > > -- > Lukas Renggli > www.lukas-renggli.ch > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >
_______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
