[gnome-devel-docs] Minor edits.



commit a221380ec6a0a2b33a88021d0db548d5a077bd75
Author: Michael Hill <mdhill src gnome org>
Date:   Tue Aug 14 17:37:03 2012 -0400

    Minor edits.

 platform-demos/C/helloWorld.js.page        |   15 ++++++---------
 platform-demos/C/samples/helloWorld/README |    9 +++++----
 2 files changed, 11 insertions(+), 13 deletions(-)
---
diff --git a/platform-demos/C/helloWorld.js.page b/platform-demos/C/helloWorld.js.page
index 055fc84..538c31e 100644
--- a/platform-demos/C/helloWorld.js.page
+++ b/platform-demos/C/helloWorld.js.page
@@ -123,17 +123,17 @@ 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 a 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 to <file>.desktop</file> file can be found <link href= "http://developer.gnome.org/desktop-entry-spec/";>here</link>. The <file>.desktop.in</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= "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 <file>.desktop</file>.</p>
 
   <note>
-       <p>Before continuing, resave <file>helloWorld.js</file> as <file>helloWorld</file>.  The run this in the command line:</p>
+       <p>Before continuing, resave <file>helloWorld.js</file> as <file>helloWorld</file>.  Then run this in the command line:</p>
       <screen><output style="prompt">$ </output><input>chmod +x helloWorld</input></screen>
   </note>
 
     <p>The example shows you the minimum requirements for a <code>.desktop.in</code> file.</p>
     <code mime="text/desktop" style="numbered"><xi:include href="samples/helloWorld/helloWorld.desktop.in" parse="text"><xi:fallback/></xi:include></code>
 
-    <p>Now let's go through some parts of the  <code>.desktop.in</code> file.</p>
+    <p>Now let's go through some parts of the <code>.desktop.in</code> file.</p>
     <list>
       <item><p>Name: This is the application name.</p></item>
       <item><p>Comment: A short description of the application.</p></item>
@@ -141,10 +141,8 @@ app.application.run(ARGV);]]></code>
       <item><p>Terminal: Specifies whether the command in the Exec key runs in a terminal window.</p></item>
     </list>
 
-    <p>If you want your  <code>.desktop</code> file to exist as a part of the system, copy your  <code>.desktop</code> file to this directory: ~/.local/share/applications</p>
-
     <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 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, store it to /usr/share/icons/hicolor/scalable/apps. Write the name of your icon file to the .desktop 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 to /usr/share/icons/hicolor/scalable/apps. 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>
   </section>
 
   <section id="autotools"><title>The build system</title>
@@ -155,8 +153,7 @@ app.application.run(ARGV);]]></code>
       <section id="autogen"><title>autogen.sh</title>
         <code mime="text/desktop" style="numbered"><xi:include href="samples/helloWorld/autogen.sh" parse="text"><xi:fallback/></xi:include></code>
 
-      <p><file>autogen.sh</file> file will install</p>
-      <p>After the <file>autogen.sh</file> file is ready and saved run:</p>
+      <p>After the <file>autogen.sh</file> file is ready and saved, run:</p>
       <screen><output style="prompt">$ </output><input>chmod +x autogen.sh</input></screen>
     </section>
 
@@ -172,7 +169,7 @@ app.application.run(ARGV);]]></code>
 
 
     <section id="readme"><title>README</title>
-       <p>Information user should read first. This file can be blank.</p>
+       <p>Information users should read first. This file can be blank.</p>
 
        <p>When you have the <file>helloWorld</file>, <file>helloWorld.desktop.in</file>, <file>Makefile.am</file>, <file>configure.ac</file> and <file>autogen.sh</file> files with correct information and rights, the <file>README</file> file can include the following instructions:</p>
       <code mime="text/readme" style="numbered"><xi:include href="samples/helloWorld/README" parse="text"><xi:fallback/></xi:include></code>
diff --git a/platform-demos/C/samples/helloWorld/README b/platform-demos/C/samples/helloWorld/README
index 97d4148..e21367d 100644
--- a/platform-demos/C/samples/helloWorld/README
+++ b/platform-demos/C/samples/helloWorld/README
@@ -1,6 +1,6 @@
 To build and install this program:
 
-./autogen.sh --prefix=home/path/to/directory/you/want/to/install
+./autogen.sh --prefix=/home/your_username/.local
 make install
 
 -------------
@@ -17,10 +17,10 @@ missing
 Makefile.in
 Makefile
 
-Running "make install", installs the application in home/path/to/directory/you/want/to/install/bin
-and install the helloWorld.desktop file in home/path/to/directory/you/want/to/install/share/applications
+Running "make install", installs the application in /home/your_username/.local/bin
+and installs the helloWorld.desktop file in /home/your_username/.local/share/applications
 
-You can now run the application by typeing "Hello World" in the Overview.
+You can now run the application by typing "Hello World" in the Overview.
 
 ----------------
 To uninstall, type:
@@ -33,3 +33,4 @@ To create a tarball type:
 make distcheck
 
 This will create hello-world-1.0.tar.xz
+



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