recognized by looking for <literal>http://url</literal>, with
<literal>url</literal> extending to the next space, tab or line break.
</para>
+<para id="gtk-about-dialog-hook-setup">
+Since 2.18 #GtkAboutDialog provides default website and email hooks that use
+gtk_show_uri().
+</para>
+<para>
+If you want provide your own hooks overriding the default ones, it is important
+to do so before setting the website and email URL properties, like this:
+</para>
+<informalexample><programlisting>
+gtk_about_dialog_set_url_hook (GTK_ABOUT_DIALOG (dialog), launch_url, NULL, NULL);
+gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (dialog), app_url);
+</programlisting></informalexample>
+<para>
+To disable the default hooks, you can pass %NULL as the hook func. Then,
+the #GtkAboutDialog widget will not display the website or the
+email addresses as clickable.
+</para>
<para>
To make constructing a #GtkAboutDialog as convenient as possible, you can
use the function gtk_show_about_dialog() which constructs and shows a dialog
and keeps it around so that it can be shown again.
</para>
+<para>
+Note that GTK+ sets a default title of <literal>_("About %s")</literal>
+on the dialog window (where %s is replaced by the name of the
+application, but in order to ensure proper translation of the title,
+applications should set the title property explicitly when constructing
+a #GtkAboutDialog, as shown in the following example:
+</para>
+<informalexample><programlisting>
+gtk_show_about_dialog (NULL,
+ "program-name", "ExampleCode",
+ "logo", example_logo,
+ "title" _("About ExampleCode"),
+ NULL);
+</programlisting></informalexample>
+<para>
+Note that prior to GTK+ 2.12, the #GtkAboutDialog:program-name property
+was called "name". This was changed to avoid the conflict with the
+#GtkWidget:name property.
+</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
-<!-- ##### ARG GtkAboutDialog:name ##### -->
+<!-- ##### ARG GtkAboutDialog:program-name ##### -->
<para>
</para>
</para>
-<!-- ##### ARG GtkAboutDialog:link-color ##### -->
+<!-- ##### FUNCTION gtk_about_dialog_new ##### -->
<para>
</para>
-<!-- ##### FUNCTION gtk_about_dialog_new ##### -->
+@Returns:
+
+
+<!-- ##### FUNCTION gtk_about_dialog_get_name ##### -->
<para>
</para>
+@about:
@Returns:
-<!-- ##### FUNCTION gtk_about_dialog_get_name ##### -->
+<!-- ##### FUNCTION gtk_about_dialog_set_name ##### -->
+<para>
+
+</para>
+
+@about:
+@name:
+
+
+<!-- ##### FUNCTION gtk_about_dialog_get_program_name ##### -->
<para>
</para>
@Returns:
-<!-- ##### FUNCTION gtk_about_dialog_set_name ##### -->
+<!-- ##### FUNCTION gtk_about_dialog_set_program_name ##### -->
<para>
</para>
</para>
@about: the #GtkAboutDialog in which the link was activated
-@link: the URL or email address to whiche the activated link points
+@link_: the URL or email address to which the activated link points
@data: user data that was passed when the function was registered
with gtk_about_dialog_set_email_hook() or
gtk_about_dialog_set_url_hook()