Before making a request I wanted to try myself to make
Comix use the standard GtkAbout dialog. The idea works
and I was able to get it running as you will see from
my patch. You can probably also see I haven't had as
much pratice with Python as I might like (took me most
of the afternoon).
The patch isn't very good and you may well want to
rewrite it completely but it does work and when done
properly it will require significantly less code than
creating your own About dialog. Not needing to
manually markup strings is always good.
The strings I have used are really only short
placeholders and you will probably want to change them.
I'm not sure how or why but the Comix icon was picked
up automatically and added to the dialog without my
needing to do anything. I think maybe it is just
reusing the standard Window icon (if i understand the
pygtk documentation correctly). I couldn't quite get
the authors strings to work and it is being presented
as vertical text (see Credits).
Beyond those fundamental fixes you might want to see
about making the website link clickable.
Comix already depends on PyGtk 2.8 and the GtkAbout
dialog has been included since Gtk 2.6 so dependencies
should not be a problem.
(Another benefit is that if comix is ever ported to a
small screen portable device - I'm sure someone will
sooner or later - they should already have a standard
implementation of the About dialog for their platform
which will take all the information and present it in a
way that fits comfortably onscreen. One less thing to
Log in to post a comment.