Commit 884d9711 authored by Matthias Clasen's avatar Matthias Clasen

Fix GtkBuilder examples

svn path=/trunk/; revision=20934
parent ed31e7e8
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
......
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment