[gnome-devel-docs] platform-demos/C: fixed broken hrefs
- From: Tiffany Antopolski <antopolski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] platform-demos/C: fixed broken hrefs
- Date: Mon, 17 Jun 2013 04:13:49 +0000 (UTC)
commit 29fc0d00d5a5454dbb45f7566ea7bee7c59fd7cc
Author: Tiffany Ann Antopolski <tiffany antopolski gmail com>
Date: Mon Jun 17 00:13:00 2013 -0400
platform-demos/C: fixed broken hrefs
platform-demos/C/02_welcome_to_the_grid.js.page | 2 +-
platform-demos/C/combobox.js.page | 4 ++--
platform-demos/C/helloWorld.js.page | 4 ++--
platform-demos/C/image-viewer.js.page | 2 +-
platform-demos/C/radiobutton.js.page | 2 +-
platform-demos/C/scrolledwindow.c.page | 2 +-
platform-demos/C/statusbar.c.page | 2 +-
platform-demos/C/statusbar.js.page | 4 ++--
platform-demos/C/treeview_simple_liststore.js.page | 2 +-
9 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/platform-demos/C/02_welcome_to_the_grid.js.page b/platform-demos/C/02_welcome_to_the_grid.js.page
index 216f167..e77791a 100644
--- a/platform-demos/C/02_welcome_to_the_grid.js.page
+++ b/platform-demos/C/02_welcome_to_the_grid.js.page
@@ -247,7 +247,7 @@ app.application.run (ARGV);
<p>That gives us this, when we run it:</p>
<media type="image" mime="image/png" src="media/02_jsgrid_08.png"/>
- <p>That's what the stock "About" icon looks like. You can see a list of all the stock items starting
with gtk-about in <link
href="http://developer.gnome.org/gtk/2.24/gtk-Stock-Items.html#GTK-STOCK-ABOUT:CAPS">GNOME's developer
documentation</link>. It was written for C programmers, but you don't need to know C to use it; just look at
the part in quotation marks, like "gtk-about", and copy that part to use the icon next to it.</p>
+ <p>That's what the stock "About" icon looks like. You can see a list of all the stock items starting
with gtk-about in <link
href="https://developer.gnome.org/gtk3/3.4/gtk3-Stock-Items.html#GTK-STOCK-ABOUT:CAPS">GNOME's developer
documentation</link>. It was written for C programmers, but you don't need to know C to use it; just look at
the part in quotation marks, like "gtk-about", and copy that part to use the icon next to it.</p>
<note style="tip"><p>We put single quotes around 'gtk-about' here because, unlike text strings that have
double quotes around them, that part will never need to be translated into another language. In fact, if it
<em>were</em> translated it'd break the icon, because its name is still "gtk-about" no matter which language
you speak.</p></note>
</section>
diff --git a/platform-demos/C/combobox.js.page b/platform-demos/C/combobox.js.page
index 42bd7f1..0fbc4b5 100644
--- a/platform-demos/C/combobox.js.page
+++ b/platform-demos/C/combobox.js.page
@@ -91,7 +91,7 @@ const ComboBoxExample = new Lang.Class ({
GObject.TYPE_STRING,
GObject.TYPE_STRING]);
]]></code>
- <p>This ListStore works like the one used in the <link
xref="treeview_simple_liststore.js">TreeView</link> example. We're giving it two columns, both strings,
because one of them will contain the names of <link
href="http://developer.gnome.org/gtk/2.24/gtk-Stock-Items.html#GTK-STOCK-ABOUT:CAPS">stock Gtk
icons</link>.</p>
+ <p>This ListStore works like the one used in the <link
xref="treeview_simple_liststore.js">TreeView</link> example. We're giving it two columns, both strings,
because one of them will contain the names of <link
href="https://developer.gnome.org/gtk3/3.4/gtk3-Stock-Items.html">stock Gtk icons</link>.</p>
<p>If we'd wanted to use our own icons that weren't already built in to GNOME, we'd have needed to use
the <file>gtk.gdk.Pixbuf</file> type instead. Here are a few other types you can use:</p>
<list>
<item><p><file>GObject.TYPE_BOOLEAN</file> -- True or false</p></item>
@@ -237,7 +237,7 @@ app.application.run (ARGV);
<item><p><link
href="http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Application.html">Gtk.Application</link></p></item>
<item><p><link
href="http://developer.gnome.org/gtk3/stable/GtkApplicationWindow.html">Gtk.ApplicationWindow</link></p></item>
<item><p><link
href="http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.CellRendererPixbuf.html">Gtk.CellRendererPixbuf</link></p></item>
- <item><p><link
href="www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.CellRendererText.html">Gtk.CellRendererText</link></p></item>
+ <item><p><link
href="http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.CellRendererText.html">Gtk.CellRendererText</link></p></item>
<item><p><link
href="http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.ComboBox.html">Gtk.ComboBox</link></p></item>
<item><p><link
href="http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.ListStore.html">Gtk.ListStore</link></p></item>
<item><p><link
href="http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.MessageDialog.html">Gtk.MessageDialog</link></p></item>
diff --git a/platform-demos/C/helloWorld.js.page b/platform-demos/C/helloWorld.js.page
index 6c93a4d..217fc14 100644
--- a/platform-demos/C/helloWorld.js.page
+++ b/platform-demos/C/helloWorld.js.page
@@ -124,7 +124,7 @@ app.application.run(ARGV);]]></code>
<section id="desktop.in"><title>The <file>.desktop.in</file> file</title>
- <p>Running applications from the Terminal is useful at the beginning of the application making
process. To have fully working <link href=
"http://library.gnome.org/admin/system-admin-guide/stable/mimetypes-9.html.en">application integration</link>
in GNOME 3 requires a desktop launcher. For this you need to create a <file>.desktop</file> file. The
<file>.desktop</file> file describes the application name, the used icon and various integration bits. A
deeper insight into the <file>.desktop</file> file can be found <link href=
"http://developer.gnome.org/desktop-entry-spec/">here</link>. The <file>.desktop.in</file> file will create
the <file>.desktop</file>.</p>
+ <p>Running applications from the Terminal is useful at the beginning of the application making
process. To have fully working <link href=
"https://developer.gnome.org/integration-guide/stable/mime.html.en">application integration</link> in GNOME 3
requires a desktop launcher. For this you need to create a <file>.desktop</file> file. The
<file>.desktop</file> file describes the application name, the used icon and various integration bits. A
deeper insight into the <file>.desktop</file> file can be found <link href=
"http://developer.gnome.org/desktop-entry-spec/">here</link>. The <file>.desktop.in</file> file will create
the <file>.desktop</file>.</p>
<note>
<p>Before continuing, resave <file>helloWorld.js</file> as <file>helloWorld</file>. Then run this in
the command line:</p>
@@ -143,7 +143,7 @@ app.application.run(ARGV);]]></code>
</terms>
<p>To put your application into the appropriate category, you need to add the necessary categories to
the Categories line. More information on the different categories can be found in the <link href =
"http://standards.freedesktop.org/menu-spec/latest/apa.html">menu specification</link>.</p>
- <p>In this example we use an existing icon. For a custom icon you need to have a .svg file of your icon,
stored in <file>/usr/share/icons/hicolor/scalable/apps</file>. Write the name of your icon file to the
.desktop.in file, on line 7. More information on icons in: <link
href="http://library.gnome.org/admin/system-admin-guide/stable/themes-11.html.en"> Installing Icons for
Themes </link>, <link href="https://live.gnome.org/GnomeGoals/AppIcon">Installing Icons for Themes</link> and
<link href="http://freedesktop.org/wiki/Specifications/icon-theme-spec">on freedesktop.org:
Specifications/icon-theme-spec</link>.</p>
+ <p>In this example we use an existing icon. For a custom icon you need to have a .svg file of your icon,
stored in <file>/usr/share/icons/hicolor/scalable/apps</file>. Write the name of your icon file to the
.desktop.in file, on line 7. More information on icons in: <link
href="https://live.gnome.org/GnomeGoals/AppIcon">Installing Icons for Themes</link> and <link
href="http://freedesktop.org/wiki/Specifications/icon-theme-spec">on freedesktop.org:
Specifications/icon-theme-spec</link>.</p>
</section>
<section id="autotools"><title>The build system</title>
diff --git a/platform-demos/C/image-viewer.js.page b/platform-demos/C/image-viewer.js.page
index f32b380..22a2b68 100644
--- a/platform-demos/C/image-viewer.js.page
+++ b/platform-demos/C/image-viewer.js.page
@@ -194,7 +194,7 @@ b.connect ("clicked", button_clicked);]]></code>
<p>The syntax for connecting any signal to a function is:</p>
<code mime="application/javascript"><![CDATA[
object.connect (<signal_name>, <function_to_be_called>);]]></code>
- <p>You can find signal definitions for any object in the <link
href="http://library.gnome.org/devel/gtk/stable/ch01.html">GTK class reference</link>.</p>
+ <p>You can find signal definitions for any object in the <link
href="https://developer.gnome.org/gtk3/stable/gtkobjects.html">GTK class reference</link>.</p>
<note>
<p>You can simplify the code by making use of an inline function definition:</p>
diff --git a/platform-demos/C/radiobutton.js.page b/platform-demos/C/radiobutton.js.page
index aa20304..20f8a10 100644
--- a/platform-demos/C/radiobutton.js.page
+++ b/platform-demos/C/radiobutton.js.page
@@ -127,7 +127,7 @@ const RadioButtonExample = new Lang.Class({
this._okButton.connect ('clicked', Lang.bind (this, this._okClicked));
]]></code>
<p>This code creates a <link xref="button.js">Gtk.Button</link> and binds it to a function which will
show people a silly message when they click OK, depending on which RadioButtons were selected.</p>
- <p>To make sure the button's "OK" label shows up properly in every language that GNOME is translated
into, remember to use one of Gtk's <link
href="http://developer.gnome.org/gtk/2.24/gtk-Stock-Items.html">stock button types</link>.</p>
+ <p>To make sure the button's "OK" label shows up properly in every language that GNOME is translated
into, remember to use one of Gtk's <link
href="https://developer.gnome.org/gtk3/3.4/gtk3-Stock-Items.html">stock button types</link>.</p>
<code mime="application/javascript"><![CDATA[
// Create a grid to put the "place" items in
diff --git a/platform-demos/C/scrolledwindow.c.page b/platform-demos/C/scrolledwindow.c.page
index bcc5c48..d9021bd 100644
--- a/platform-demos/C/scrolledwindow.c.page
+++ b/platform-demos/C/scrolledwindow.c.page
@@ -33,6 +33,6 @@
<item><p><link
href="http://developer.gnome.org/gtk3/stable/GtkApplication.html">GtkApplication</link></p></item>
<item><p><link href="http://developer.gnome.org/gtk3/stable/GtkWindow.html">GtkWindow</link></p></item>
<item><p><link
href="http://developer.gnome.org/gtk3/stable/GtkScrolledWindow.html">GtkScrolledWindow</link></p></item>
- <item><p><link
href="http://developer.gnome.org/gtk/stable/gtk-Standard-Enumerations.html#GtkPolicyType">GtkPolicyType</link></p></item>
+ <item><p><link
href="http://developer.gnome.org/gtk/stable/gtk3-Standard-Enumerations.html#GtkPolicyType">GtkPolicyType</link></p></item>
</list>
</page>
diff --git a/platform-demos/C/statusbar.c.page b/platform-demos/C/statusbar.c.page
index 9b03a23..e0061f7 100644
--- a/platform-demos/C/statusbar.c.page
+++ b/platform-demos/C/statusbar.c.page
@@ -34,7 +34,7 @@
<list>
<item><p><link
href="http://developer.gnome.org/gtk3/3.4/GtkApplication.html">GtkApplication</link></p></item>
<item><p><link href="http://developer.gnome.org/gtk3/3.4/GtkWindow.html">GtkWindow</link></p></item>
- <item><p><link
href="http://developer.gnome.org/gtk3/stable/GtkStatusbar.htmll">GtkStatusBar</link></p></item>
+ <item><p><link
href="http://developer.gnome.org/gtk3/stable/GtkStatusbar.html">GtkStatusBar</link></p></item>
<item><p><link
href="http://developer.gnome.org/glib/stable/glib-String-Utility-Functions.html#g-snprintf">String Utility
Functions</link></p></item>
<item><p><link href="http://developer.gnome.org/gtk3/stable/GtkGrid.html">GtkGrid</link></p></item>
</list>
diff --git a/platform-demos/C/statusbar.js.page b/platform-demos/C/statusbar.js.page
index 2b487a7..a695fd2 100644
--- a/platform-demos/C/statusbar.js.page
+++ b/platform-demos/C/statusbar.js.page
@@ -80,7 +80,7 @@ const StatusbarExample = new Lang.Class({
this._panes = new Gtk.Paned ({
orientation: Gtk.Orientation.VERTICAL });
]]></code>
- <p>The _buildUI function is where we put all the code to create the application's user interface. The
first step is creating a new <link href="GtkApplicationWindow.js.page">Gtk.ApplicationWindow</link> to put
all our widgets into. The next step is to create a vertically-oriented <link
href="paned.js.page">Gtk.Paned</link> interface, to divide the window up into two sections. This way the
statusbar looks like those used in other applications, and it stays at the bottom of the window, even if the
user resizes it.</p>
+ <p>The _buildUI function is where we put all the code to create the application's user interface. The
first step is creating a new <link href="GtkApplicationWindow.js.page">Gtk.ApplicationWindow</link> to put
all our widgets into. The next step is to create a vertically-oriented Gtk.Paned interface, to divide the
window up into two sections. This way the statusbar looks like those used in other applications, and it stays
at the bottom of the window, even if the user resizes it.</p>
</section>
<section id="buttons">
@@ -103,7 +103,7 @@ const StatusbarExample = new Lang.Class({
use_stock: true });
this._clearButton.connect ("clicked", Lang.bind (this, this._clear));
]]></code>
- <p>This code creates the three <link href="button.js.page">Gtk.Buttons</link> we'll use to push a new
message to the statusbar, pop the last one off, and clear all existing messages. The "back" and "clear"
buttons are <link href="http://developer.gnome.org/gtk/2.24/gtk-Stock-Items.html">stock buttons</link>, which
are automatically translated into any language GNOME supports.</p>
+ <p>This code creates the three <link href="button.js.page">Gtk.Buttons</link> we'll use to push a new
message to the statusbar, pop the last one off, and clear all existing messages. The "back" and "clear"
buttons are <link href="https://developer.gnome.org/gtk3/3.4/gtk3-Stock-Items.html">stock buttons</link>,
which are automatically translated into any language GNOME supports.</p>
<code mime="application/javascript"><![CDATA[
// Put the buttons in a grid
diff --git a/platform-demos/C/treeview_simple_liststore.js.page
b/platform-demos/C/treeview_simple_liststore.js.page
index 08b3455..c124452 100644
--- a/platform-demos/C/treeview_simple_liststore.js.page
+++ b/platform-demos/C/treeview_simple_liststore.js.page
@@ -275,7 +275,7 @@ app.application.run (ARGV);
<list>
<item><p><link
href="http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gtk.Application.html">Gtk.Application</link></p></item>
<item><p><link
href="http://developer.gnome.org/gtk3/stable/GtkApplicationWindow.html">Gtk.ApplicationWindow</link></p></item>
- <item><p><link
href="www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.CellRendererText.html">Gtk.CellRendererText</link></p></item>
+ <item><p><link
href="http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.CellRendererText.html">Gtk.CellRendererText</link></p></item>
<item><p><link
href="http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.ListStore.html">Gtk.ListStore</link></p></item>
<item><p><link
href="http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.TreeIter.html">Gtk.TreeIter</link></p></item>
<item><p><link
href="http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Gtk.TreeSelection.html">Gtk.TreeSelection</link></p></item>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]