Ethereal-dev: RE: [Ethereal-dev] Patch to make the prompt to save capture dialog apreference
Hi List,
In looking at how to add a "In the future, do not show this warning" checkbox to the dialog as Mr. Harris suggests, I can built a special dialog ( essentially a slightly modified copy of display_simple_dialog() ) that contains the checkbox. This would involve code duplication, is there a better way? Thanks in advance for your suggestions.
tjp
> -----Original Message-----
> From: ethereal-dev-bounces@xxxxxxxxxxxx
> [mailto:ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of Guy Harris
> Sent: Friday, April 23, 2004 2:06 PM
> To: Ethereal development
> Subject: Re: [Ethereal-dev] Patch to make the prompt to save capture
> dialog apreference
>
>
> On Fri, Apr 23, 2004 at 01:09:45PM -0500, Palmer Thomas J Civ
> HQ SSG/ENEM wrote:
> > Attached are diffs to make the "Save capture file before
> ..." dialog a
> > preference.
>
> Hmm.
>
> At least in some cases (some warnings from Web browsers about
> secure vs.
> non-secure HTTP, for example), a "do you really want to do
> this?" dialog
> box has a "don't warn me about this again" check box. That might be a
> more convenient way to turn that warning off.
>
> However, I'm not sure how you turn it back on again, so it would
> probably still need to be a preference that the user can
> explicitly set
> or clear.
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>