[Xfce4-commits] CVS: xfce4/libxfcegui4/libxfcegui4 dialogs.c, 1.24, 1.25
edscott
edscott at prodigy.net.mx
Mon Jul 19 02:15:48 CEST 2004
The three button scheme looks better. On a related issue, only one
button allows customization. I did a cut/paste in order to customize
both (although I'd rather use libxfcegui4).
Why customize both? To avoid ambiguities on what xffm "remembers" when
if faces something like: foo.ps.gz. With the cut-n-pasted code, the
dialog that pops up looks like:
------------------------------------------
Remember what?
.ps.gz .gz
------------------------------------------
Having a cancel button would be cool (though not in the middle):
------------------------------------------
Remember what?
Cancel .ps.gz .gz
------------------------------------------
El dom, 18-07-2004 a las 10:45, Jasper Huijsmans escribió:
> pollux at lunar-linux.org wrote:
> > Update of /var/cvs/xfce/xfce4/libxfcegui4/libxfcegui4
> > In directory dbguin.lunar-linux.org:/tmp/cvs-serv21398
> >
> > Modified Files:
> > dialogs.c
> > Log Message:
> > xfce_confirm 'cancel' button becomes a 'no' button if stock_id is GTK_STOCK_YES
> >
>
> I'd like to take this opportunity to say something about dialog design.
> In general I think we should try and follow the GNOME HIG. This means
> that in general Yes/No or Ok/Cancel dialogs are not what you want.
>
> The button order is <alternate action> <cancel> <default action>.
>
> So, instead of this:
> ------------------------------------------
> Do you want to save changes to the file?
>
> No Yes
> ------------------------------------------
>
> We get this:
> ------------------------------------------
> Do you want to save changes to the file?
>
> Discard changes Cancel Save
> ------------------------------------------
>
>
> It's not a very big deal, but I think it's nicer and it makes us fit in
> better with GNOME applications, which is a good thing IMO.
>
> Jasper
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://lunar-linux.org/mailman/listinfo/xfce4-dev
>
More information about the Xfce4-dev
mailing list