summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2007-07-08 05:27:22 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-07-08 05:27:22 +0000
commit5f3729b87c8ebd6b6aac1d0eee2ae136e0bf34dd (patch)
treed0f0463c1ce2e55daad425675a98814fa153ef8b /docs
parent6942fa3981e8c09465a808f28e0f162d1e8d1cfc (diff)
downloadgdk-pixbuf-5f3729b87c8ebd6b6aac1d0eee2ae136e0bf34dd.tar.gz
Add support for context and comments on properties
svn path=/trunk/; revision=18401
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/ChangeLog5
-rw-r--r--docs/reference/gtk/tmpl/gtkbuilder.sgml8
2 files changed, 11 insertions, 2 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog
index 3a649df29..7325eda06 100644
--- a/docs/reference/ChangeLog
+++ b/docs/reference/ChangeLog
@@ -1,3 +1,8 @@
+2007-07-07 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/tmpl/gtkbuilder.sgml: Document context and
+ comments for properties.
+
2007-07-07 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk-builder-convert.xml: Update
diff --git a/docs/reference/gtk/tmpl/gtkbuilder.sgml b/docs/reference/gtk/tmpl/gtkbuilder.sgml
index f9a45d74d..1a83eb3cb 100644
--- a/docs/reference/gtk/tmpl/gtkbuilder.sgml
+++ b/docs/reference/gtk/tmpl/gtkbuilder.sgml
@@ -62,7 +62,9 @@ which are more limited in scope.
type-func #IMPLIED
constructor #IMPLIED >
<!ATTLIST property name #REQUIRED
- translatable #IMPLIED >
+ translatable #IMPLIED
+ comments #IMPLIED
+ context #IMPLIED >
<!ATTLIST signal name #REQUIRED
handler #REQUIRED
after #IMPLIED
@@ -114,7 +116,9 @@ set to a true value, GTK+ uses gettext() (or dgettext() if
the builder has a translation domain set) to find a translation
for the value. This happens before the value is parsed, so
it can be used for properties of any type, but it is probably
-most useful for string properties.
+most useful for string properties. It is also possible to
+specify a context to disambiguate short strings, and comments
+which may help the translators.
</para>
<para>
GtkBuilder can parse textual representations for the most