summaryrefslogtreecommitdiff
path: root/gtk/gtkaboutdialog.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-08-29 15:11:11 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-08-29 15:11:11 -0400
commitbdf35e034a749f03fd704889479b37ac9e82a1b0 (patch)
treefc887a0ff5723d650a80c0de9912eef672c45767 /gtk/gtkaboutdialog.c
parent4d608ad7226fe0e8a7ab1366a95d616e4b464c3a (diff)
downloadgtk+-bdf35e034a749f03fd704889479b37ac9e82a1b0.tar.gz
GtkAboutDialog: Add formatting examples to the docs
We were not very explicit about the expected format for links and email addresses in the strings, so give some explicit examples.
Diffstat (limited to 'gtk/gtkaboutdialog.c')
-rw-r--r--gtk/gtkaboutdialog.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index 5729d46474..d6b25728f7 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -68,14 +68,18 @@
* a program like its logo, name, copyright, website and license. It is
* also possible to give credits to the authors, documenters, translators
* and artists who have worked on the program. An about dialog is typically
- * opened when the user selects the `About` option from
- * the `Help` menu. All parts of the dialog are optional.
+ * opened when the user selects the `About` option from the `Help` menu.
+ * All parts of the dialog are optional.
*
* About dialogs often contain links and email addresses. GtkAboutDialog
* displays these as clickable links. By default, it calls gtk_show_uri()
* when a user clicks one. The behaviour can be overridden with the
* #GtkAboutDialog::activate-link signal.
*
+ * To specify a person with an email address, use a string like
+ * "Edgar Allan Poe <edgar@poe.com>". To specify a website with a title,
+ * use a string like "GTK+ team http://www.gtk.org".
+ *
* 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.