[gnome-devel-docs] Tidied up broken link, and general spacing.
- From: Tiffany Antopolski <antopolski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] Tidied up broken link, and general spacing.
- Date: Wed, 30 May 2012 16:04:25 +0000 (UTC)
commit e70599a170b8afcadf6ef3bd5eca108385120ba6
Author: Tiffany Antopolski <tiffany antopolski gmail com>
Date: Wed May 30 12:03:53 2012 -0400
Tidied up broken link, and general spacing.
platform-demos/C/GtkApplicationWindow.c.page | 4 +---
platform-demos/C/GtkApplicationWindow.py.page | 4 +---
platform-demos/C/GtkApplicationWindow.vala.page | 3 +--
platform-demos/C/aboutdialog.py.page | 3 +--
platform-demos/C/aboutdialog.vala.page | 3 +--
platform-demos/C/button.vala.page | 3 +--
platform-demos/C/gmenu.c.page | 3 +--
platform-demos/C/gmenu.py.page | 3 +--
platform-demos/C/gmenu.vala.page | 4 +---
platform-demos/C/grid.py.page | 3 +--
platform-demos/C/image.c.page | 3 +--
platform-demos/C/label.c.page | 3 +--
platform-demos/C/label.py.page | 3 +--
platform-demos/C/label.vala.page | 3 +--
platform-demos/C/messagedialog.py.page | 4 +---
platform-demos/C/messagedialog.vala.page | 3 +--
platform-demos/C/samples/aboutdialog.vala | 1 -
platform-demos/C/samples/button.js | 5 -----
platform-demos/C/samples/gmenu.vala | 1 -
platform-demos/C/samples/image.c | 4 ----
platform-demos/C/samples/label.c | 3 ---
platform-demos/C/samples/linkbutton.js | 1 -
platform-demos/C/samples/messagedialog.js | 9 ---------
platform-demos/C/samples/messagedialog.py | 2 --
platform-demos/C/samples/messagedialog.vala | 1 -
platform-demos/C/samples/progressbar.py | 1 -
.../C/samples/treeview_simple_liststore.vala | 1 -
platform-demos/C/widget.py.page | 2 +-
platform-demos/C/window.c.page | 2 +-
platform-demos/C/window.js.page | 2 +-
platform-demos/C/window.py.page | 18 +++++++++++++-----
platform-demos/C/window.vala.page | 6 ++----
platform-demos/Makefile.am | 1 +
33 files changed, 35 insertions(+), 77 deletions(-)
---
diff --git a/platform-demos/C/GtkApplicationWindow.c.page b/platform-demos/C/GtkApplicationWindow.c.page
index b3a3f6d..1e787ae 100644
--- a/platform-demos/C/GtkApplicationWindow.c.page
+++ b/platform-demos/C/GtkApplicationWindow.c.page
@@ -20,9 +20,7 @@
<media type="image" mime="image/png" src="media/window.png"/>
<p>A minimal GtkApplication with a GtkApplicationWindow</p>
- <code mime="text/x-csrc" style="numbered">
-<xi:include href="samples/GtkApplicationWindow.c" parse="text"><xi:fallback/></xi:include>
-</code>
+<code mime="text/x-csrc" style="numbered"><xi:include href="samples/GtkApplicationWindow.c" parse="text"><xi:fallback/></xi:include></code>
<p>
In this sample we used the following:
</p>
diff --git a/platform-demos/C/GtkApplicationWindow.py.page b/platform-demos/C/GtkApplicationWindow.py.page
index b68f599..4e6ba91 100644
--- a/platform-demos/C/GtkApplicationWindow.py.page
+++ b/platform-demos/C/GtkApplicationWindow.py.page
@@ -20,9 +20,7 @@
<media type="image" mime="image/png" src="media/window.png"/>
<p>The simplest GtkApplication Window which can support Menus.</p>
-<code mime="text/x-python" style="numbered">
-<xi:include href="samples/GtkApplicationWindow.py" parse="text"><xi:fallback/></xi:include>
-</code>
+<code mime="text/x-python" style="numbered"><xi:include href="samples/GtkApplicationWindow.py" parse="text"><xi:fallback/></xi:include></code>
<p>
In this sample we used the following:
</p>
diff --git a/platform-demos/C/GtkApplicationWindow.vala.page b/platform-demos/C/GtkApplicationWindow.vala.page
index 907619e..f65ae02 100644
--- a/platform-demos/C/GtkApplicationWindow.vala.page
+++ b/platform-demos/C/GtkApplicationWindow.vala.page
@@ -21,8 +21,7 @@
<p>The simplest GtkApplication Window which can support Menus.</p>
<code mime="text/x-vala" style="numbered">
-<xi:include href="samples/GtkApplicationWindow.vala" parse="text"><xi:fallback/></xi:include>
-</code>
+<xi:include href="samples/GtkApplicationWindow.vala" parse="text"><xi:fallback/></xi:include></code>
<p>
In this sample we used the following:
</p>
diff --git a/platform-demos/C/aboutdialog.py.page b/platform-demos/C/aboutdialog.py.page
index baae0cb..6efce85 100644
--- a/platform-demos/C/aboutdialog.py.page
+++ b/platform-demos/C/aboutdialog.py.page
@@ -21,8 +21,7 @@
<p>An AboutDialog example using Gtk.ApplicationWindow and Menu (the "about" is displayed if "About" in the menu is selected).</p>
<code mime="text/x-python" style="numbered">
-<xi:include href="samples/aboutdialog.py" parse="text"><xi:fallback/></xi:include>
-</code>
+<xi:include href="samples/aboutdialog.py" parse="text"><xi:fallback/></xi:include></code>
<p>
In this sample we used the following:
</p>
diff --git a/platform-demos/C/aboutdialog.vala.page b/platform-demos/C/aboutdialog.vala.page
index 9c71d1c..64e2a8e 100644
--- a/platform-demos/C/aboutdialog.vala.page
+++ b/platform-demos/C/aboutdialog.vala.page
@@ -27,8 +27,7 @@
<p>An AboutDialog example using Gtk.ApplicationWindow and Menu</p>
<note><p><em style="bold">You need to be running Gtk3.4 or later for this to work</em></p></note>
-<code mime="text/x-vala" style="numbered">
-<xi:include href="samples/aboutdialog.vala" parse="text"><xi:fallback/></xi:include></code>
+<code mime="text/x-vala" style="numbered"><xi:include href="samples/aboutdialog.vala" parse="text"><xi:fallback/></xi:include></code>
<p>
In this sample we used the following:
</p>
diff --git a/platform-demos/C/button.vala.page b/platform-demos/C/button.vala.page
index f629993..57a9183 100644
--- a/platform-demos/C/button.vala.page
+++ b/platform-demos/C/button.vala.page
@@ -22,8 +22,7 @@
<p>A button widget connected to a simple callback function.</p>
<code mime="text/x-vala" style="numbered">
-<xi:include href="samples/button.vala" parse="text"><xi:fallback/></xi:include>
-</code>
+<xi:include href="samples/button.vala" parse="text"><xi:fallback/></xi:include></code>
<p>
In this sample we used the following:
<link xref="GtkApplicationWindow.vala">Gtk.ApplicationWindow</link>,
diff --git a/platform-demos/C/gmenu.c.page b/platform-demos/C/gmenu.c.page
index 8d35de8..66ad17f 100644
--- a/platform-demos/C/gmenu.c.page
+++ b/platform-demos/C/gmenu.c.page
@@ -22,8 +22,7 @@
<note><p><em style="bold">You need to be running Gtk3.4 or later for this to work</em></p></note>
<code mime="text/x-vala" style="numbered">
-<xi:include href="samples/gmenu.c" parse="text"><xi:fallback/></xi:include>
-</code>
+<xi:include href="samples/gmenu.c" parse="text"><xi:fallback/></xi:include></code>
<p>
In this sample we used the following:
</p>
diff --git a/platform-demos/C/gmenu.py.page b/platform-demos/C/gmenu.py.page
index fda2e62..b3d5a4a 100644
--- a/platform-demos/C/gmenu.py.page
+++ b/platform-demos/C/gmenu.py.page
@@ -22,8 +22,7 @@
<note><p><em style="bold">You need to be running Gtk3.4 or later for this to work</em></p></note>
<code mime="text/x-python" style="numbered">
-<xi:include href="samples/gmenu.py" parse="text"><xi:fallback/></xi:include>
-</code>
+<xi:include href="samples/gmenu.py" parse="text"><xi:fallback/></xi:include></code>
<p>
In this sample we used the following:
</p>
diff --git a/platform-demos/C/gmenu.vala.page b/platform-demos/C/gmenu.vala.page
index befd36d..af3cc7c 100644
--- a/platform-demos/C/gmenu.vala.page
+++ b/platform-demos/C/gmenu.vala.page
@@ -31,9 +31,7 @@
</note>
<p>A GtkApplication with a simple GMenu and SimpleActions</p>
-<code mime="text/x-vala" style="numbered">
-<xi:include href="samples/gmenu.vala" parse="text"><xi:fallback/></xi:include>
-</code>
+<code mime="text/x-vala" style="numbered"><xi:include href="samples/gmenu.vala" parse="text"><xi:fallback/></xi:include></code>
<p>
In this sample we used the following:
</p>
diff --git a/platform-demos/C/grid.py.page b/platform-demos/C/grid.py.page
index f58363e..8ff9c3f 100644
--- a/platform-demos/C/grid.py.page
+++ b/platform-demos/C/grid.py.page
@@ -22,8 +22,7 @@
<p>A button widget connected to a progress bar.</p>
<code mime="text/javascript" style="numbered">
-<xi:include href="samples/grid.py" parse="text"><xi:fallback/></xi:include>
-</code>
+<xi:include href="samples/grid.py" parse="text"><xi:fallback/></xi:include></code>
<p>
In this sample we used the following:
</p>
diff --git a/platform-demos/C/image.c.page b/platform-demos/C/image.c.page
index 33debf5..5ff011a 100644
--- a/platform-demos/C/image.c.page
+++ b/platform-demos/C/image.c.page
@@ -26,8 +26,7 @@
</tr>
</table>
- <code mime="text/x-csrc" style="numbered">
-<xi:include href="samples/image.c" parse="text"><xi:fallback/></xi:include></code>
+<code mime="text/x-csrc" style="numbered"><xi:include href="samples/image.c" parse="text"><xi:fallback/></xi:include></code>
<p>
In this sample we used the following:
</p>
diff --git a/platform-demos/C/label.c.page b/platform-demos/C/label.c.page
index 71b77b2..3783a1c 100644
--- a/platform-demos/C/label.c.page
+++ b/platform-demos/C/label.c.page
@@ -26,8 +26,7 @@
</tr>
</table>
- <code mime="text/x-csrc" style="numbered">
-<xi:include href="samples/label.c" parse="text"><xi:fallback/></xi:include></code>
+<code mime="text/x-csrc" style="numbered"><xi:include href="samples/label.c" parse="text"><xi:fallback/></xi:include></code>
<p>
In this sample we used the following:
</p>
diff --git a/platform-demos/C/label.py.page b/platform-demos/C/label.py.page
index 754d01e..ce8e465 100644
--- a/platform-demos/C/label.py.page
+++ b/platform-demos/C/label.py.page
@@ -20,6 +20,5 @@
<media type="image" mime="image/png" src="media/label.png"/>
<p>A simple label</p>
-<code mime="text/x-vala" style="numbered"><xi:include href="samples/label.py" parse="text"><xi:fallback/></xi:include>
-</code>
+<code mime="text/x-vala" style="numbered"><xi:include href="samples/label.py" parse="text"><xi:fallback/></xi:include></code>
</page>
diff --git a/platform-demos/C/label.vala.page b/platform-demos/C/label.vala.page
index efd4524..e4e0d38 100644
--- a/platform-demos/C/label.vala.page
+++ b/platform-demos/C/label.vala.page
@@ -21,8 +21,7 @@
<p>A simple label</p>
<code mime="text/x-vala" style="numbered">
-<xi:include href="samples/label.vala" parse="text"><xi:fallback/></xi:include>
-</code>
+<xi:include href="samples/label.vala" parse="text"><xi:fallback/></xi:include></code>
<p>
In this sample we used the following:
</p>
diff --git a/platform-demos/C/messagedialog.py.page b/platform-demos/C/messagedialog.py.page
index 08b0468..8bc1959 100644
--- a/platform-demos/C/messagedialog.py.page
+++ b/platform-demos/C/messagedialog.py.page
@@ -20,7 +20,5 @@
<media type="image" mime="image/png" src="media/messagedialog.png"/>
<p>A message dialog which prints messages on the terminal, depending on your choices.</p>
-<code mime="text/x-python" style="numbered">
-<xi:include href="samples/messagedialog.py" parse="text"><xi:fallback/></xi:include>
-</code>
+<code mime="text/x-python" style="numbered"><xi:include href="samples/messagedialog.py" parse="text"><xi:fallback/></xi:include></code>
</page>
diff --git a/platform-demos/C/messagedialog.vala.page b/platform-demos/C/messagedialog.vala.page
index 0545383..77796eb 100644
--- a/platform-demos/C/messagedialog.vala.page
+++ b/platform-demos/C/messagedialog.vala.page
@@ -21,8 +21,7 @@
<p>A modal message dialog which can cause the world to explode.</p>
<code mime="text/x-vala" style="numbered">
-<xi:include href="samples/messagedialog.vala" parse="text"><xi:fallback/></xi:include>
-</code>
+<xi:include href="samples/messagedialog.vala" parse="text"><xi:fallback/></xi:include></code>
<p>
In this sample we used the following:
</p>
diff --git a/platform-demos/C/samples/aboutdialog.vala b/platform-demos/C/samples/aboutdialog.vala
index 40f282a..5892002 100644
--- a/platform-demos/C/samples/aboutdialog.vala
+++ b/platform-demos/C/samples/aboutdialog.vala
@@ -63,4 +63,3 @@ public class Application : Gtk.Application {
int main (string[] args) {
return new Application ().run (args);
}
-
diff --git a/platform-demos/C/samples/button.js b/platform-demos/C/samples/button.js
index 09994ee..f2ebb4b 100644
--- a/platform-demos/C/samples/button.js
+++ b/platform-demos/C/samples/button.js
@@ -31,9 +31,6 @@ const ButtonExample = new Lang.Class ({
this._buildUI ();
},
-
-
-
// Build the application's UI
_buildUI: function () {
@@ -59,8 +56,6 @@ const ButtonExample = new Lang.Class ({
_clickHandler: function () {
this.Button.set_label ("Clicked!");
}
-
-
});
// Run the application
diff --git a/platform-demos/C/samples/gmenu.vala b/platform-demos/C/samples/gmenu.vala
index 98bc330..3c2d07e 100644
--- a/platform-demos/C/samples/gmenu.vala
+++ b/platform-demos/C/samples/gmenu.vala
@@ -60,4 +60,3 @@ public class Application : Gtk.Application {
int main (string[] args) {
return new Application ().run (args);
}
-
diff --git a/platform-demos/C/samples/image.c b/platform-demos/C/samples/image.c
index 4b4e212..e3facb6 100644
--- a/platform-demos/C/samples/image.c
+++ b/platform-demos/C/samples/image.c
@@ -1,6 +1,5 @@
#include <gtk/gtk.h>
-
static void
activate (GtkApplication *app,
gpointer user_data)
@@ -21,7 +20,6 @@ activate (GtkApplication *app,
gtk_widget_show_all (GTK_WIDGET (window));
}
-
int
main (int argc, char **argv)
{
@@ -34,5 +32,3 @@ main (int argc, char **argv)
g_object_unref (app);
return status;
}
-
-
diff --git a/platform-demos/C/samples/label.c b/platform-demos/C/samples/label.c
index 43fd0fe..2e63a4a 100644
--- a/platform-demos/C/samples/label.c
+++ b/platform-demos/C/samples/label.c
@@ -1,7 +1,5 @@
-
#include <gtk/gtk.h>
-
static void
activate (GtkApplication *app,
gpointer user_data)
@@ -23,7 +21,6 @@ activate (GtkApplication *app,
gtk_widget_show_all (GTK_WIDGET (window));
}
-
int
main (int argc, char **argv)
{
diff --git a/platform-demos/C/samples/linkbutton.js b/platform-demos/C/samples/linkbutton.js
index 4128a1c..eb21319 100644
--- a/platform-demos/C/samples/linkbutton.js
+++ b/platform-demos/C/samples/linkbutton.js
@@ -48,7 +48,6 @@ const LinkButtonExample = new Lang.Class ({
// Show the window and all child widgets
this._window.show_all();
},
-
});
// Run the application
diff --git a/platform-demos/C/samples/messagedialog.js b/platform-demos/C/samples/messagedialog.js
index e625775..a7ad7de 100644
--- a/platform-demos/C/samples/messagedialog.js
+++ b/platform-demos/C/samples/messagedialog.js
@@ -31,8 +31,6 @@ const MessageExample = new Lang.Class ({
this._buildUI ();
},
-
-
// Build the application menu, including the button that calls the dialog
_initMenus: function() {
let menu = new Gio.Menu();
@@ -56,8 +54,6 @@ const MessageExample = new Lang.Class ({
this.application.add_action(quitAction);
},
-
-
// Build the application's UI, including the MessageDialog
_buildUI: function () {
@@ -75,8 +71,6 @@ const MessageExample = new Lang.Class ({
this._window.show_all();
},
-
-
_showMessageDialog: function () {
// Create a modal MessageDialog whose parent is the window
@@ -90,8 +84,6 @@ const MessageExample = new Lang.Class ({
this._messageDialog.show();
},
-
-
// Callback function (aka signal handler) for the response signal
_response_cb: function (messagedialog, response_id) {
@@ -110,7 +102,6 @@ const MessageExample = new Lang.Class ({
this._messageDialog.destroy();
}
-
});
// Run the application
diff --git a/platform-demos/C/samples/messagedialog.py b/platform-demos/C/samples/messagedialog.py
index 21d7441..ce4ac3d 100644
--- a/platform-demos/C/samples/messagedialog.py
+++ b/platform-demos/C/samples/messagedialog.py
@@ -3,7 +3,6 @@ from gi.repository import Gtk
from gi.repository import Gio
import sys
-
# This is the window
class MyWindow(Gtk.ApplicationWindow):
@@ -39,7 +38,6 @@ class MyWindow(Gtk.ApplicationWindow):
messagedialog.connect("response", self.dialog_response)
messagedialog.show()
-
class MyApplication(Gtk.Application):
def __init__(self):
Gtk.Application.__init__(self, application_id="org.gtk.example.grid")
diff --git a/platform-demos/C/samples/messagedialog.vala b/platform-demos/C/samples/messagedialog.vala
index 5a27cb4..3c6cf47 100644
--- a/platform-demos/C/samples/messagedialog.vala
+++ b/platform-demos/C/samples/messagedialog.vala
@@ -69,4 +69,3 @@ public class Application : Gtk.Application {
int main (string[] args) {
return new Application ().run (args);
}
-
diff --git a/platform-demos/C/samples/progressbar.py b/platform-demos/C/samples/progressbar.py
index 7fb5829..0476075 100644
--- a/platform-demos/C/samples/progressbar.py
+++ b/platform-demos/C/samples/progressbar.py
@@ -18,7 +18,6 @@ class MyWindow(Gtk.ApplicationWindow):
# (the bar moves)
self.source_id = GLib.timeout_add(100, self.pulse)
-
# any signal from the keyboard controls if the progressbar stops/starts
def do_key_press_event(self, event):
# if the bar has been stopped (and source_id == 0 - see below),
diff --git a/platform-demos/C/samples/treeview_simple_liststore.vala b/platform-demos/C/samples/treeview_simple_liststore.vala
index 6da9e4a..1c0cc32 100644
--- a/platform-demos/C/samples/treeview_simple_liststore.vala
+++ b/platform-demos/C/samples/treeview_simple_liststore.vala
@@ -124,4 +124,3 @@ class MyApplication : Gtk.Application {
int main (string[] args) {
return new MyApplication ().run (args);
}
-
diff --git a/platform-demos/C/widget.py.page b/platform-demos/C/widget.py.page
index 0a06823..2354703 100644
--- a/platform-demos/C/widget.py.page
+++ b/platform-demos/C/widget.py.page
@@ -20,7 +20,7 @@
<media type="image" mime="image/png" src="media/widget.png"/>
<p>More specific description of this particular example.</p>
- <code mime="text/x-python" style="numbered"><xi:include href="samples/widget.py" parse="text"><xi:fallback/></xi:include></code>
+<code mime="text/x-python" style="numbered"><xi:include href="samples/widget.py" parse="text"><xi:fallback/></xi:include></code>
<p>
In this sample we used the following:
</p>
diff --git a/platform-demos/C/window.c.page b/platform-demos/C/window.c.page
index 587aa5f..7a16d20 100644
--- a/platform-demos/C/window.c.page
+++ b/platform-demos/C/window.c.page
@@ -24,7 +24,7 @@
<p>A minimal GtkApplication</p>
</td>
<td>
- <p>Use <link href="GtkApplicationWindow.c.page">Application Window</link> if you need GMenu support.</p>
+ <p>Use <link xref="GtkApplicationWindow.c">Application Window</link> if you need GMenu support.</p>
</td>
</tr>
</table>
diff --git a/platform-demos/C/window.js.page b/platform-demos/C/window.js.page
index 01f6047..0b396ac 100644
--- a/platform-demos/C/window.js.page
+++ b/platform-demos/C/window.js.page
@@ -24,7 +24,7 @@
<p>A minimal GtkApplication</p>
</td>
<td>
- <p>Use <link href="GtkApplicationWindow.js.page">ApplicationWindow</link> if you need GMenu support.</p>
+ <p>Use <link xref="GtkApplicationWindow.js">ApplicationWindow</link> if you need GMenu support.</p>
</td>
</tr>
</table>
diff --git a/platform-demos/C/window.py.page b/platform-demos/C/window.py.page
index ff2a97a..9295c3b 100644
--- a/platform-demos/C/window.py.page
+++ b/platform-demos/C/window.py.page
@@ -17,12 +17,20 @@
</info>
<title>Window</title>
- <media type="image" mime="image/png" src="media/window.png"/>
- <p>A minimal Gtk+ Application.</p>
- <code mime="text/x-python" style="numbered">
-<xi:include href="samples/window.py" parse="text"><xi:fallback/></xi:include>
-</code>
+<table>
+ <tr>
+ <td>
+ <media type="image" mime="image/png" src="media/window.png"/>
+ <p>A minimal Gtk+ Application.</p>
+ </td>
+ <td>
+ <p>Use <link xref="GtkApplicationWindow.py">Application Window</link> if you need GMenu support.</p>
+ </td>
+ </tr>
+</table>
+
+<code mime="text/x-python" style="numbered"><xi:include href="samples/window.py" parse="text"><xi:fallback/></xi:include></code>
<p>
In this sample we used the following:
</p>
diff --git a/platform-demos/C/window.vala.page b/platform-demos/C/window.vala.page
index 2046cd4..ebcebbc 100644
--- a/platform-demos/C/window.vala.page
+++ b/platform-demos/C/window.vala.page
@@ -24,13 +24,11 @@
<p>The simplest Gtk.Application</p>
</td>
<td>
- <p>Use <link href="GtkApplicationWindow.vala.page">Application Window</link> if you need GMenu support.</p>
+ <p>Use <link xref="GtkApplicationWindow.vala">Application Window</link> if you need GMenu support.</p>
</td>
</tr>
</table>
- <code mime="text/x-vala" style="numbered">
-<xi:include href="samples/window.vala" parse="text"><xi:fallback/></xi:include>
-</code>
+<code mime="text/x-vala" style="numbered"><xi:include href="samples/window.vala" parse="text"><xi:fallback/></xi:include></code>
<p>
In this sample we used the following:
</p>
diff --git a/platform-demos/Makefile.am b/platform-demos/Makefile.am
index 992ba8a..c66f4c7 100644
--- a/platform-demos/Makefile.am
+++ b/platform-demos/Makefile.am
@@ -76,6 +76,7 @@ demo_sources = \
samples/toolbar.vala \
samples/treeview_simple_liststore.vala \
samples/window.c \
+ samples/window.js \
samples/window.py \
samples/window.vala \
media/gnome-devtools.catalog
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]