[gnome-devel-docs] tutorials python: corrected link in dialog widgets' pages



commit f17e70b9e1e9c28122dd9b71835d9f8c9da97036
Author: Marta Maria Casetti <mmcasetti gmail com>
Date:   Mon Jun 18 15:45:11 2012 +0100

    tutorials python: corrected link in dialog widgets' pages

 platform-demos/C/aboutdialog.py.page   |    3 ++-
 platform-demos/C/dialog.py.page        |    3 ++-
 platform-demos/C/messagedialog.py.page |    3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/platform-demos/C/aboutdialog.py.page b/platform-demos/C/aboutdialog.py.page
index 3ad1fcf..6aa2672 100644
--- a/platform-demos/C/aboutdialog.py.page
+++ b/platform-demos/C/aboutdialog.py.page
@@ -5,6 +5,7 @@
       id="aboutdialog.py">
   <info>
     <link type="guide" xref="beginner.py#windows"/>
+    <link type="seealso" xref="signals-callbacks.py"/>
     <revision version="0.1" date="2012-06-11" status="draft"/>
 
     <credit type="author copyright">
@@ -31,7 +32,7 @@
 
   <section id="methods">
   <title>Useful methods for an AboutDialog widget</title>
-  <p>For an explanation of signals and callback functions, see <link type="seealso" xref="signals-callbacks.py.page">this page</link>.</p>
+  <p>For an explanation of signals and callback functions, see <link xref="signals-callbacks.py">this page</link>.</p>
   </section>
 
   <section id="references">
diff --git a/platform-demos/C/dialog.py.page b/platform-demos/C/dialog.py.page
index ac8bde8..1e6a916 100644
--- a/platform-demos/C/dialog.py.page
+++ b/platform-demos/C/dialog.py.page
@@ -5,6 +5,7 @@
       id="dialog.py">
   <info>
     <link type="guide" xref="beginner.py#windows"/>
+    <link type="seealso" xref="signals-callbacks.py"/>
     <revision version="0.1" date="2012-06-11" status="draft"/>
 
     <credit type="author copyright">
@@ -31,7 +32,7 @@
 
   <section id="methods">
   <title>Useful methods for a Dialog widget</title>
-  <p>For an explanation of signals and callback functions, see <link type="seealso" xref="signals-callbacks.py.page">this page</link>.</p>
+  <p>For an explanation of signals and callback functions, see <link xref="signals-callbacks.py">this page</link>.</p>
   <list>
     <item><p>Instead of <code>set_modal(True)</code> we could have <code>set_modal(False)</code> followed by <code>set_destroy_with_parent(True)</code> that would destroy the dialog window if the main window is closed.</p></item>
     <item><p><code>add_button(button_text="The Answer", response_id=42)</code>, where <code>42</code> is any integer, is an alternative to <code>add_button(button_text="text", response_id=Gtk.ResponseType.RESPONSE)</code>, where <code>RESPONSE</code> could be one of <code>OK, CANCEL, CLOSE, YES, NO, APPLY, HELP</code>, which in turn correspond to the integers <code>-5, -6,..., -11</code>.</p></item>
diff --git a/platform-demos/C/messagedialog.py.page b/platform-demos/C/messagedialog.py.page
index 7503eba..4dfdc69 100644
--- a/platform-demos/C/messagedialog.py.page
+++ b/platform-demos/C/messagedialog.py.page
@@ -5,6 +5,7 @@
       id="messagedialog.py">
   <info>
     <link type="guide" xref="beginner.py#windows"/>
+    <link type="seealso" xref="signals-callbacks.py"/>
     <revision version="0.1" date="2012-06-11" status="draft"/>
 
     <credit type="author copyright">
@@ -31,7 +32,7 @@
 
   <section id="methods">
   <title>Useful methods for a MessageDialog widget</title>
-  <p>For an explanation of signals and callback functions, see <link type="seealso" xref="signals-callbacks.py.page">this page</link>.</p>
+  <p>For an explanation of signals and callback functions, see <link xref="signals-callbacks.py">this page</link>.</p>
   <list>
     <item><p>In the constructor of MessageDialog we could set flags as <code>Gtk.DialogFlags.DESTROY_WITH_PARENT</code> (to destroy the messagedialog window when its parent window is destroyed) or as <code>Gtk.DialogFlags.MODAL</code> (no interaction with other windows of the application).</p></item>
     <item><p>In the constructor of MessageDialog we could set type as any of <code>Gtk.MessageType.INFO, Gtk.MessageType.WARNING, Gtk.MessageType.QUESTION, Gtk.MessageType.ERROR, Gtk.MessageType.OTHER</code> depending on what type of message we want.</p></item>



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