[gimp-help-2] Add new src directory menus/filters/



commit 51a5aaa2098a1e1dce7786f0874da7abf77d658a
Author: Ulf-D. Ehlert <ulfehlert svn gnome org>
Date:   Mon Aug 24 20:02:04 2009 +0200

    Add new src directory menus/filters/
    
    Move xtns-script-fu.xml to filters/script-fu.xml,
    move menus/filter-*.xml to menus/filter/*.xml.

 src/menus/filters.xml                              |   18 ++-
 .../introduction.xml}                              |    0
 .../{filter-repeat.xml => filters/repeat.xml}      |    0
 .../reset-all.xml}                                 |    0
 .../{filter-reshow.xml => filters/reshow.xml}      |    0
 .../{xtns-script-fu.xml => filters/script-fu.xml}  |  145 ++++++--------------
 6 files changed, 50 insertions(+), 113 deletions(-)
---
diff --git a/src/menus/filters.xml b/src/menus/filters.xml
index 91c0fa6..69fc7c7 100644
--- a/src/menus/filters.xml
+++ b/src/menus/filters.xml
@@ -2,9 +2,10 @@
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
                        "http://www.docbook.org/xml/4.3/docbookx.dtd";>
 <!--section history:
-    2009-02-02 j.h: moved xtns-scrip-fu.xml from the deprecated Toolbox/Xtns
-    2006-01-21 en;fr reviewed by j.h
-    2005/11/20 split off to one file per command; de created by axel.wernicke
+  2009-08-24 ude: moved/renamed xtns-script-fu.xml to filters/script-fu.xml
+  2009-02-02 j.h: moved xtns-script-fu.xml from the deprecated Toolbox/Xtns
+  2006-01-21 en;fr reviewed by j.h
+  2005-11-20 split off to one file per command; de created by axel.wernicke
 -->
 <sect1 xmlns:xi="http://www.w3.org/2001/XInclude"; id="gimp-imagewindow-menus-filters">
   <title>The <quote>Filters</quote> Menu</title>
@@ -13,11 +14,12 @@
     <primary>Menus</primary>
     <secondary>Filters</secondary>
   </indexterm>
-  <xi:include href="filter-introduction.xml"/>
-  <xi:include href="filter-repeat.xml"/>
-  <xi:include href="filter-reshow.xml"/>
-  <xi:include href="filter-reset-all.xml"/>
+  <xi:include href="filters/introduction.xml"/>
+  <!-- ... -->
+  <xi:include href="filters/repeat.xml"/>
+  <xi:include href="filters/reshow.xml"/>
+  <xi:include href="filters/reset-all.xml"/>
   <!-- ... -->
   <!--TODO xi:include href="filters/python-fu.xml"/-->
-  <xi:include href="xtns-script-fu.xml"/>
+  <xi:include href="filters/script-fu.xml"/>
 </sect1>
diff --git a/src/menus/filter-introduction.xml b/src/menus/filters/introduction.xml
similarity index 100%
rename from src/menus/filter-introduction.xml
rename to src/menus/filters/introduction.xml
diff --git a/src/menus/filter-repeat.xml b/src/menus/filters/repeat.xml
similarity index 100%
rename from src/menus/filter-repeat.xml
rename to src/menus/filters/repeat.xml
diff --git a/src/menus/filter-reset-all.xml b/src/menus/filters/reset-all.xml
similarity index 100%
rename from src/menus/filter-reset-all.xml
rename to src/menus/filters/reset-all.xml
diff --git a/src/menus/filter-reshow.xml b/src/menus/filters/reshow.xml
similarity index 100%
rename from src/menus/filter-reshow.xml
rename to src/menus/filters/reshow.xml
diff --git a/src/menus/xtns-script-fu.xml b/src/menus/filters/script-fu.xml
similarity index 72%
rename from src/menus/xtns-script-fu.xml
rename to src/menus/filters/script-fu.xml
index c4da6d1..fc94c7a 100644
--- a/src/menus/xtns-script-fu.xml
+++ b/src/menus/filters/script-fu.xml
@@ -2,19 +2,19 @@
 <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
                        "http://www.docbook.org/xml/4.3/docbookx.dtd";>
 <!-- section history:
+     2009-08-24 ude: moved to filters/ and changed id
      2008-06-07 ude: added new sections: Refresh, Console, Server
      2005-11-24 split of from menus-toolbox.xml by axel.wernicke
 -->
-<sect2 id="gimp-xtns-script-fu">
+<sect2 id="gimp-filters-script-fu">
   <title>The <quote>Script-Fu</quote> Submenu</title>
+
   <indexterm>
     <primary>Script-Fu</primary>
     <secondary>Sub-menu</secondary>
   </indexterm>
   <figure>
-    <title>
-      The <quote>Script-Fu</quote> submenu
-    </title>
+    <title>The <quote>Script-Fu</quote> submenu</title>
     <mediaobject>
       <imageobject>
         <imagedata fileref="images/menus/script-fu.png" format="PNG"/>
@@ -29,8 +29,9 @@
     <!--
         These scripts create a new image: they are
         <link linkend="standalone-script-fu">stand-alone scripts</link>.
-        -->
+    -->
   </para>
+
   <sect3>
     <title>Activating the submenu</title>
     <itemizedlist>
@@ -92,9 +93,7 @@
     <variablelist>
       <title>The Script-Fu Console Buttons</title>
       <varlistentry>
-        <term>
-          <phrase>Browse</phrase>
-        </term>
+        <term>Browse</term>
         <listitem>
           <para>
             This button is next to the Scheme commands textbox. When
@@ -136,9 +135,7 @@
         </listitem>
       </varlistentry>
       <varlistentry>
-        <term>
-          <phrase>Close</phrase>
-        </term>
+        <term>Close</term>
         <listitem>
           <para>
             Pressing this button closes the  Script-Fu console.
@@ -146,9 +143,7 @@
         </listitem>
       </varlistentry>
       <varlistentry>
-        <term>
-          <phrase>Clear</phrase>
-        </term>
+        <term>Clear</term>
         <listitem>
           <para>
             Wenn you click on this button, the content of the main window will
@@ -158,9 +153,7 @@
         </listitem>
       </varlistentry>
       <varlistentry>
-        <term>
-          <phrase>Save</phrase>
-        </term>
+        <term>Save</term>
         <listitem>
           <para>
             This command lets you save the content of the main window, that is
@@ -189,9 +182,7 @@
     </figure>
     <variablelist>
       <varlistentry>
-        <term>
-          <phrase>Server Port</phrase>
-        </term>
+        <term>Server Port</term>
         <listitem>
           <para>
             The port number where the Script-Fu server will listen. It is
@@ -201,9 +192,7 @@
         </listitem>
       </varlistentry>
       <varlistentry>
-        <term>
-          <phrase>Server Logfile</phrase>
-        </term>
+        <term>Server Logfile</term>
         <listitem>
           <para>
             Optionally you can specify the name of a file the server will use
@@ -229,50 +218,26 @@
           <tgroup cols="3">
             <thead>
               <row>
-                <entry>
-                  <phrase>Byte #</phrase>
-                </entry>
-                <entry>
-                  <phrase>Content</phrase>
-                </entry>
-                <entry>
-                  <phrase>Description</phrase>
-                </entry>
+                <entry>Byte #</entry>
+                <entry>Content</entry>
+                <entry>Description</entry>
               </row>
             </thead>
             <tbody>
               <row>
-                <entry>
-                  <phrase>0</phrase>
-                </entry>
-                <entry>
-                  <phrase>0x47</phrase>
-                </entry>
-                <entry>
-                  <phrase>Magic byte ('G')</phrase>
-                </entry>
+                <entry>0</entry>
+                <entry>0x47</entry>
+                <entry>Magic byte ('G')</entry>
               </row>
               <row>
-                <entry>
-                  <phrase>1</phrase>
-                </entry>
-                <entry>
-                  <phrase>L div 256</phrase>
-                </entry>
-                <entry>
-                  <phrase>High byte of <code>L</code></phrase>
-                </entry>
+                <entry>1</entry>
+                <entry>L div 256</entry>
+                <entry>High byte of <code>L</code></entry>
               </row>
               <row>
-                <entry>
-                  <phrase>2</phrase>
-                </entry>
-                <entry>
-                  <phrase>L mod 256</phrase>
-                </entry>
-                <entry>
-                  <phrase>Low byte of <code>L</code></phrase>
-                </entry>
+                <entry>2</entry>
+                <entry>L mod 256</entry>
+                <entry>Low byte of <code>L</code></entry>
               </row>
             </tbody>
           </tgroup>
@@ -288,61 +253,31 @@
           <tgroup cols="3">
             <thead>
               <row>
-                <entry>
-                  <phrase>Byte #</phrase>
-                </entry>
-                <entry>
-                  <phrase>Content</phrase>
-                </entry>
-                <entry>
-                  <phrase>Description</phrase>
-                </entry>
+                <entry>Byte #</entry>
+                <entry>Content</entry>
+                <entry>Description</entry>
               </row>
             </thead>
             <tbody>
               <row>
-                <entry>
-                  <phrase>0</phrase>
-                </entry>
-                <entry>
-                  <phrase>0x47</phrase>
-                </entry>
-                <entry>
-                  <phrase>Magic byte ('G')</phrase>
-                </entry>
+                <entry>0</entry>
+                <entry>0x47</entry>
+                <entry>Magic byte ('G')</entry>
               </row>
               <row>
-                <entry>
-                  <phrase>1</phrase>
-                </entry>
-                <entry>
-                  <phrase>error code</phrase>
-                </entry>
-                <entry>
-                  <phrase>0 on success, 1 on error</phrase>
-                </entry>
+                <entry>1</entry>
+                <entry>error code</entry>
+                <entry>0 on success, 1 on error</entry>
               </row>
               <row>
-                <entry>
-                  <phrase>2</phrase>
-                </entry>
-                <entry>
-                  <phrase>L div 256</phrase>
-                </entry>
-                <entry>
-                  <phrase>High byte of <code>L</code></phrase>
-                </entry>
+                <entry>2</entry>
+                <entry>L div 256</entry>
+                <entry>High byte of <code>L</code></entry>
               </row>
               <row>
-                <entry>
-                  <phrase>3</phrase>
-                </entry>
-                <entry>
-                  <phrase>L mod 256</phrase>
-                </entry>
-                <entry>
-                  <phrase>Low byte of <code>L</code></phrase>
-                </entry>
+                <entry>3</entry>
+                <entry>L mod 256</entry>
+                <entry>Low byte of <code>L</code></entry>
               </row>
             </tbody>
           </tgroup>
@@ -353,7 +288,7 @@
       <para>
         If you don't want to get your hands dirty: there is a Python script
         named <application>servertest.py</application> shipped with the
-        <acronym>GIMP</acronym> 2.5 source code, which you can use as a simple
+        <acronym>GIMP</acronym> source code, which you can use as a simple
         command line shell for the Script-Fu server.
       </para>
     </tip>



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