GNOME Bugzilla – Bug 435973
Migrating from GnomeAbout to GtkAboutDialog
Last modified: 2009-02-12 10:53:33 UTC
Since version 2.6, GTK+ provides the GtkAboutDialog widget as a replacement for the GnomeAbout dialog in the libgnomeui library.
Created attachment 87573 [details] [review] Migrating from GnomeAbout to GtkAboutDialog
Comment on attachment 87573 [details] [review] Migrating from GnomeAbout to GtkAboutDialog Thanks Christian, could you change 2003 to 2007 in both places below? After that change please go ahead and commit. Great to have your help on GOK! >+ "copyright", "Copyright (C) 2001-2003 Sun Microsystems, Copyright (C) 2001-2003 University of Toronto",
David, please test the patch, I could not test it yet (missing assistive tech stuff) While digging deeper into this I found out that "translator-credits", strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL, was (a) unneccessary http://developer.gnome.org/doc/API/2.0/gtk/GtkAboutDialog.html#gtk-about-dialog-set-translator-credits and (b) wrong, since translator_credits is initialised as "translator-credits" (with a dash, not underscore) Also, we can easily get rid of all the gdkpixbuf stuff since gtkabout takes care of this. I presume we can also emit the about dialog hack, please test.
Created attachment 87602 [details] [review] Migrating from GnomeAbout to GtkAboutDialog
Christian, David, I've tested the patch and found a few problems. The close button and delete-events aren't handled and some properties are missing.
Created attachment 114704 [details] [review] Updated patch that uses gtk_show_about_dialog which handles signals (and screen) automatically.
Committed to trunk.
The commit was reverted by http://svn.gnome.org/viewvc/gok/trunk/gok/gok-keyboard.c?r1=2518&r2=2519 , hence reopening. PLEASE get this in quickly before it's STRING FREEZE again on Monday!! (String changes must be announced to gnome-18n@)
Committed to trunk. (again :))
Thank God you spotted this Andre
I do thank him at least once per day, but mostly for other things ;-)