Re: [HIG] GtkMessageDialog



On Thu, 2002-12-05 at 20:11, Gregory Merchan wrote:
> On Thu, Dec 05, 2002 at 04:01:42PM +0100, Murray Cumming wrote:
> > Does GtkMessageDialog comply with the HIG by default:
> > http://developer.gnome.org/projects/gup/hig/draft_hig/windows.html#alert-windows
> 
> No, unfortunately, mainly because of primary and secondary text. If the
> GtkLabel used markup by default then it would be much closer. The existing
> label is also marked  /*< private >*/  .
> 
> 
> There are some other problems:
> 
> GtkMessageType has GTK_MESSAGE_QUESTION which should not be used.
> (Microsoft has also deprecated this, btw.)
> 
> It does not have a type for authentication alerts. See bug 65765 :
>   http://bugzilla.gnome.org/show_bug.cgi?id=65765

It looks like that patch will be applied.

> The API does not allow for fields as an authentication alert requires.

I don't think GtkMessageDialog means to solve every problem. There is
still GtkDialog for more complex dialogs.

> GtkButtonsType has GTK_BUTTONS_CLOSE, GTK_BUTTONS_CANCEL, and
> GTK_BUTTONS_YES_NO, none of which should be used.

Cancel should never be used? But it's used in the HIG's "reactor
meltdown" example.

> I say the alert image should be in a column all to itself, but the HIG
> doesn't. Doing so would also make leave GtkDialog an unsuitable parent
> class.

> I would prefer to just see GtkMessageDialog removed and have a GtkAlert class.

Are you aware of any efforts to reconcile the HIG and GtkMessageDialog,
or to add something to libgnomeui for this? How can anyone reasonably be
expected to comply with the HIG if it requires such effort.
 
-- 
Murray Cumming
murray usa net
www.murrayc.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]