[gnome-devel-docs/wip/for-kat: 3/5] Headline names changes, id changes



commit f16c0ee06081832b24dc87f1673f2f44cab85e31
Author: Bastian Ilsø <bastianilso src gnome org>
Date:   Mon Jan 26 18:39:50 2015 +0000

    Headline names changes, id changes
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743552

 platform-demos/C/c.page               |   30 ++++++++++++++++++++++++------
 platform-demos/C/guitar-tuner.c.page  |    2 +-
 platform-demos/C/hello-world.c.page   |    2 +-
 platform-demos/C/image-viewer.c.page  |    2 +-
 platform-demos/C/message-board.c.page |    2 +-
 platform-demos/C/photo-wall.c.page    |    2 +-
 6 files changed, 29 insertions(+), 11 deletions(-)
---
diff --git a/platform-demos/C/c.page b/platform-demos/C/c.page
index 0326ee5..76c57d6 100644
--- a/platform-demos/C/c.page
+++ b/platform-demos/C/c.page
@@ -1,6 +1,6 @@
 <page xmlns="http://projectmallard.org/1.0/";
       xmlns:its="http://www.w3.org/2005/11/its";
-      xmlns:ui="http://projectmallard.org/experimental/ui/";
+      xmlns:ui="http://projectmallard.org/ui/1.0/";
       type="guide"
       id="c">
 <info>
@@ -13,7 +13,7 @@
   </credit>
 </info>
 
-<title>Platform Demos in C</title>
+<title>Tutorials and code examples in C</title>
 <section id="prerequisites" >
   <title>Prerequisites</title>
 
@@ -21,9 +21,9 @@
 
 </section> 
 
-<section id="For beginners" ui:expanded="false">
+<section id="for-beginners" ui:expanded="false">
   <title>Guidelines for new developers</title>
-  <p>Several tools has been developed to assist you in developing your GNOME application. GNOME also 
recommends a specific coding style and conventions which this section will elaborate further upon.</p>
+  <p>Beyond the prerequisites mentioned above, several tools has been developed to assist you further in 
developing your GNOME application. GNOME also recommends a specific coding style and conventions which this 
section will elaborate further upon.</p>
   <section id="recommended-tools">
     <title>Recommended tools</title>
     <list>
@@ -37,7 +37,7 @@
       <p><link href="http://glade.gnome.org/";>Glade</link>: A user interface designer for GTK+ 
Applications.</p>
     </item>
     <item>
-      <p>An IRC Client, for example <link href="https://wiki.gnome.org/Apps/Polari";>Polari</link> or <link 
href="https://wiki.gnome.org/Apps/Empathy";>Empathy</link>. If you run into problems while following the 
beginner tutorials, join #gnome on GimpNet.</p>
+      <p>An IRC Client, for example <link href="https://wiki.gnome.org/Apps/Polari";>Polari</link> or <link 
href="https://wiki.gnome.org/Apps/Empathy";>Empathy</link>. If you run into problems while following the 
beginner tutorials, join #gnome on <em>irc.gnome.org</em>.</p>
     </item>
     </list> 
   </section>
@@ -46,11 +46,29 @@
     <title>Coding Style</title>
     <p>Most applications in the GNOME project is written in the <link 
href="http://en.wikipedia.org/wiki/Indent_style#GNU_style";>GNU style</link> of indentation. The tutorials and 
code examples presented are following this convention and you are recommended to do so too.</p>
   </section>
+
+  <section id="executing-code">
+    <title>Executing Code</title>
+    <p>
+    To run the code samples:
+    </p>
+    <steps>
+      <item><p>Copy and paste the code into <var>filename</var>.c</p></item>
+      <item><p>In the terminal type:</p>
+        <screen>gcc <var>filename</var>.c `pkg-config --cflags --libs gtk+-3.0` -o <var>filename</var>
+        </screen>
+        <screen>./<var>filename</var></screen>
+      </item>
+    </steps>
+    <note>
+      <p>For more information about compiling GTK+ programs see <link 
href="http://developer.gnome.org/gtk3/3.4/gtk-compiling.html";>Compiling GTK+ Applications on UNIX</link>.</p>
+    </note>
+  </section>
 </section>
 
 <links type="section" />
 
-<section id="examples">
+<section id="tutorials">
 <title>Tutorials</title>
 
 </section>
diff --git a/platform-demos/C/guitar-tuner.c.page b/platform-demos/C/guitar-tuner.c.page
index 70b9712..e2e4597 100644
--- a/platform-demos/C/guitar-tuner.c.page
+++ b/platform-demos/C/guitar-tuner.c.page
@@ -6,7 +6,7 @@
 
   <info>
     <title type="text">Guitar tuner (C)</title>
-    <link type="guide" xref="c#examples"/>
+    <link type="guide" xref="c#tutorials"/>
 
     <desc>Use GTK+ and GStreamer to build a simple guitar tuner application for GNOME. Shows off how to use 
the interface designer.</desc>
 
diff --git a/platform-demos/C/hello-world.c.page b/platform-demos/C/hello-world.c.page
index 06b58d5..6e68fd4 100644
--- a/platform-demos/C/hello-world.c.page
+++ b/platform-demos/C/hello-world.c.page
@@ -8,7 +8,7 @@
   <info>
   <title type="text">Hello World (C)</title>
     <desc>How to create GTK+ 3 Hello World dialog in C.</desc>
-    <link type="guide" xref="c#examples"/>
+    <link type="guide" xref="c#tutorials"/>
 
     <revision version="0.1" date="2013-06-17" status="review"/>
 
diff --git a/platform-demos/C/image-viewer.c.page b/platform-demos/C/image-viewer.c.page
index ad3ce49..94a9035 100644
--- a/platform-demos/C/image-viewer.c.page
+++ b/platform-demos/C/image-viewer.c.page
@@ -6,7 +6,7 @@
 
   <info>
     <title type="text">Image viewer (C)</title>
-    <link type="guide" xref="c#examples"/>
+    <link type="guide" xref="c#tutorials"/>
 
     <desc>A little bit more than a simple "Hello world" Gtk application.</desc>
 
diff --git a/platform-demos/C/message-board.c.page b/platform-demos/C/message-board.c.page
index 85825c5..21abd66 100644
--- a/platform-demos/C/message-board.c.page
+++ b/platform-demos/C/message-board.c.page
@@ -6,7 +6,7 @@
 
   <info>
     <title type="text">Message board (C)</title>
-    <link type="guide" xref="c#examples"/>
+    <link type="guide" xref="c#tutorials"/>
 
     <desc>A simple program using WebKitGTK+ and the DOM.</desc>
 
diff --git a/platform-demos/C/photo-wall.c.page b/platform-demos/C/photo-wall.c.page
index 7019725..2f36e03 100644
--- a/platform-demos/C/photo-wall.c.page
+++ b/platform-demos/C/photo-wall.c.page
@@ -5,7 +5,7 @@
       id="photo-wall.c">
   <info>
     <title type="text">Photo wall (C)</title>
-    <link type="guide" xref="c#examples"/>
+    <link type="guide" xref="c#tutorials"/>
 
     <desc>A Clutter image viewer</desc>
 


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