Fix GtkBuilder examples

svn path=/trunk/; revision=20934
This commit is contained in:
Matthias Clasen 2008-08-02 04:37:47 +00:00
parent ed31e7e8fb
commit 884d971149
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2008-08-02 Matthias Clasen <mclasen@redhat.com>
Bug 515596 GtkUIManager's embedded UI definition example is invalid
* gtk/tmpl/gtktreeview.sgml:
* gtk/tmpl/gtkuimanager.sgml: Fix GtkBuilder examples.
2008-08-02 Matthias Clasen <mclasen@redhat.com>
Bug 540834 Insensitive widgets cannot be grabbed

View File

@ -51,13 +51,13 @@ GtkTreeViewColumn objects as &lt;child&gt; elements in UI definitions.
<example>
<title>A UI definition fragment with GtkTreeView</title>
<programlisting><![CDATA[
<object class="GtkTreeView">
<object class="GtkTreeView" id="treeview">
<property name="model">liststore1</property>
<child>
<object class="GtkTreeViewColumn">
<object class="GtkTreeViewColumn" id="test-column">
<property name="title">Test</property>
<child>
<object class="GtkCellRendererText"/>
<object class="GtkCellRendererText" id="test-renderer"/>
<attributes>
<attribute name="text">1</attribute>
</attributes>

View File

@ -219,7 +219,7 @@ other parts of the constructed user interface with the help of the
<programlisting><![CDATA[
<object class="GtkUIManager" id="uiman">
<child>
<object class="GtkActionGroup">
<object class="GtkActionGroup" id="actiongroup">
<child>
<object class="GtkAction" id="file">
<property name="label">_File</property>