Add translatable/context and comment attributes on <col> tags under a

2008-02-29  Johan Dahlin  <johan@gnome.org>

	* demos/gtk-demo/demo.ui:
	* gtk/gtkbuilderparser.c:
	* gtk/gtkbuilderprivate.h:
	* gtk/gtkliststore.c:
	* tests/buildertest.c:
	Add translatable/context and comment attributes on
	<col> tags under a GtkListStore. Refactor parts of the
	translation api and make it available inside gtk+ itself.
	Update tests and example.
	Fixes a part of #518642


svn path=/trunk/; revision=19685
This commit is contained in:
Johan Dahlin
2008-03-02 01:14:48 +00:00
committed by Johan Dahlin
parent bee4a9fcc3
commit e2534d54e1
6 changed files with 124 additions and 28 deletions

View File

@ -527,9 +527,9 @@ test_list_store (void)
" </columns>"
" <data>"
" <row>"
" <col id=\"0\">John</col>"
" <col id=\"1\">Doe</col>"
" <col id=\"2\">25</col>"
" <col id=\"0\" translatable=\"yes\">_Quit</col>"
" <col id=\"1\" context=\"foo\">Doe</col>"
" <col id=\"2\" comment=\"foobar\">25</col>"
" </row>"
" <row>"
" <col id=\"0\">Johan</col>"