Re: About dialog api



> > Is this api agreeable ?
>   No! :)
>   Not completely anyway.  It is not extensible.  Please look at:
> http://bugzilla.gnome.org/show_bug.cgi?id=80468
>   I'm not implying this particular method of extensibility (at the
> widget level) is required, but some sort of extensibility is to be
> required sooner or later (I gave an example of an "artwork" section that
> was missing.)

Hmm, I really think this kind of extensibility would be a bit too much for a
simple about dialog. I think we should try to come up with a small fixed
list of categories for contributors (if you need more finegrained
categorization, you can always add comments for the individual contributors).  One possible
addition would be your example: property artists, page title "Artwork by".
Are there any other common categories ? If we really absolutely need
extensibility, I have already proposed to add one page with a settable title, ie have
a properties other_contributors and other_credits and use other_credits as
title for the page on which the other_contributors are displayed. Owen already
said that he does't like the idea...

In other news, I have played around with autolinkification for the
contributor lists, converting them to textviews and replacing <email org> and
http://foo/bar by buttons (with a style suitable for links, a la GnomeHref) which
emit send_email and show_url signals on the about dialog. This works nicely,
except for one thing: using signals works against the simplicity the
gtk_about_dialog_show () api, since you have to explicitly create the dialog and connect
the signals before showing the dialog. Can we avoid this ? Options would be
to add the signal handlers as parameters to gtk_about_dialog_show () or to
use a signal emission hooks to catch the signals without connecting to them on
the dialog instance. Are there others ?

Matthias 

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!




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