GNOME Bugzilla – Bug 337358
set about dialogue hooks
Last modified: 2006-06-20 17:48:32 UTC
GtkAboutDialog has 2 hook functions, to open links and email addresses. IMHO libgnomeui's GnomeProgram initialisation should implement those (using gnome_vfs_url_show), so not every program has to reinvent that.
Created attachment 62790 [details] [review] proposed patch
Kjartan: any opinions on this patch? :)
Looks sane to me. Please commit if you've tested this. Maybe we should tell people about this before they go implementing the functions in their apps too?
2006-06-20 Christian Persch <chpe@cvs.gnome.org> * libgnomeui/gnome-ui-init.c: (show_url), (about_url_hook), (about_email_hook), (libgnomeui_private_free), (libgnomeui_get_property), (libgnomeui_set_property), (libgnomeui_class_init), (libgnomeui_post_args_parse), (libgnomeui_arg_callback): Set about dialogue hooks. Fixes bug #337358. We have a GnomeGoal for this, http://live.gnome.org/GnomeGoals/AboutDialog and I'll make sure it's clear hat you don't need to implement those hooks yourself :)