Re: About dialog API / extensibility



  Please, someone take a serious look at
http://bugzilla.gnome.org/show_bug.cgi?id=80468

  What's the point on making the about dialog take a dozen arguments. 
Why not make it extensible instead?  Surely you realize how
fundamentally flawed this hard-coded dialog is.  You cannot guess every
possible field an application author might want to add in the future,
and for every new field the library wants to support there will be API
incompatibility.

  One way to make it API/ABI compatible with future releases is to use
properties:
	dialog = g_object_new (GTK_TYPE_DIALOG, "authors", authors, "license",
"GPL ....", NULL);

  However, I think that's not enough.  We should make it extensible too,
making it accept user-defined information tabs.

  I have already mentioned this before, but have been ignored.  At the
very least, someone tell me I'm wrong, or that I should come up with a
patch, but say something.  Thanks!

A Seg, 2003-04-28 s 19:29, Matthias Clasen escreveu:
> On Wed, 2003-04-23 at 20:19, Pavel Machek wrote: 
> > It would be nice to have field for license,
> > too. GPL actually requires you to tell
> > user its free software and that there's
> > no warranty. I'd like more apps following
> > that requirement.
> 
> Ok, I have added a "license" property now, which is displayed in
> another dialog, opened from a "License" button next to the "Credits"
> button. 
> 
> I also enabled Pango markup in the comments property, since it may be
> useful to add something in "small print", e.g. a serial number.
> 
> 
> Matthias
> 
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
-- 
Gustavo Joo Alves Marques Carneiro
<gjc inescporto pt> <gustavo users sourceforge net>





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