[gimp-help-2] Clean up menu files



commit d24bda734b21b71e56eb5656f88cabb87e11bc84
Author: Ulf-D. Ehlert <ulfehlert svn gnome org>
Date:   Tue Oct 20 18:04:25 2009 +0200

    Clean up menu files
    
    * Remove some files which have been superseded long time ago.
    * Simplify ids for some menu files.
    * Resort colors/map menu files according to the menu.

 src/concepts/imagewindow.xml        |    2 +-
 src/menus/colors.xml                |   19 ++++++++++---------
 src/menus/colors/components.xml     |    2 +-
 src/menus/colors/filters.xml        |    2 +-
 src/menus/colors/info.xml           |   18 +++++-------------
 src/menus/colors/info/histogram.xml |    2 +-
 src/menus/colors/map.xml            |   34 +++++++++-------------------------
 src/menus/colors/tools.xml          |    2 +-
 src/menus/filters.xml               |    2 +-
 src/menus/menus-filters.xml         |   23 -----------------------
 src/menus/menus-tools.xml           |   15 ---------------
 src/menus/menus-windows.xml         |   25 -------------------------
 src/menus/view.xml                  |    8 ++++----
 src/menus/windows.xml               |    8 +++-----
 14 files changed, 37 insertions(+), 125 deletions(-)
---
diff --git a/src/concepts/imagewindow.xml b/src/concepts/imagewindow.xml
index d652bbc..b7e7942 100644
--- a/src/concepts/imagewindow.xml
+++ b/src/concepts/imagewindow.xml
@@ -59,7 +59,7 @@
       We will begin with a brief description of the
       components that are present by default in an ordinary image window.
       Some of the components can be removed by using commands in the
-      <link linkend="gimp-imagewindow-menus-view">View</link>
+      <link linkend="gimp-view-menu">View</link>
       menu.
     </para>
     <listitem>
diff --git a/src/menus/colors.xml b/src/menus/colors.xml
index 09e564a..a3078f3 100644
--- a/src/menus/colors.xml
+++ b/src/menus/colors.xml
@@ -13,7 +13,7 @@
   2007-10-17 ude: added Colors/Auto ('en','de')
   2007-10-16 ude: created stub ('en','de')
 -->
-<sect1 xmlns:xi="http://www.w3.org/2001/XInclude"; id="gimp-colors-menus">
+<sect1 id="gimp-colors-menu" xmlns:xi="http://www.w3.org/2001/XInclude";>
   <title>The <quote>Colors</quote> Menu</title>
 
   <indexterm>
@@ -42,14 +42,15 @@
   <xi:include href="colors/components/decompose.xml"/>
   <xi:include href="colors/components/recompose.xml"/>
   <xi:include href="colors/map.xml"/>
-  <xi:include href="colors/map/rearrange-colormap.xml"/>
-  <xi:include href="colors/map/set-colormap.xml"/>
-  <xi:include href="colors/map/alienmap2.xml"/>
-  <xi:include href="colors/map/exchange.xml"/>
-  <xi:include href="colors/map/gradientmap.xml"/>
-  <xi:include href="colors/map/palettemap.xml"/>
-  <xi:include href="colors/map/rotate-colormap.xml"/>
-  <xi:include href="colors/map/sample-colorize.xml"/>
+    <xi:include href="colors/map/rearrange-colormap.xml"/>
+    <xi:include href="colors/map/set-colormap.xml"/>
+    <!-- -->
+    <xi:include href="colors/map/alienmap2.xml"/>
+    <xi:include href="colors/map/exchange.xml"/>
+    <xi:include href="colors/map/gradientmap.xml"/>
+    <xi:include href="colors/map/palettemap.xml"/>
+    <xi:include href="colors/map/rotate-colormap.xml"/>
+    <xi:include href="colors/map/sample-colorize.xml"/>
   <xi:include href="colors/info.xml"/>
   <xi:include href="colors/info/histogram.xml"/>
   <xi:include href="colors/info/borderaverage.xml"/>
diff --git a/src/menus/colors/components.xml b/src/menus/colors/components.xml
index 14491f1..326c28b 100644
--- a/src/menus/colors/components.xml
+++ b/src/menus/colors/components.xml
@@ -5,7 +5,7 @@
   2007-11-17 KoSt: added 'no'
   2007-10-20 ude: created ('en','de')
 -->
-<sect2 id="gimp-imagewindow-menus-colors-components">
+<sect2 id="gimp-colors-components-menu">
   <title>The <quote>Components</quote> Submenu</title>
 
   <para>This command leads to the following submenu</para>
diff --git a/src/menus/colors/filters.xml b/src/menus/colors/filters.xml
index 99cf0ec..e4bc7a5 100644
--- a/src/menus/colors/filters.xml
+++ b/src/menus/colors/filters.xml
@@ -5,7 +5,7 @@
   2008-07-31 alex falappa: added 'it'
   2007-10-21 ude: created ('en','de')
 -->
-<sect2 id="gimp-imagewindow-menus-colors-filters">
+<sect2 id="gimp-colors-filters">
   <title>The Color Filters</title>
 
   <para>
diff --git a/src/menus/colors/info.xml b/src/menus/colors/info.xml
index 1bc782e..52c9d7d 100644
--- a/src/menus/colors/info.xml
+++ b/src/menus/colors/info.xml
@@ -5,7 +5,7 @@
   2007-12-22 alex falappa: added 'it'
   2007-10-22 ude: created ('en','de')
 -->
-<sect2 id="gimp-imagewindow-menus-colors-info">
+<sect2 id="gimp-colors-info-menu">
   <title>The <quote>Info</quote> Submenu</title>
 
   <para>This command leads to the following submenu</para>
@@ -20,24 +20,16 @@
   <para>
     <itemizedlist>
       <listitem>
-        <para>
-          <xref linkend="gimp-imagewindow-menus-colors-info-histogram"/>
-        </para>
+        <para><xref linkend="gimp-colors-info-histogram"/></para>
       </listitem>
       <listitem>
-        <para>
-          <xref linkend="plug-in-borderaverage"/>
-        </para>
+        <para><xref linkend="plug-in-borderaverage"/></para>
       </listitem>
       <listitem>
-        <para>
-          <xref linkend="plug-in-ccanalyze"/>
-        </para>
+        <para><xref linkend="plug-in-ccanalyze"/></para>
       </listitem>
       <listitem>
-        <para>
-          <xref linkend="plug-in-smooth-palette"/>
-        </para>
+        <para><xref linkend="plug-in-smooth-palette"/></para>
       </listitem>
     </itemizedlist>
   </para>
diff --git a/src/menus/colors/info/histogram.xml b/src/menus/colors/info/histogram.xml
index b7cb595..cb1aed8 100644
--- a/src/menus/colors/info/histogram.xml
+++ b/src/menus/colors/info/histogram.xml
@@ -5,7 +5,7 @@
   2008-07-31 alex falappa: added 'it'
   2007-10-22 ude: created 'en','de'
 -->
-<sect2 id="gimp-imagewindow-menus-colors-info-histogram">
+<sect2 id="gimp-colors-info-histogram">
   <title>Histogram</title>
 
   <para>
diff --git a/src/menus/colors/map.xml b/src/menus/colors/map.xml
index b6bd2b4..cf5aa19 100644
--- a/src/menus/colors/map.xml
+++ b/src/menus/colors/map.xml
@@ -9,7 +9,7 @@
   2007-12-29 j.h: added palettemap
   2007-10-23 ude: created ('en','de')
 -->
-<sect2 xmlns:xi="http://www.w3.org/2001/XInclude"; id="gimp-imagewindow-menus-colors-map">
+<sect2 id="gimp-colors-map-menu">
   <title>The <quote>Map</quote> Submenu</title>
 
   <para>This command leads to the following submenu</para>
@@ -24,44 +24,28 @@
   <para>
     <itemizedlist>
       <listitem>
-        <para>
-          <xref linkend="plug-in-colormap-remap"/>
-        </para>
+        <para><xref linkend="plug-in-colormap-remap"/></para>
       </listitem>
       <listitem>
-        <para>
-          <xref linkend="script-fu-set-cmap"/>
-        </para>
+        <para><xref linkend="script-fu-set-cmap"/></para>
       </listitem>
       <listitem>
-        <para>
-          <xref linkend="plug-in-gradmap"/>
-        </para>
+        <para><xref linkend="plug-in-alienmap2"/></para>
       </listitem>
       <listitem>
-        <para>
-          <xref linkend="plug-in-sample-colorize"/>
-        </para>
+        <para><xref linkend="plug-in-exchange"/></para>
       </listitem>
       <listitem>
-        <para>
-          <xref linkend="plug-in-exchange"/>
-        </para>
+        <para><xref linkend="plug-in-gradmap"/></para>
       </listitem>
       <listitem>
-        <para>
-          <xref linkend="plug-in-palettemap"/>
-        </para>
+        <para><xref linkend="plug-in-palettemap"/></para>
       </listitem>
       <listitem>
-        <para>
-          <xref linkend="plug-in-alienmap2"/>
-        </para>
+        <para><xref linkend="plug-in-rotate-colormap"/></para>
       </listitem>
       <listitem>
-        <para>
-          <xref linkend="plug-in-rotate-colormap"/>
-        </para>
+        <para><xref linkend="plug-in-sample-colorize"/></para>
       </listitem>
     </itemizedlist>
   </para>
diff --git a/src/menus/colors/tools.xml b/src/menus/colors/tools.xml
index 4bfb904..62cefa7 100644
--- a/src/menus/colors/tools.xml
+++ b/src/menus/colors/tools.xml
@@ -5,7 +5,7 @@
   2007-10-16 ude: created 'en','de' (copied from
              "menus/tools-introduction.xml" and "toolbox/tools-color.xml")
 -->
-<sect2 id="gimp-imagewindow-menus-colors-tools">
+<sect2 id="gimp-colors-tools-menu">
   <title>Colors Tools</title>
 
   <indexterm>
diff --git a/src/menus/filters.xml b/src/menus/filters.xml
index 69fc7c7..07c7aaa 100644
--- a/src/menus/filters.xml
+++ b/src/menus/filters.xml
@@ -7,7 +7,7 @@
   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">
+<sect1 id="gimp-filters-menu" xmlns:xi="http://www.w3.org/2001/XInclude";>
   <title>The <quote>Filters</quote> Menu</title>
 
   <indexterm>
diff --git a/src/menus/view.xml b/src/menus/view.xml
index b0e65af..300c5aa 100644
--- a/src/menus/view.xml
+++ b/src/menus/view.xml
@@ -6,14 +6,14 @@
   2008-04-19 ude: removed view-infowindow, added view-show-sample-points
   2005-09-03 added introduction by axel.wernicke
 -->
-<sect1 xmlns:xi="http://www.w3.org/2001/XInclude"; id="gimp-imagewindow-menus-view">
-  <title>
-    <phrase>The <quote>View</quote> Menu</phrase>
-  </title>
+<sect1 id="gimp-view-menu" xmlns:xi="http://www.w3.org/2001/XInclude";>
+  <title>The <quote>View</quote> Menu</title>
+
   <indexterm>
     <primary>Image window</primary>
     <secondary>Menus</secondary>
   </indexterm>
+
   <xi:include href="view/introduction.xml"/>
   <xi:include href="view/new.xml"/>
   <xi:include href="view/dot-for-dot.xml"/>
diff --git a/src/menus/windows.xml b/src/menus/windows.xml
index 98c7d6d..16ceff0 100644
--- a/src/menus/windows.xml
+++ b/src/menus/windows.xml
@@ -6,12 +6,10 @@
 <!-- section history:
   2008-12-07 Created by j.h
 -->
-<sect1 id="gimp-imagewindow-menus-windows"
+<sect1 id="gimp-windows-menu"
        xmlns:xi="http://www.w3.org/2001/XInclude";>
 
-  <title>
-    <phrase>The <quote>Windows</quote> Menu</phrase>
-  </title>
+  <title>The <quote>Windows</quote> Menu</title>
 
   <indexterm>
     <primary>Menus</primary>
@@ -22,4 +20,4 @@
   <xi:include href="windows-open-recent-docks.xml" />
   <xi:include href="windows-show-docks.xml" />
 
-</sect1>
\ No newline at end of file
+</sect1>



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