[gtk+/gtk-2-24] Fixed GtkLabel documentation on links
- From: Luis Menina <lmenina src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] Fixed GtkLabel documentation on links
- Date: Sat, 21 Dec 2013 14:59:44 +0000 (UTC)
commit 4a61ca28b1daeab70d89db6ec2f00511e0db2dd5
Author: Luis Menina <liberforce freeside fr>
Date: Sat Dec 21 15:54:29 2013 +0100
Fixed GtkLabel documentation on links
An escaped '<' wasn't complete, the 'lt' part was missing.
docs/reference/gtk/tmpl/gtklabel.sgml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/gtklabel.sgml b/docs/reference/gtk/tmpl/gtklabel.sgml
index a453771..0d96a5e 100644
--- a/docs/reference/gtk/tmpl/gtklabel.sgml
+++ b/docs/reference/gtk/tmpl/gtklabel.sgml
@@ -172,7 +172,7 @@ to regular Pango markup. The markup for links is borrowed from HTML, using the
way they appear in web browsers, with colored, underlined text. The title
attribute is displayed as a tooltip on the link. An example looks like this:
<informalexample><programlisting>
-gtk_label_set_markup (label, "Go to the <a href=\"http://www.gtk.org\"
title=\"&lt;i&gt;Our&/i&gt; website\">GTK+ website</a> for more...");
+gtk_label_set_markup (label, "Go to the <a href=\"http://www.gtk.org\"
title=\"&lt;i&gt;Our&lt;/i&gt; website\">GTK+ website</a> for more...");
</programlisting></informalexample>
It is possible to implement custom handling for links and their tooltips with
the #GtkLabel::activate-link signal and the gtk_label_get_current_uri() function.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]