[gnome-devel-docs] toolbar_builder.py.page now validates



commit 7d1cccdf3cb144028de0aa508376af3e96377035
Author: Marta Maria Casetti <mmcasetti gmail com>
Date:   Tue Feb 26 12:03:56 2013 +0100

    toolbar_builder.py.page now validates

 platform-demos/C/toolbar_builder.py.page |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/platform-demos/C/toolbar_builder.py.page b/platform-demos/C/toolbar_builder.py.page
index b4b3134..c3770f7 100644
--- a/platform-demos/C/toolbar_builder.py.page
+++ b/platform-demos/C/toolbar_builder.py.page
@@ -180,9 +180,8 @@
 <item><p><code>add_objects_from_string(filename, object_ids)</code>  is the same as 
<code>add_from_string()</code>, but it loads only the objects with the ids given in the 
<code>object_id</code>s list.</p></item>
 <item><p><code>get_object(object_id)</code> retrieves the widget with the id <code>object_id</code> from the 
loaded objects in the builder.</p></item>
 <item><p><code>get_objects()</code> returns all loaded objects.</p></item>
-<item><p><code>connect_signals(handler_object)</code> connects the signals to the methods given in the 
<code>handler_object</code>. This can be any object which contains keys or attributes that are called like 
the signal handler names given in the interface description, e.g. a class or a dict.</p></item>
-    <p>In line 39 the signal <code>"activate"</code> from the action <code>undo_action</code> is connected 
to the callback function <code>undo_callback()</code> using 
<code><var>action</var>.connect(<var>signal</var>, <var>callback function</var>)</code>. See <link 
xref="signals-callbacks.py"/> for a more detailed explanation.</p>
-
+<item><p><code>connect_signals(handler_object)</code> connects the signals to the methods given in the 
<code>handler_object</code>. This can be any object which contains keys or attributes that are called like 
the signal handler names given in the interface description, e.g. a class or a dict. In line 39 the signal 
<code>"activate"</code> from the action <code>undo_action</code> is connected to the callback function 
<code>undo_callback()</code> using <code><var>action</var>.connect(<var>signal</var>, <var>callback 
function</var>)</code>. See <link xref="signals-callbacks.py"/> for a more detailed explanation.</p>
+</item>
 </list>
 
 </section>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]