[Goodies-commits] r7640 - in xfce4-clipman-plugin/trunk: . docs/manual/C docs/manual/gl docs/manual/ja panel-plugin

Mike Massonnet mmassonnet at xfce.org
Mon Jun 29 00:22:30 CEST 2009


Author: mmassonnet
Date: 2009-06-28 22:22:29 +0000 (Sun, 28 Jun 2009)
New Revision: 7640

Modified:
   xfce4-clipman-plugin/trunk/ChangeLog
   xfce4-clipman-plugin/trunk/docs/manual/C/xfce4-clipman-plugin.html
   xfce4-clipman-plugin/trunk/docs/manual/gl/xfce4-clipman-plugin.html
   xfce4-clipman-plugin/trunk/docs/manual/ja/xfce4-clipman-plugin.html
   xfce4-clipman-plugin/trunk/panel-plugin/collector.c
   xfce4-clipman-plugin/trunk/panel-plugin/collector.h
   xfce4-clipman-plugin/trunk/panel-plugin/main.c
   xfce4-clipman-plugin/trunk/panel-plugin/menu.c
Log:
Drop inhibit option

Modified: xfce4-clipman-plugin/trunk/ChangeLog
===================================================================
--- xfce4-clipman-plugin/trunk/ChangeLog	2009-06-28 18:26:51 UTC (rev 7639)
+++ xfce4-clipman-plugin/trunk/ChangeLog	2009-06-28 22:22:29 UTC (rev 7640)
@@ -1,3 +1,11 @@
+2009-06-28	Mike Massonnet
+Drop inhibit option
+
+	- panel-plugin/collector.[ch]:
+		Remove inhibit property.
+	- panel-plugin/main.c, panel-plugin/menu.c:
+		Same here, wipe out code related to the inhibit option.
+
 2009-05-15	Mike Massonnet
 Only consider XFCE for OnlyShowIn
 

Modified: xfce4-clipman-plugin/trunk/docs/manual/C/xfce4-clipman-plugin.html
===================================================================
--- xfce4-clipman-plugin/trunk/docs/manual/C/xfce4-clipman-plugin.html	2009-06-28 18:26:51 UTC (rev 7639)
+++ xfce4-clipman-plugin/trunk/docs/manual/C/xfce4-clipman-plugin.html	2009-06-28 22:22:29 UTC (rev 7640)
@@ -1,5 +1,5 @@
 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Clipman Manual</title><link rel="stylesheet" href="../xfce.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" href="#xfce4-clipman-plugin" title="Clipman Manual"><link rel="next" href="#intro" title="Introduction"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="xfce4-clipman-plugin"></a>Clipman Manual</h2></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">Mike</span> <span class="surname">Massonnet</span></h3><div class="affiliation"><div class="address"><p><code class="email"><<a class="email" href="mailto:mmassonnet at xfce.org">mmassonnet at xfce.org</a>></code></p></div></div></div></div></div><div><span xmlns="http://www.w3.org/TR/xhtml1/transitional" c
 lass="releaseinfo">
-      This manual describes version 1.0.1 of Clipman.
+      This manual describes version 1.0.2svn-r07592 of Clipman.
     <br></br></span></div><div><p class="copyright">Copyright © 2009 Mike Massonnet</p></div><div><div class="legalnotice"><a name="legalnotice"></a><p>
         Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free
         Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no
@@ -21,7 +21,7 @@
         Clipman is used to keep in history a list of clipboard contents and to restore them. The history is
         displayed in a menu by clicking on the main icon. Within the menu it is possible to select an item to restore it,
         to clear the history and to activate or deactivate the clipboard manager.
-      </p><div class="figure"><a name="id2976502"></a><p class="title"><b>Figure 1. Clipman Menu</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-menu.png" alt="Menu displaying the history"></div></div></div><br class="figure-break"><p>
+      </p><div class="figure"><a name="id2550851"></a><p class="title"><b>Figure 1. Clipman Menu</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-menu.png" alt="Menu displaying the history"></div></div></div><br class="figure-break"><p>
         There are two ways to run Clipman. You can select Clipman in the applications menu under the category
         Utility or type <strong class="application"><code>xfce4-clipman-plugin</code></strong> on the command-line, or you can add it into your
         panel. To add a new item in the panel right click the panel and select “Add new item…”.
@@ -35,8 +35,8 @@
       allows to tweak the history and to edit actions.
     </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="general"></a>General</h3></div></div></div><p>
         The following table describes the available options:
-      </p><div class="table"><a name="id2976629"></a><p class="title"><b>Table 1. General options in the Settings dialog</b></p><div class="table-contents"><table xmlns="http://www.w3.org/TR/xhtml1/transitional" bgcolor="#F8F9FD" cellspacing="0" cellpadding="4" summary="General options in the Settings dialog" border="1"><colgroup><col xmlns=""><col xmlns=""></colgroup><thead xmlns=""><tr><th align="left">Options</th><th align="left">Description</th></tr></thead><tbody xmlns=""><tr><td align="left">Add selections</td><td align="left">Sync the primary clipboard with the default clipboard in a way that it is possible to paste what gets
-	selected</td></tr><tr><td align="left">Exclude from history</td><td align="left">Prevents the primary clipboard from being inserted in the history</td></tr><tr><td align="left">Save on quit</td><td align="left">Keeps the history at every new session</td></tr><tr><td align="left">Store an image</td><td align="left">Allows to store one image in the history</td></tr><tr><td align="left">Size of the history</td><td align="left">Sets the number of items to keep in history</td></tr></tbody></table></div></div><br class="table-break"><div class="figure"><a name="id2976006"></a><p class="title"><b>Figure 2. Clipman Settings</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-settings-general.png" alt="Settings dialog with the General tab"></div></div></div><br class="figure-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="actions"></a>Actions</h3></div></div></div><p>
+      </p><div class="table"><a name="id2550978"></a><p class="title"><b>Table 1. General options in the Settings dialog</b></p><div class="table-contents"><table xmlns="http://www.w3.org/TR/xhtml1/transitional" bgcolor="#F8F9FD" cellspacing="0" cellpadding="4" summary="General options in the Settings dialog" border="1"><colgroup><col xmlns=""><col xmlns=""></colgroup><thead xmlns=""><tr><th align="left">Options</th><th align="left">Description</th></tr></thead><tbody xmlns=""><tr><td align="left">Add selections</td><td align="left">Sync the primary clipboard with the default clipboard in a way that it is possible to paste what gets
+	selected</td></tr><tr><td align="left">Exclude from history</td><td align="left">Prevents the primary clipboard from being inserted in the history</td></tr><tr><td align="left">Save on quit</td><td align="left">Keeps the history at every new session</td></tr><tr><td align="left">Store an image</td><td align="left">Allows to store one image in the history</td></tr><tr><td align="left">Size of the history</td><td align="left">Sets the number of items to keep in history</td></tr></tbody></table></div></div><br class="table-break"><div class="figure"><a name="id2550355"></a><p class="title"><b>Figure 2. Clipman Settings</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-settings-general.png" alt="Settings dialog with the General tab"></div></div></div><br class="figure-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="actions"></a>Actions</h3></div></div></div><p>
         An action is a pair of an action name and a regular expression. Each action can have one or more commands. The
         support of actions is optional and can be enabled or disabled through the “Enable actions” option.
       </p><p>
@@ -45,17 +45,17 @@
         new dialog is opened.
       </p><p>
         To learn more about actions go to <a class="xref" href="#action" title="Action">the section called “Action”</a>.
-      </p><div class="figure"><a name="id2976175"></a><p class="title"><b>Figure 3. Clipman Settings</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-settings-actions.png" alt="Settings dialog with the Actions tab"></div></div></div><br class="figure-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="xfconf"></a>Xfconf</h3></div></div></div><p>
+      </p><div class="figure"><a name="id2550523"></a><p class="title"><b>Figure 3. Clipman Settings</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-settings-actions.png" alt="Settings dialog with the Actions tab"></div></div></div><br class="figure-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="xfconf"></a>Xfconf</h3></div></div></div><p>
         Clipman uses Xfconf to store its settings in the <code class="constant">xfce4-panel</code> channel. That allows you
         to change the settings with the tool <strong class="application"><code>xfconf-query</code></strong>. The following table lists all the
         properties with their possible values:
-      </p><div class="table"><a name="id2976230"></a><p class="title"><b>Table 2. Xfconf Properties</b></p><div class="table-contents"><table xmlns="http://www.w3.org/TR/xhtml1/transitional" bgcolor="#F8F9FD" cellspacing="0" cellpadding="4" summary="Xfconf Properties" border="1"><colgroup><col xmlns=""><col xmlns=""><col xmlns=""><col xmlns=""></colgroup><thead xmlns=""><tr><th align="left">Property</th><th align="left">Type</th><th align="left">Default</th><th align="left">Values</th></tr></thead><tbody xmlns=""><tr><td align="left">/plugins/clipman/settings/add-primary-clipboard</td><td align="left">bool</td><td align="left">false</td><td align="left">true to sync the primary clipboard with the default clipboard</td></tr><tr><td align="left">/plugins/clipman/settings/enable-actions</td><td align="left">bool</td><td align="left">false</td><td align="left">true to enable actions</td></tr><tr><td align="left">/plugins/clipman/settings/history-ignore-primary-clipboard</td><td 
 align="left">bool</td><td align="left">false</td><td align="left">true to exclude the primary clipboard from the history</td></tr><tr><td align="left">/plugins/clipman/settings/max-images-in-history</td><td align="left">uint</td><td align="left">0</td><td align="left">0-5 number of images in history</td></tr><tr><td align="left">/plugins/clipman/settings/max-texts-in-history</td><td align="left">uint</td><td align="left">10</td><td align="left">5-100 number of texts in history</td></tr><tr><td align="left">/plugins/clipman/settings/save-on-quit</td><td align="left">bool</td><td align="left">true</td><td align="left">true to restore the history at every new session</td></tr></tbody></table></div></div><br class="table-break"><p>
+      </p><div class="table"><a name="id2551186"></a><p class="title"><b>Table 2. Xfconf Properties</b></p><div class="table-contents"><table xmlns="http://www.w3.org/TR/xhtml1/transitional" bgcolor="#F8F9FD" cellspacing="0" cellpadding="4" summary="Xfconf Properties" border="1"><colgroup><col xmlns=""><col xmlns=""><col xmlns=""><col xmlns=""></colgroup><thead xmlns=""><tr><th align="left">Property</th><th align="left">Type</th><th align="left">Default</th><th align="left">Values</th></tr></thead><tbody xmlns=""><tr><td align="left">/plugins/clipman/settings/add-primary-clipboard</td><td align="left">bool</td><td align="left">false</td><td align="left">true to sync the primary clipboard with the default clipboard</td></tr><tr><td align="left">/plugins/clipman/settings/enable-actions</td><td align="left">bool</td><td align="left">false</td><td align="left">true to enable actions</td></tr><tr><td align="left">/plugins/clipman/settings/history-ignore-primary-clipboard</td><td 
 align="left">bool</td><td align="left">false</td><td align="left">true to exclude the primary clipboard from the history</td></tr><tr><td align="left">/plugins/clipman/settings/max-images-in-history</td><td align="left">uint</td><td align="left">0</td><td align="left">0-5 number of images in history</td></tr><tr><td align="left">/plugins/clipman/settings/max-texts-in-history</td><td align="left">uint</td><td align="left">10</td><td align="left">5-100 number of texts in history</td></tr><tr><td align="left">/plugins/clipman/settings/save-on-quit</td><td align="left">bool</td><td align="left">true</td><td align="left">true to restore the history at every new session</td></tr></tbody></table></div></div><br class="table-break"><p>
         To change a setting type the command-line:
       </p><code class="literal">xfconf-query -c xfce4-panel -p <property> -s <value></code></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="action"></a>Action</h2></div></div></div><p>
       An action has a human readable name that describes the pattern it is going to match. The matches are made against
       text from the selections and the pattern is a regular expression. An action must have at least one command which
       also has a human readable name. The matched text can be reused in the command.
-    </p><div class="figure"><a name="id2977015"></a><p class="title"><b>Figure 4. Action Dialog</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-action-dialog.png" alt="Action edit dialog"></div></div></div><br class="figure-break"><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="regexes"></a>Regular Expression</h3></div></div></div><p>
+    </p><div class="figure"><a name="id2551362"></a><p class="title"><b>Figure 4. Action Dialog</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-action-dialog.png" alt="Action edit dialog"></div></div></div><br class="figure-break"><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="regexes"></a>Regular Expression</h3></div></div></div><p>
         Basic special characters: "<span class="bold"><strong><code class="code">.?+*(|)[]\</code></strong></span>".
       </p><div class="itemizedlist"><ul type="disc"><li>
           ”<span class="bold"><strong><code class="code">.</code></strong></span>”: represents a single character.

Modified: xfce4-clipman-plugin/trunk/docs/manual/gl/xfce4-clipman-plugin.html
===================================================================
--- xfce4-clipman-plugin/trunk/docs/manual/gl/xfce4-clipman-plugin.html	2009-06-28 18:26:51 UTC (rev 7639)
+++ xfce4-clipman-plugin/trunk/docs/manual/gl/xfce4-clipman-plugin.html	2009-06-28 22:22:29 UTC (rev 7640)
@@ -1,5 +1,5 @@
 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Manual de Clipman</title><link rel="stylesheet" href="../xfce.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" href="#xfce4-clipman-plugin" title="Manual de Clipman"><link rel="next" href="#intro" title="Introdución"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="gl"><div class="titlepage"><div><div><h2 class="title"><a name="xfce4-clipman-plugin"></a>Manual de Clipman</h2></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">Mike</span> <span class="surname">Massonnet</span></h3><div class="affiliation"><div class="address"><p><code class="email"><<a class="email" href="mailto:mmassonnet at xfce.org">mmassonnet at xfce.org</a>></code></p></div></div></div></div></div><div><span xmlns="http://www.w3.org/TR/xhtml1/transit
 ional" class="releaseinfo">
-      This manual describes version 1.0.1 of Clipman.
+      This manual describes version 1.0.2svn-r07592 of Clipman.
     <br></br></span></div><div><p class="copyright">Copyright © 2009 Mike Massonnet</p></div><div><p class="copyright">Copyright © 2009. Leandro Regueiro (leandro.regueiro at gmail.com)</p></div><div><div class="legalnotice"><a name="legalnotice"></a><p>
         Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free
         Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no
@@ -21,7 +21,7 @@
         Clipman is used to keep in history a list of clipboard contents and to restore them. The history is
         displayed in a menu by clicking on the main icon. Within the menu it is possible to select an item to restore it,
         to clear the history and to activate or deactivate the clipboard manager.
-      </p><div class="figure"><a name="id2808912"></a><p class="title"><b>Figura 1. Menú de Clipman</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-menu.png" alt="Menu displaying the history"></div></div></div><br class="figure-break"><p>
+      </p><div class="figure"><a name="id2824535"></a><p class="title"><b>Figura 1. Menú de Clipman</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-menu.png" alt="Menu displaying the history"></div></div></div><br class="figure-break"><p>
         There are two ways to run Clipman. You can select Clipman in the applications menu under the category
         Utility or type <strong class="application"><code>xfce4-clipman-plugin</code></strong> on the command-line, or you can add it into your
         panel. To add a new item in the panel right click the panel and select “Add new item…”.
@@ -35,8 +35,8 @@
       allows to tweak the history and to edit actions.
     </p><div class="sect2" lang="gl"><div class="titlepage"><div><div><h3 class="title"><a name="general"></a>Xeral</h3></div></div></div><p>
         The following table describes the available options:
-      </p><div class="table"><a name="id2809039"></a><p class="title"><b>TáboaTáboa 1. General options in the Settings dialog</b></p><div class="table-contents"><table xmlns="http://www.w3.org/TR/xhtml1/transitional" bgcolor="#F8F9FD" cellspacing="0" cellpadding="4" summary="General options in the Settings dialog" border="1"><colgroup><col xmlns=""><col xmlns=""></colgroup><thead xmlns=""><tr><th align="left">Opcións</th><th align="left">Descrición</th></tr></thead><tbody xmlns=""><tr><td align="left">Add selections</td><td align="left">Sync the primary clipboard with the default clipboard in a way that it is possible to paste what gets
-	selected</td></tr><tr><td align="left">Exclude from history</td><td align="left">Prevents the primary clipboard from being inserted in the history</td></tr><tr><td align="left">Gardar ao saír</td><td align="left">Keeps the history at every new session</td></tr><tr><td align="left">Store an image</td><td align="left">Allows to store one image in the history</td></tr><tr><td align="left">Tamaño do historial</td><td align="left">Sets the number of items to keep in history</td></tr></tbody></table></div></div><br class="table-break"><div class="figure"><a name="id2808417"></a><p class="title"><b>Figura 2. Configuración de Clipman</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-settings-general.png" alt="Settings dialog with the General tab"></div></div></div><br class="figure-break"></div><div class="sect2" lang="gl"><div class="titlepage"><div><div><h3 class="title"><a name="actions"></a>Accións</h3></div></div></div><p>
+      </p><div class="table"><a name="id2824662"></a><p class="title"><b>TáboaTáboa 1. General options in the Settings dialog</b></p><div class="table-contents"><table xmlns="http://www.w3.org/TR/xhtml1/transitional" bgcolor="#F8F9FD" cellspacing="0" cellpadding="4" summary="General options in the Settings dialog" border="1"><colgroup><col xmlns=""><col xmlns=""></colgroup><thead xmlns=""><tr><th align="left">Opcións</th><th align="left">Descrición</th></tr></thead><tbody xmlns=""><tr><td align="left">Add selections</td><td align="left">Sync the primary clipboard with the default clipboard in a way that it is possible to paste what gets
+	selected</td></tr><tr><td align="left">Exclude from history</td><td align="left">Prevents the primary clipboard from being inserted in the history</td></tr><tr><td align="left">Gardar ao saír</td><td align="left">Keeps the history at every new session</td></tr><tr><td align="left">Store an image</td><td align="left">Allows to store one image in the history</td></tr><tr><td align="left">Tamaño do historial</td><td align="left">Sets the number of items to keep in history</td></tr></tbody></table></div></div><br class="table-break"><div class="figure"><a name="id2824040"></a><p class="title"><b>Figura 2. Configuración de Clipman</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-settings-general.png" alt="Settings dialog with the General tab"></div></div></div><br class="figure-break"></div><div class="sect2" lang="gl"><div class="titlepage"><div><div><h3 class="title"><a name="actions"></a>Accións</h3></div></div></div><p>
         An action is a pair of an action name and a regular expression. Each action can have one or more commands. The
         support of actions is optional and can be enabled or disabled through the “Enable actions” option.
       </p><p>
@@ -45,17 +45,17 @@
         new dialog is opened.
       </p><p>
         To learn more about actions go to <a class="xref" href="#action" title="Acción">« Acción »</a>.
-      </p><div class="figure"><a name="id2808586"></a><p class="title"><b>Figura 3. Configuración de Clipman</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-settings-actions.png" alt="Settings dialog with the Actions tab"></div></div></div><br class="figure-break"></div><div class="sect2" lang="gl"><div class="titlepage"><div><div><h3 class="title"><a name="xfconf"></a>Xfconf</h3></div></div></div><p>
+      </p><div class="figure"><a name="id2824209"></a><p class="title"><b>Figura 3. Configuración de Clipman</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-settings-actions.png" alt="Settings dialog with the Actions tab"></div></div></div><br class="figure-break"></div><div class="sect2" lang="gl"><div class="titlepage"><div><div><h3 class="title"><a name="xfconf"></a>Xfconf</h3></div></div></div><p>
         Clipman uses Xfconf to store its settings in the <code class="constant">xfce4-panel</code> channel. That allows you
         to change the settings with the tool <strong class="application"><code>xfconf-query</code></strong>. The following table lists all the
         properties with their possible values:
-      </p><div class="table"><a name="id2809252"></a><p class="title"><b>TáboaTáboa 2. Propiedades de Xfconf</b></p><div class="table-contents"><table xmlns="http://www.w3.org/TR/xhtml1/transitional" bgcolor="#F8F9FD" cellspacing="0" cellpadding="4" summary="Propiedades de Xfconf" border="1"><colgroup><col xmlns=""><col xmlns=""><col xmlns=""><col xmlns=""></colgroup><thead xmlns=""><tr><th align="left">Propiedade</th><th align="left">Tipo</th><th align="left">Default</th><th align="left">Values</th></tr></thead><tbody xmlns=""><tr><td align="left">/plugins/clipman/settings/add-primary-clipboard</td><td align="left">bool</td><td align="left">false</td><td align="left">true to sync the primary clipboard with the default clipboard</td></tr><tr><td align="left">/plugins/clipman/settings/enable-actions</td><td align="left">bool</td><td align="left">false</td><td align="left">true to enable actions</td></tr><tr><td align="left">/plugins/clipman/settings/history-ignore-primary-cli
 pboard</td><td align="left">bool</td><td align="left">false</td><td align="left">true to exclude the primary clipboard from the history</td></tr><tr><td align="left">/plugins/clipman/settings/max-images-in-history</td><td align="left">uint</td><td align="left">0</td><td align="left">0-5 number of images in history</td></tr><tr><td align="left">/plugins/clipman/settings/max-texts-in-history</td><td align="left">uint</td><td align="left">10</td><td align="left">5-100 number of texts in history</td></tr><tr><td align="left">/plugins/clipman/settings/save-on-quit</td><td align="left">bool</td><td align="left">true</td><td align="left">true to restore the history at every new session</td></tr></tbody></table></div></div><br class="table-break"><p>
+      </p><div class="table"><a name="id2824872"></a><p class="title"><b>TáboaTáboa 2. Propiedades de Xfconf</b></p><div class="table-contents"><table xmlns="http://www.w3.org/TR/xhtml1/transitional" bgcolor="#F8F9FD" cellspacing="0" cellpadding="4" summary="Propiedades de Xfconf" border="1"><colgroup><col xmlns=""><col xmlns=""><col xmlns=""><col xmlns=""></colgroup><thead xmlns=""><tr><th align="left">Propiedade</th><th align="left">Tipo</th><th align="left">Default</th><th align="left">Values</th></tr></thead><tbody xmlns=""><tr><td align="left">/plugins/clipman/settings/add-primary-clipboard</td><td align="left">bool</td><td align="left">false</td><td align="left">true to sync the primary clipboard with the default clipboard</td></tr><tr><td align="left">/plugins/clipman/settings/enable-actions</td><td align="left">bool</td><td align="left">false</td><td align="left">true to enable actions</td></tr><tr><td align="left">/plugins/clipman/settings/history-ignore-primary-cli
 pboard</td><td align="left">bool</td><td align="left">false</td><td align="left">true to exclude the primary clipboard from the history</td></tr><tr><td align="left">/plugins/clipman/settings/max-images-in-history</td><td align="left">uint</td><td align="left">0</td><td align="left">0-5 number of images in history</td></tr><tr><td align="left">/plugins/clipman/settings/max-texts-in-history</td><td align="left">uint</td><td align="left">10</td><td align="left">5-100 number of texts in history</td></tr><tr><td align="left">/plugins/clipman/settings/save-on-quit</td><td align="left">bool</td><td align="left">true</td><td align="left">true to restore the history at every new session</td></tr></tbody></table></div></div><br class="table-break"><p>
         To change a setting type the command-line:
       </p><code class="literal">xfconf-query -c xfce4-panel -p <property> -s <value></code></div></div><div class="sect1" lang="gl"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="action"></a>Acción</h2></div></div></div><p>
       An action has a human readable name that describes the pattern it is going to match. The matches are made against
       text from the selections and the pattern is a regular expression. An action must have at least one command which
       also has a human readable name. The matched text can be reused in the command.
-    </p><div class="figure"><a name="id2809427"></a><p class="title"><b>Figura 4. Action Dialog</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-action-dialog.png" alt="Action edit dialog"></div></div></div><br class="figure-break"><div class="sect2" lang="gl"><div class="titlepage"><div><div><h3 class="title"><a name="regexes"></a>Expresión regular</h3></div></div></div><p>
+    </p><div class="figure"><a name="id2825049"></a><p class="title"><b>Figura 4. Action Dialog</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-action-dialog.png" alt="Action edit dialog"></div></div></div><br class="figure-break"><div class="sect2" lang="gl"><div class="titlepage"><div><div><h3 class="title"><a name="regexes"></a>Expresión regular</h3></div></div></div><p>
         Basic special characters: "<span class="bold"><strong><code class="code">.?+*(|)[]\</code></strong></span>".
       </p><div class="itemizedlist"><ul type="disc"><li>
           ”<span class="bold"><strong><code class="code">.</code></strong></span>”: represents a single character.

Modified: xfce4-clipman-plugin/trunk/docs/manual/ja/xfce4-clipman-plugin.html
===================================================================
--- xfce4-clipman-plugin/trunk/docs/manual/ja/xfce4-clipman-plugin.html	2009-06-28 18:26:51 UTC (rev 7639)
+++ xfce4-clipman-plugin/trunk/docs/manual/ja/xfce4-clipman-plugin.html	2009-06-28 22:22:29 UTC (rev 7640)
@@ -1 +1 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Clipman 説明書</title><link rel="stylesheet" href="../xfce.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" href="#xfce4-clipman-plugin" title="Clipman 説明書"><link rel="next" href="#intro" title="紹介"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="ja"><div class="titlepage"><div><div><h2 class="title"><a name="xfce4-clipman-plugin"></a>Clipman 説明書</h2></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="surname">Massonnet</span> <span class="firstname">Mike</span> [FAMILY Given]</h3><div class="affiliation"><div class="address"><p><code class="email"><<a class="email" href="mailto:mmassonnet at xfce.org">mmassonnet at xfce.org</a>></code></p></div></div></div>
 </div></div><div><span xmlns="http://www.w3.org/TR/xhtml1/transitional" class="releaseinfo">この説明書は Clipman のバージョン 1.0.2svn-r07357 について書かれています。<br></br></span></div><div><p class="copyright">製作著作 © 2009 Mike Massonnet</p></div><div><div class="legalnotice"><a name="legalnotice"></a><p>フリーソフトウェア財団が公表する GNU フリー文書利用許諾契約書の第1.3版、あるいはそれ以降のいずれかの版の条件下において、この文書の複&#35
 069;、配布および/または変更が許可されます。変更出来ない箇所、表紙文および裏表紙文があってはいけません。この利用許諾契約書の全文は<a class="ulink" href="http://www.fsf.org/" target="_top">フリーソフトウェア財団</a>から取得する事ができます。</p></div></div><div><p class="pubdate">April 2009</p></div></div><hr></div><div class="toc"><p><b>目次</b></p><dl><dt><span class="sect1"><a href="#intro">紹介</a></span></dt><dd><dl><dt><span class="sect2"><a
  href="#anatomy-clipboard">クリップボードの構造</a></span></dt><dt><span class="sect2"><a href="#getting-started">始めてみましょう</a></span></dt><dt><span class="sect2"><a href="#popup-command">ポップアップコマンド</a></span></dt></dl></dd><dt><span class="sect1"><a href="#settings">設定</a></span></dt><dd><dl><dt><span class="sect2"><a href="#general">「一般」タブ</a></span></dt><dt><span class="sect2"><a href="#actions">「アクション」タブ</a></span></dt><dt><span class="sect2"><a href="#xfconf">Xfconf</a></span></dt></dl></dd><dt><span class="sect1"><a href="#action">アクション</a></span></dt><dd><dl><dt><span class="sect2"><a href="#regexes">正規表現</a
 ></span></dt><dt><span class="sect2"><a href="#command">コマンド</a></span></dt></dl></dd><dt><span class="sect1"><a href="#support">サポート</a></span></dt><dt><span class="sect1"><a href="#about">Clipman について</a></span></dt></dl></div><div class="sect1" lang="ja"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="intro"></a>紹介</h2></div></div></div><p>Clipman は Xfce 用のクリップボードマネージャです。これは、通常アプリケーションが終了した時に失われてしまうクリップボードの内容を保持します&#12
 290;文字列および画像を扱うことができ、選択された文字列が、指定された正規表現とマッチしたときに任意の処理を実行する機能も持っています。</p><div class="sect2" lang="ja"><div class="titlepage"><div><div><h3 class="title"><a name="anatomy-clipboard"></a>クリップボードの構造</h3></div></div></div><p>(すべての Unix プラットフォームにおける) X11 には、デフォルトで、あら&#1242
 2;るウィンドウ間でデータを交換するために 2 つのクリップボードが用意されています。デフォルトクリップボードは、手動のコピー操作 (例えば、ファイルを選択してコピーボタンを押したときなど) によって変更され、プライマリクリップボードは、対象を選択した時点 (例えば&#
 12289;フィールドの文字列を選択したときなど) で変更されます。</p><p>Clipman は、デフォルトクリップボードのみ処理しますが、オプションで選択領域を扱うこともできます。選択領域を扱う場合は、デフォルトクリップボードは常にそれとの同期がとられ、同じ内容になります。</p></div><div class="sect2" l
 ang="ja"><div class="titlepage"><div><div><h3 class="title"><a name="getting-started"></a>始めてみましょう</h3></div></div></div><p>Clipman は、クリップボードの履歴を保持し、それらを復元するために使われます。履歴はメインアイコンをクリックして表示されるメニューに表示されます。メニューから、復元するアイテムの選択、履歴のクリア、およびクリッ&
 #12503;ボードマネージャの有効/無効の切り換えが行えます。</p><div class="figure"><a name="id2660452"></a><p class="title"><b>図1 Clipman メニュー</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-menu.png" alt="履歴表示メニュー"></div></div></div><br class="figure-break"><p>Clipman を実行するには 2 つの方法があります。一つは、アプリケーションメニューのアクセサリにある Clipman を選択するか、コマンドラ&#124
 52;ンから <strong class="application"><code>xfce4-clipman-plugin</code></strong> と入力して起動する方法、もう一つはパネルに追加する方法です。パネルに新しいアイテムを追加するには、パネルを右クリックして「新しいアイテムの追加...」を選択してください。</p></div><div class="sect2" lang="ja"><div class="titlepage"><div><div><h3 class="title"><a name="popup-command"></a>ポップアップコマンド</h3></div></div></div><p>Clipman
  はコマンドラインツール <strong class="application"><code>xfce4-popup-clipman</code></strong> を提供しています。これはコマンドが実行されるとメインメニューをポップアップするもので、<span class="guimenu"><strong>Xfce メニュー</strong></span>+<span class="guimenu"><strong>設定</strong></span>+<span class="guimenu"><strong>キーボード</strong></span> にある <span class="bold"><strong>アプリケーションショートカット</strong></span> に設定する際に&#2444
 1;立ちます。</p></div></div><div class="sect1" lang="ja"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="settings"></a>設定</h2></div></div></div><p>設定ダイアログは、メインアイコン上の右クリックで表示されるコンテキストメニューの「プロパティ」アイテムを選ぶと表示されます。ここでは履歴の設定およびアクションの編集が行えます。</p><div class="sect2" lang="ja"><div class="titlepage"><div><
 div><h3 class="title"><a name="general"></a>「一般」タブ</h3></div></div></div><p>以下の表は、利用可能なオプションについて説明しています:</p><div class="table"><a name="id2659880"></a><p class="title"><b>表1 設定ダイアログでの一般オプション</b></p><div class="table-contents"><table xmlns="http://www.w3.org/TR/xhtml1/transitional" bgcolor="#F8F9FD" cellspacing="0" cellpadding="4" summary="設定ダイアログでの一般オプション" border="1"><colgroup><col xmlns=""><col xmlns=""></colgroup><thead xmlns=""><tr><th align="left">オプション</th><th align="left">説&
 #26126;</th></tr></thead><tbody xmlns=""><tr><td align="left">選択領域と同期をとる</td><td align="left">領域を選択しただけで貼り付けできるよう、プライマリクリップボードとデフォルトクリップボードの同期がとられます</td></tr><tr><td align="left">履歴に残さない</td><td align="left">プライマリクリップボードの内容を履歴に格納しません</td></tr><tr><td align="left">終了時に保存&#123
 77;る</td><td align="left">履歴を保存し、新しいセッション開始時に復元します</td></tr><tr><td align="left">画像を格納する</td><td align="left">履歴に画像を格納することができます</td></tr><tr><td align="left">履歴のサイズ</td><td align="left">文字列履歴に保持するアイテム数を設定します</td></tr></tbody></table></div></div><br class="table-break"><div class="figure"><a name="id2659968"></a><p class="title"><b>図2 Clipman 設定</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-set
 tings-general.png" alt="設定ダイアログ - 「一般」タブ"></div></div></div><br class="figure-break"></div><div class="sect2" lang="ja"><div class="titlepage"><div><div><h3 class="title"><a name="actions"></a>「アクション」タブ</h3></div></div></div><p>一つのアクションは、アクション名と正規表現の組み合わせからなります。各アクションは一つ以上のコマンドを持つことができます。アクションのサポートは任意で&#12354
 ;り、「アクションを有効にする」オプションにより有効/無効を切り換えることができます。</p><p>アクションを追加するには追加アイコンをクリックし、編集するにはアクションを選択して編集アイコンをクリックするかアクションをダブルクリックし、削除するにはアクション&#12
 434;選択して削除アイコンをクリックします。アクションの追加または編集により新しいダイアログが表示されます。</p><p>アクションについてのより詳しい情報は、<a class="xref" href="#action" title="アクション">「アクション」</a> を参照してください。</p><div class="figure"><a name="id2660150"></a><p class="title"><b>図3 Clipman 設定</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-settings
 -actions.png" alt="設定ダイアログ - 「アクション」タブ"></div></div></div><br class="figure-break"></div><div class="sect2" lang="ja"><div class="titlepage"><div><div><h3 class="title"><a name="xfconf"></a>Xfconf</h3></div></div></div><p>Clipman は、<code class="constant">xfce4-panel</code> チャンネルへの設定の保存に Xfconf を使用します。これにより <strong class="application"><code>xfconf-query</code></strong> ツールで設定の変更が行えます。以下の表はすべてのプロパティと設定可能な値のリス&#124
 88;です:</p><div class="table"><a name="id2660819"></a><p class="title"><b>表2 Xfconf プロパティ</b></p><div class="table-contents"><table xmlns="http://www.w3.org/TR/xhtml1/transitional" bgcolor="#F8F9FD" cellspacing="0" cellpadding="4" summary="Xfconf プロパティ" border="1"><colgroup><col xmlns=""><col xmlns=""><col xmlns=""><col xmlns=""></colgroup><thead xmlns=""><tr><th align="left">プロパティ</th><th align="left">データ型</th><th align="left">デフォルト</th><th align="left">値</th></tr></thead><tbody xmlns=""><tr><td align="left">/plugins/clipman/settings/add-primary-clipboard</td><td align="left">bool</td><td align="left">false</td><td align="left">ture でプライマリクリップボードとデフォルト
 クリップボードの同期をとります</td></tr><tr><td align="left">/plugins/clipman/settings/enable-actions</td><td align="left">bool</td><td align="left">false</td><td align="left">true でアクションを有効にします</td></tr><tr><td align="left">/plugins/clipman/settings/history-ignore-primary-clipboard</td><td align="left">bool</td><td align="left">false</td><td align="left">true でプライマリクリップボードの内容を履歴に残しません</td></tr><tr><td align="left">/plugins/clipman/settings/max-images-in-history</td><td align="left">uint</td><td align="left">0</td><td align="left">0-5 画像履歴の数です</td></tr><tr><td align="lef
 t">/plugins/clipman/settings/max-texts-in-history</td><td align="left">uint</td><td align="left">10</td><td align="left">5-100 文字列履歴の数です</td></tr><tr><td align="left">/plugins/clipman/settings/save-on-quit</td><td align="left">bool</td><td align="left">true</td><td align="left">true で新しいセッション開始時に履歴を復元します</td></tr></tbody></table></div></div><br class="table-break"><p>コマンドラインで設定を変更するには:</p><code class="literal">xfconf-query -c xfce4-panel -p <property> -s <value></code></div></div><div class="sect1" lang="ja"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="action"></a>アクション</
 h2></div></div></div><p>アクションはマッチするパターンを説明する名前を持つことができます。マッチは選択した文字列に対して行われ、パターンは正規表現で指定します。アクションは少なくとも一つのコマンドと、その名前を持たなければなりません。マッチした文字列はコマンド内で&#208
 77;利用できます。</p><div class="figure"><a name="id2660974"></a><p class="title"><b>図4 アクションダイアログ</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-action-dialog.png" alt="「アクションの編集」ダイアログ"></div></div></div><br class="figure-break"><div class="sect2" lang="ja"><div class="titlepage"><div><div><h3 class="title"><a name="regexes"></a>正規表現</h3></div></div></div><p>基本特殊文字: "<span class="bold"><strong><code class="code">.?+*(|)[]\</code></strong></span>".</p><div class="itemizedlist"><ul type="disc"><li>“<span class="bold"><strong><code class="code">.</code></strong></span>”: 任意の一文字にマ&#12
 483;チします。</li><li>“<span class="bold"><strong><code class="code">?+*</code></strong></span>”: それぞれ、直前の文字が 0 個か 1 個、1 個以上、および 0 個以上あるときにマッチします。</li><li>“<span class="bold"><strong><code class="code">(|)</code></strong></span>”: グループ化と置換に使用されます。バーチカルバー“|”は論理和演算子として使用されます。</li><li>“<span class="bold"><strong><code class="code">[^]</code></strong></span>”: 括&#24
 359;内に含まれる 1 個の文字または特殊文字にマッチします。サーカムフレックス“^”が先頭にあると論理否定となり、括弧内に含まれない 1 個の文字または特殊文字にマッチします。</li><li>“<span class="bold"><strong><code class="code">\</code></strong></span>”: 特殊文字をエスケープします。</li></ul></div><p>基本英数字クラス: "<span class="bold"><strong><code class="code">A-Za-z0-9
 </code></strong></span>"。文字クラスは文字のセットにマッチさせるために角括弧“[]”内で使用されます。</p><div class="sect3" lang="ja"><div class="titlepage"><div><div><h4 class="title"><a name="regexes-examples"></a>例</h4></div></div></div><div class="itemizedlist"><ul type="disc"><li>"<span class="bold"><strong><code class="code">bug ?#?[0-9]+</code></strong></span>": 文字列 "<span class="emphasis"><em>bug</em></span>"、0 個か 1 個のスペース、0 個か 1 個の番号記号“#”、および 1 個以上の番号にマッチする。</li><li>"<spa
 n class="bold"><strong><code class="code">(http|ftp).+\.(jpg|png|gif)</code></strong></span>": 文字列 "<span class="emphasis"><em>http</em></span>" または "<span class="emphasis"><em>ftp</em></span>"、1 個以上の文字、ピリオド“.”、および文字列 "<span class="emphasis"><em>jpg</em></span>"、"<span class="emphasis"><em>png</em></span>"、あるいは "<span class="emphasis"><em>gif</em></span>" にマッチする。</li><li>"<span class="bold"><strong><code class="code">http://.{120}[^ ]+</code></strong></span>": 文字列 "<span class="emphasis"><em>http://</em></span>"、120 個の文字、および 1 個以上のスペース以外の&#2599
 1;字にマッチする。</li></ul></div></div><div class="sect3" lang="ja"><div class="titlepage"><div><div><h4 class="title"><a name="regexes-external-ressource"></a>その他の情報</h4></div></div></div><p>正規表現については、<a class="ulink" href="http://ja.wikipedia.org/wiki/%E6%AD%A3%E8%A6%8F%E8%A1%A8%E7%8F%BE" target="_top">Wikipedia の記事</a>などを参照してください。</p></div></div><div class="sect2" lang="ja"><div class="titlepage"><div><div><h3 class="title"><a name="command"></a>コマンド</h3></div></div></div><p>コマンドは正規表現から 1 個以上の置換文字列を再利用する&
 #12371;とができます。置換文字列は“<span class="bold"><strong><code class="code">\<number></code></strong></span>”で表され、<number> はパターン内の丸括弧“()”で括られたサブパターンの順番 (一番左が 1) に、0 は完全な文字列に対応します。</p><p>例えば、シンプルなパターン“<span class="bold"><strong><code class="code">bug #(123)</code></strong></span>”では、“<span class="bold"><strong><code class="code">\0</code></strong></span>”が文字列&#82
 20;bug #123”に、“<span class="bold"><strong><code class="code">\1</code></strong></span>”が文字列“123”に置き換えられます。コマンド“<code class="code">exo-open http://host/\1</code>”の場合、実際に実行されるコマンドは“<code class="code">exo-open http://host/123</code>”になります。</p></div></div><div class="sect1" lang="ja"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="support"></a>サポート</h2></div></div></div><p>バグの報告や要望は、<a class="ulink" href="http://bugzilla.xfce.org/" target="_top">http://bugzilla.xfce.org/</a> にある&#12
 496;グ追跡システムを使用して下さい。このソフトウェアの使い方に関する質問があれば、<a class="ulink" href="http://foo-projects.org/mailman/listinfo/xfce" target="_top">Xfce メーリングリスト</a> で尋ねるか、IRC クライアントで <span class="bold"><strong>irc.freenode.net</strong></span> のチャンネル <span class="bold"><strong>#xfce</strong></span> に参加し、助けを求めてみてください。</p></div><div class="sect1" lang="ja"><div class="titlepage"><div><div><h2 class="title" style="clear: 
 both"><a name="about"></a>Clipman について</h2></div></div></div><p>Clipman は Eduard Roccatello によって製作され、Nick Schermer によってメンテナンスされていました。現在は Mike Massonnet (<code class="email"><<a class="email" href="mailto:mmassonnet at xfce.org">mmassonnet at xfce.org</a>></code>) によって製作されています。より詳しい情報は <a class="ulink" href="http://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin" target="_top">Clipman ウェブサイト</a> を参照してください。</p><p>この文書は Mike Massonnet (
 <code class="email"><<a class="email" href="mailto:mmassonnet at xfce.org">mmassonnet at xfce.org</a>></code>) が製作しました。この説明書に関するコメントやご提案は <code class="email"><<a class="email" href="mailto:mmassonnet at xfce.org">mmassonnet at xfce.org</a>></code> までお願いします。</p><p>このソフトウェアはフリーソフトウェア財団が公表する <em class="citetitle">GNU 一般公衆利用許諾契約書</em>の条件下に配布されています。第2版あるい&#12399
 ;、(あなたが選ぶ) それ以降の版のいずれかが適用されます。</p><p>このプログラムには、<em class="citetitle">GNU 一般公衆利用許諾契約書</em>のコピーが附属するはずですが、もし無いのであればフリーソフトウェア財団 (51 Franklin Street, Fifth Floor, Boston, MA 02110, USA) に連絡してください。</p></div></div></body></html>
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Clipman 説明書</title><link rel="stylesheet" href="../xfce.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" href="#xfce4-clipman-plugin" title="Clipman 説明書"><link rel="next" href="#intro" title="紹介"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="ja"><div class="titlepage"><div><div><h2 class="title"><a name="xfce4-clipman-plugin"></a>Clipman 説明書</h2></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="surname">Massonnet</span> <span class="firstname">Mike</span> [FAMILY Given]</h3><div class="affiliation"><div class="address"><p><code class="email"><<a class="email" href="mailto:mmassonnet at xfce.org">mmassonnet at xfce.org</a>></code></p></div></div></div>
 </div></div><div><span xmlns="http://www.w3.org/TR/xhtml1/transitional" class="releaseinfo">この説明書は Clipman のバージョン 1.0.2svn-r07592 について書かれています。<br></br></span></div><div><p class="copyright">製作著作 © 2009 Mike Massonnet</p></div><div><div class="legalnotice"><a name="legalnotice"></a><p>フリーソフトウェア財団が公表する GNU フリー文書利用許諾契約書の第1.3版、あるいはそれ以降のいずれかの版の条件下において、この文書の複&#35
 069;、配布および/または変更が許可されます。変更出来ない箇所、表紙文および裏表紙文があってはいけません。この利用許諾契約書の全文は<a class="ulink" href="http://www.fsf.org/" target="_top">フリーソフトウェア財団</a>から取得する事ができます。</p></div></div><div><p class="pubdate">April 2009</p></div></div><hr></div><div class="toc"><p><b>目次</b></p><dl><dt><span class="sect1"><a href="#intro">紹介</a></span></dt><dd><dl><dt><span class="sect2"><a
  href="#anatomy-clipboard">クリップボードの構造</a></span></dt><dt><span class="sect2"><a href="#getting-started">始めてみましょう</a></span></dt><dt><span class="sect2"><a href="#popup-command">ポップアップコマンド</a></span></dt></dl></dd><dt><span class="sect1"><a href="#settings">設定</a></span></dt><dd><dl><dt><span class="sect2"><a href="#general">「一般」タブ</a></span></dt><dt><span class="sect2"><a href="#actions">「アクション」タブ</a></span></dt><dt><span class="sect2"><a href="#xfconf">Xfconf</a></span></dt></dl></dd><dt><span class="sect1"><a href="#action">アクション</a></span></dt><dd><dl><dt><span class="sect2"><a href="#regexes">正規表現</a
 ></span></dt><dt><span class="sect2"><a href="#command">コマンド</a></span></dt></dl></dd><dt><span class="sect1"><a href="#support">サポート</a></span></dt><dt><span class="sect1"><a href="#about">Clipman について</a></span></dt></dl></div><div class="sect1" lang="ja"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="intro"></a>紹介</h2></div></div></div><p>Clipman は Xfce 用のクリップボードマネージャです。これは、通常アプリケーションが終了した時に失われてしまうクリップボードの内容を保持します&#12
 290;文字列および画像を扱うことができ、選択された文字列が、指定された正規表現とマッチしたときに任意の処理を実行する機能も持っています。</p><div class="sect2" lang="ja"><div class="titlepage"><div><div><h3 class="title"><a name="anatomy-clipboard"></a>クリップボードの構造</h3></div></div></div><p>(すべての Unix プラットフォームにおける) X11 には、デフォルトで、あら&#1242
 2;るウィンドウ間でデータを交換するために 2 つのクリップボードが用意されています。デフォルトクリップボードは、手動のコピー操作 (例えば、ファイルを選択してコピーボタンを押したときなど) によって変更され、プライマリクリップボードは、対象を選択した時点 (例えば&#
 12289;フィールドの文字列を選択したときなど) で変更されます。</p><p>Clipman は、デフォルトクリップボードのみ処理しますが、オプションで選択領域を扱うこともできます。選択領域を扱う場合は、デフォルトクリップボードは常にそれとの同期がとられ、同じ内容になります。</p></div><div class="sect2" l
 ang="ja"><div class="titlepage"><div><div><h3 class="title"><a name="getting-started"></a>始めてみましょう</h3></div></div></div><p>Clipman は、クリップボードの履歴を保持し、それらを復元するために使われます。履歴はメインアイコンをクリックして表示されるメニューに表示されます。メニューから、復元するアイテムの選択、履歴のクリア、およびクリッ&
 #12503;ボードマネージャの有効/無効の切り換えが行えます。</p><div class="figure"><a name="id2637297"></a><p class="title"><b>図1 Clipman メニュー</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-menu.png" alt="履歴表示メニュー"></div></div></div><br class="figure-break"><p>Clipman を実行するには 2 つの方法があります。一つは、アプリケーションメニューのアクセサリにある Clipman を選択するか、コマンドラ&#124
 52;ンから <strong class="application"><code>xfce4-clipman-plugin</code></strong> と入力して起動する方法、もう一つはパネルに追加する方法です。パネルに新しいアイテムを追加するには、パネルを右クリックして「新しいアイテムの追加...」を選択してください。</p></div><div class="sect2" lang="ja"><div class="titlepage"><div><div><h3 class="title"><a name="popup-command"></a>ポップアップコマンド</h3></div></div></div><p>Clipman
  はコマンドラインツール <strong class="application"><code>xfce4-popup-clipman</code></strong> を提供しています。これはコマンドが実行されるとメインメニューをポップアップするもので、<span class="guimenu"><strong>Xfce メニュー</strong></span>+<span class="guimenu"><strong>設定</strong></span>+<span class="guimenu"><strong>キーボード</strong></span> にある <span class="bold"><strong>アプリケーションショートカット</strong></span> に設定する際に&#2444
 1;立ちます。</p></div></div><div class="sect1" lang="ja"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="settings"></a>設定</h2></div></div></div><p>設定ダイアログは、メインアイコン上の右クリックで表示されるコンテキストメニューの「プロパティ」アイテムを選ぶと表示されます。ここでは履歴の設定およびアクションの編集が行えます。</p><div class="sect2" lang="ja"><div class="titlepage"><div><
 div><h3 class="title"><a name="general"></a>「一般」タブ</h3></div></div></div><p>以下の表は、利用可能なオプションについて説明しています:</p><div class="table"><a name="id2636726"></a><p class="title"><b>表1 設定ダイアログでの一般オプション</b></p><div class="table-contents"><table xmlns="http://www.w3.org/TR/xhtml1/transitional" bgcolor="#F8F9FD" cellspacing="0" cellpadding="4" summary="設定ダイアログでの一般オプション" border="1"><colgroup><col xmlns=""><col xmlns=""></colgroup><thead xmlns=""><tr><th align="left">オプション</th><th align="left">説&
 #26126;</th></tr></thead><tbody xmlns=""><tr><td align="left">選択領域と同期をとる</td><td align="left">領域を選択しただけで貼り付けできるよう、プライマリクリップボードとデフォルトクリップボードの同期がとられます</td></tr><tr><td align="left">履歴に残さない</td><td align="left">プライマリクリップボードの内容を履歴に格納しません</td></tr><tr><td align="left">終了時に保存&#123
 77;る</td><td align="left">履歴を保存し、新しいセッション開始時に復元します</td></tr><tr><td align="left">画像を格納する</td><td align="left">履歴に画像を格納することができます</td></tr><tr><td align="left">履歴のサイズ</td><td align="left">文字列履歴に保持するアイテム数を設定します</td></tr></tbody></table></div></div><br class="table-break"><div class="figure"><a name="id2636815"></a><p class="title"><b>図2 Clipman 設定</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-set
 tings-general.png" alt="設定ダイアログ - 「一般」タブ"></div></div></div><br class="figure-break"></div><div class="sect2" lang="ja"><div class="titlepage"><div><div><h3 class="title"><a name="actions"></a>「アクション」タブ</h3></div></div></div><p>一つのアクションは、アクション名と正規表現の組み合わせからなります。各アクションは一つ以上のコマンドを持つことができます。アクションのサポートは任意で&#12354
 ;り、「アクションを有効にする」オプションにより有効/無効を切り換えることができます。</p><p>アクションを追加するには追加アイコンをクリックし、編集するにはアクションを選択して編集アイコンをクリックするかアクションをダブルクリックし、削除するにはアクション&#12
 434;選択して削除アイコンをクリックします。アクションの追加または編集により新しいダイアログが表示されます。</p><p>アクションについてのより詳しい情報は、<a class="xref" href="#action" title="アクション">「アクション」</a> を参照してください。</p><div class="figure"><a name="id2636998"></a><p class="title"><b>図3 Clipman 設定</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-settings
 -actions.png" alt="設定ダイアログ - 「アクション」タブ"></div></div></div><br class="figure-break"></div><div class="sect2" lang="ja"><div class="titlepage"><div><div><h3 class="title"><a name="xfconf"></a>Xfconf</h3></div></div></div><p>Clipman は、<code class="constant">xfce4-panel</code> チャンネルへの設定の保存に Xfconf を使用します。これにより <strong class="application"><code>xfconf-query</code></strong> ツールで設定の変更が行えます。以下の表はすべてのプロパティと設定可能な値のリス&#124
 88;です:</p><div class="table"><a name="id2637665"></a><p class="title"><b>表2 Xfconf プロパティ</b></p><div class="table-contents"><table xmlns="http://www.w3.org/TR/xhtml1/transitional" bgcolor="#F8F9FD" cellspacing="0" cellpadding="4" summary="Xfconf プロパティ" border="1"><colgroup><col xmlns=""><col xmlns=""><col xmlns=""><col xmlns=""></colgroup><thead xmlns=""><tr><th align="left">プロパティ</th><th align="left">データ型</th><th align="left">デフォルト</th><th align="left">値</th></tr></thead><tbody xmlns=""><tr><td align="left">/plugins/clipman/settings/add-primary-clipboard</td><td align="left">bool</td><td align="left">false</td><td align="left">ture でプライマリクリップボードとデフォルト
 クリップボードの同期をとります</td></tr><tr><td align="left">/plugins/clipman/settings/enable-actions</td><td align="left">bool</td><td align="left">false</td><td align="left">true でアクションを有効にします</td></tr><tr><td align="left">/plugins/clipman/settings/history-ignore-primary-clipboard</td><td align="left">bool</td><td align="left">false</td><td align="left">true でプライマリクリップボードの内容を履歴に残しません</td></tr><tr><td align="left">/plugins/clipman/settings/max-images-in-history</td><td align="left">uint</td><td align="left">0</td><td align="left">0-5 画像履歴の数です</td></tr><tr><td align="lef
 t">/plugins/clipman/settings/max-texts-in-history</td><td align="left">uint</td><td align="left">10</td><td align="left">5-100 文字列履歴の数です</td></tr><tr><td align="left">/plugins/clipman/settings/save-on-quit</td><td align="left">bool</td><td align="left">true</td><td align="left">true で新しいセッション開始時に履歴を復元します</td></tr></tbody></table></div></div><br class="table-break"><p>コマンドラインで設定を変更するには:</p><code class="literal">xfconf-query -c xfce4-panel -p <property> -s <value></code></div></div><div class="sect1" lang="ja"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="action"></a>アクション</
 h2></div></div></div><p>アクションはマッチするパターンを説明する名前を持つことができます。マッチは選択した文字列に対して行われ、パターンは正規表現で指定します。アクションは少なくとも一つのコマンドと、その名前を持たなければなりません。マッチした文字列はコマンド内で&#208
 77;利用できます。</p><div class="figure"><a name="id2637820"></a><p class="title"><b>図4 アクションダイアログ</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/clipman-action-dialog.png" alt="「アクションの編集」ダイアログ"></div></div></div><br class="figure-break"><div class="sect2" lang="ja"><div class="titlepage"><div><div><h3 class="title"><a name="regexes"></a>正規表現</h3></div></div></div><p>基本特殊文字: "<span class="bold"><strong><code class="code">.?+*(|)[]\</code></strong></span>".</p><div class="itemizedlist"><ul type="disc"><li>“<span class="bold"><strong><code class="code">.</code></strong></span>”: 任意の一文字にマ&#12
 483;チします。</li><li>“<span class="bold"><strong><code class="code">?+*</code></strong></span>”: それぞれ、直前の文字が 0 個か 1 個、1 個以上、および 0 個以上あるときにマッチします。</li><li>“<span class="bold"><strong><code class="code">(|)</code></strong></span>”: グループ化と置換に使用されます。バーチカルバー“|”は論理和演算子として使用されます。</li><li>“<span class="bold"><strong><code class="code">[^]</code></strong></span>”: 括&#24
 359;内に含まれる 1 個の文字または特殊文字にマッチします。サーカムフレックス“^”が先頭にあると論理否定となり、括弧内に含まれない 1 個の文字または特殊文字にマッチします。</li><li>“<span class="bold"><strong><code class="code">\</code></strong></span>”: 特殊文字をエスケープします。</li></ul></div><p>基本英数字クラス: "<span class="bold"><strong><code class="code">A-Za-z0-9
 </code></strong></span>"。文字クラスは文字のセットにマッチさせるために角括弧“[]”内で使用されます。</p><div class="sect3" lang="ja"><div class="titlepage"><div><div><h4 class="title"><a name="regexes-examples"></a>例</h4></div></div></div><div class="itemizedlist"><ul type="disc"><li>"<span class="bold"><strong><code class="code">bug ?#?[0-9]+</code></strong></span>": 文字列 "<span class="emphasis"><em>bug</em></span>"、0 個か 1 個のスペース、0 個か 1 個の番号記号“#”、および 1 個以上の番号にマッチする。</li><li>"<spa
 n class="bold"><strong><code class="code">(http|ftp).+\.(jpg|png|gif)</code></strong></span>": 文字列 "<span class="emphasis"><em>http</em></span>" または "<span class="emphasis"><em>ftp</em></span>"、1 個以上の文字、ピリオド“.”、および文字列 "<span class="emphasis"><em>jpg</em></span>"、"<span class="emphasis"><em>png</em></span>"、あるいは "<span class="emphasis"><em>gif</em></span>" にマッチする。</li><li>"<span class="bold"><strong><code class="code">http://.{120}[^ ]+</code></strong></span>": 文字列 "<span class="emphasis"><em>http://</em></span>"、120 個の文字、および 1 個以上のスペース以外の&#2599
 1;字にマッチする。</li></ul></div></div><div class="sect3" lang="ja"><div class="titlepage"><div><div><h4 class="title"><a name="regexes-external-ressource"></a>その他の情報</h4></div></div></div><p>正規表現については、<a class="ulink" href="http://ja.wikipedia.org/wiki/%E6%AD%A3%E8%A6%8F%E8%A1%A8%E7%8F%BE" target="_top">Wikipedia の記事</a>などを参照してください。</p></div></div><div class="sect2" lang="ja"><div class="titlepage"><div><div><h3 class="title"><a name="command"></a>コマンド</h3></div></div></div><p>コマンドは正規表現から 1 個以上の置換文字列を再利用する&
 #12371;とができます。置換文字列は“<span class="bold"><strong><code class="code">\<number></code></strong></span>”で表され、<number> はパターン内の丸括弧“()”で括られたサブパターンの順番 (一番左が 1) に、0 は完全な文字列に対応します。</p><p>例えば、シンプルなパターン“<span class="bold"><strong><code class="code">bug #(123)</code></strong></span>”では、“<span class="bold"><strong><code class="code">\0</code></strong></span>”が文字列&#82
 20;bug #123”に、“<span class="bold"><strong><code class="code">\1</code></strong></span>”が文字列“123”に置き換えられます。コマンド“<code class="code">exo-open http://host/\1</code>”の場合、実際に実行されるコマンドは“<code class="code">exo-open http://host/123</code>”になります。</p></div></div><div class="sect1" lang="ja"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="support"></a>サポート</h2></div></div></div><p>バグの報告や要望は、<a class="ulink" href="http://bugzilla.xfce.org/" target="_top">http://bugzilla.xfce.org/</a> にある&#12
 496;グ追跡システムを使用して下さい。このソフトウェアの使い方に関する質問があれば、<a class="ulink" href="http://foo-projects.org/mailman/listinfo/xfce" target="_top">Xfce メーリングリスト</a> で尋ねるか、IRC クライアントで <span class="bold"><strong>irc.freenode.net</strong></span> のチャンネル <span class="bold"><strong>#xfce</strong></span> に参加し、助けを求めてみてください。</p></div><div class="sect1" lang="ja"><div class="titlepage"><div><div><h2 class="title" style="clear: 
 both"><a name="about"></a>Clipman について</h2></div></div></div><p>Clipman は Eduard Roccatello によって製作され、Nick Schermer によってメンテナンスされていました。現在は Mike Massonnet (<code class="email"><<a class="email" href="mailto:mmassonnet at xfce.org">mmassonnet at xfce.org</a>></code>) によって製作されています。より詳しい情報は <a class="ulink" href="http://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin" target="_top">Clipman ウェブサイト</a> を参照してください。</p><p>この文書は Mike Massonnet (
 <code class="email"><<a class="email" href="mailto:mmassonnet at xfce.org">mmassonnet at xfce.org</a>></code>) が製作しました。この説明書に関するコメントやご提案は <code class="email"><<a class="email" href="mailto:mmassonnet at xfce.org">mmassonnet at xfce.org</a>></code> までお願いします。</p><p>このソフトウェアはフリーソフトウェア財団が公表する <em class="citetitle">GNU 一般公衆利用許諾契約書</em>の条件下に配布されています。第2版あるい&#12399
 ;、(あなたが選ぶ) それ以降の版のいずれかが適用されます。</p><p>このプログラムには、<em class="citetitle">GNU 一般公衆利用許諾契約書</em>のコピーが附属するはずですが、もし無いのであればフリーソフトウェア財団 (51 Franklin Street, Fifth Floor, Boston, MA 02110, USA) に連絡してください。</p></div></div></body></html>

Modified: xfce4-clipman-plugin/trunk/panel-plugin/collector.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/collector.c	2009-06-28 18:26:51 UTC (rev 7639)
+++ xfce4-clipman-plugin/trunk/panel-plugin/collector.c	2009-06-28 22:22:29 UTC (rev 7640)
@@ -49,7 +49,6 @@
   gboolean              add_primary_clipboard;
   gboolean              history_ignore_primary_clipboard;
   gboolean              enable_actions;
-  gboolean              inhibit;
 };
 
 enum
@@ -57,7 +56,6 @@
   ADD_PRIMARY_CLIPBOARD = 1,
   HISTORY_IGNORE_PRIMARY_CLIPBOARD,
   ENABLE_ACTIONS,
-  INHIBIT,
 };
 
 static void             clipman_collector_class_init        (ClipmanCollectorClass *klass);
@@ -97,14 +95,6 @@
   GdkPixbuf *image;
   GdkAtom text_plain, text_html;
 
-  /* Skip if the collector is inhibit */
-  if (collector->priv->inhibit == TRUE)
-    return;
-
-  /* Take only care of new clipboard content */
-  if (event->reason != GDK_OWNER_CHANGE_NEW_OWNER)
-    return;
-
   /* Jump over if the content is set from within clipman */
   if (collector->priv->internal_change)
     {
@@ -117,37 +107,18 @@
     {
       has_text = gtk_clipboard_wait_is_text_available (collector->priv->default_clipboard);
       has_image = gtk_clipboard_wait_is_image_available (collector->priv->default_clipboard);
-
       if (has_text)
         {
           text = gtk_clipboard_wait_for_text (collector->priv->default_clipboard);
           if (text != NULL && text[0] != '\0')
-            {
-              /* Make Clipman the owner only if it has the target text/plain */
-              text_plain = gdk_atom_intern_static_string ("text/plain");
-              if (gtk_clipboard_wait_is_target_available (collector->priv->default_clipboard, text_plain))
-                {
-                  collector->priv->internal_change = TRUE;
-                  gtk_clipboard_set_text (collector->priv->default_clipboard, text, -1);
-                }
-
-              /* Add to history */
-              clipman_history_add_text (collector->priv->history, text);
-            }
+            clipman_history_add_text (collector->priv->history, text);
           g_free (text);
         }
       else if (has_image)
         {
           image = gtk_clipboard_wait_for_image (collector->priv->default_clipboard);
           if (image != NULL)
-            {
-              /* Make Clipman the owner */
-              collector->priv->internal_change = TRUE;
-              gtk_clipboard_set_image (collector->priv->default_clipboard, image);
-
-              /* Add to history */
-              clipman_history_add_image (collector->priv->history, image);
-            }
+            clipman_history_add_image (collector->priv->history, image);
           g_object_unref (image);
         }
     }
@@ -177,7 +148,6 @@
   if (state & (GDK_BUTTON1_MASK|GDK_SHIFT_MASK))
     return TRUE;
 
-  /* Copy the text to the history */
   if (gtk_clipboard_wait_is_text_available (collector->priv->primary_clipboard))
     {
       text = gtk_clipboard_wait_for_text (collector->priv->primary_clipboard);
@@ -224,21 +194,6 @@
   collector->priv->internal_change = TRUE;
 }
 
-/**
- * clipman_collector_inhibit:
- * @collector: a #ClipmanCollector
- * @inhibit: TRUE if the collector should be deactivated
- *
- * Set to TRUE to disable the collector, FALSE to let it read the clipboard
- * contents.
- */
-void
-clipman_collector_inhibit (ClipmanCollector *collector,
-                           gboolean inhibit)
-{
-  g_object_set (collector, "inhibit", inhibit, NULL);
-}
-
 ClipmanCollector *
 clipman_collector_get ()
 {
@@ -294,13 +249,6 @@
                                                          "Set to TRUE to enable actions (match the clipboard texts against regex's)",
                                                          DEFAULT_ENABLE_ACTIONS,
                                                          G_PARAM_CONSTRUCT|G_PARAM_READWRITE));
-
-  g_object_class_install_property (object_class, INHIBIT,
-                                   g_param_spec_boolean ("inhibit",
-                                                         "Inhibit",
-                                                         "Set to TRUE to disable the collector",
-                                                         FALSE,
-                                                         G_PARAM_CONSTRUCT|G_PARAM_READWRITE));
 }
 
 static void
@@ -363,10 +311,6 @@
       priv->enable_actions = g_value_get_boolean (value);
       break;
 
-    case INHIBIT:
-      priv->inhibit = g_value_get_boolean (value);
-      break;
-
     default:
       break;
     }
@@ -394,12 +338,7 @@
       g_value_set_boolean (value, priv->enable_actions);
       break;
 
-    case INHIBIT:
-      g_value_set_boolean (value, priv->inhibit);
-      break;
-
     default:
       break;
     }
 }
-

Modified: xfce4-clipman-plugin/trunk/panel-plugin/collector.h
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/collector.h	2009-06-28 18:26:51 UTC (rev 7639)
+++ xfce4-clipman-plugin/trunk/panel-plugin/collector.h	2009-06-28 22:22:29 UTC (rev 7640)
@@ -52,8 +52,6 @@
 
 ClipmanCollector *      clipman_collector_get                   ();
 void                    clipman_collector_set_is_restoring      (ClipmanCollector *collector);
-void                    clipman_collector_inhibit               (ClipmanCollector *collector,
-                                                                 gboolean inhibit);
 
 #endif /* !__CLIPMAN_COLLECTOR_H__ */
 

Modified: xfce4-clipman-plugin/trunk/panel-plugin/main.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/main.c	2009-06-28 18:26:51 UTC (rev 7639)
+++ xfce4-clipman-plugin/trunk/panel-plugin/main.c	2009-06-28 22:22:29 UTC (rev 7640)
@@ -259,8 +259,6 @@
                           G_TYPE_BOOLEAN, plugin->collector, "history-ignore-primary-clipboard");
   xfconf_g_property_bind (plugin->channel, "/settings/enable-actions",
                           G_TYPE_BOOLEAN, plugin->collector, "enable-actions");
-  xfconf_g_property_bind (plugin->channel, "/inhibit",
-                          G_TYPE_BOOLEAN, plugin->collector, "inhibit");
 
   /* ClipmanMenu */
   plugin->menu = clipman_menu_new ();

Modified: xfce4-clipman-plugin/trunk/panel-plugin/menu.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/menu.c	2009-06-28 18:26:51 UTC (rev 7639)
+++ xfce4-clipman-plugin/trunk/panel-plugin/menu.c	2009-06-28 22:22:29 UTC (rev 7640)
@@ -41,7 +41,6 @@
 struct _ClipmanMenuPrivate
 {
   GtkWidget            *mi_clear_history;
-  GtkWidget            *mi_inhibit;
   ClipmanHistory       *history;
   GSList               *list;
 };
@@ -61,7 +60,6 @@
  */
 
 static void             cb_set_clipboard                (const ClipmanHistoryItem *item);
-static void             cb_inhibit                      (ClipmanMenu *menu);
 static void             cb_clear_history                (ClipmanMenu *menu);
 
 
@@ -108,14 +106,6 @@
 }
 
 static void
-cb_inhibit (ClipmanMenu *menu)
-{
-  ClipmanCollector *collector = clipman_collector_get ();
-  clipman_collector_inhibit (collector, !(GTK_CHECK_MENU_ITEM (menu->priv->mi_inhibit)->active));
-  g_object_unref (collector);
-}
-
-static void
 cb_clear_history (ClipmanMenu *menu)
 {
   GtkClipboard *clipboard;
@@ -259,13 +249,6 @@
   mi = gtk_separator_menu_item_new ();
   gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
 
-  menu->priv->mi_inhibit = mi = gtk_check_menu_item_new_with_mnemonic (_("_Enable"));
-  collector = clipman_collector_get ();
-  exo_binding_new_with_negation (G_OBJECT (collector), "inhibit", G_OBJECT (mi), "active");
-  g_object_unref (collector);
-  gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
-  g_signal_connect_swapped (mi, "toggled", G_CALLBACK (cb_inhibit), menu);
-
   menu->priv->mi_clear_history = mi = gtk_image_menu_item_new_from_stock (GTK_STOCK_CLEAR, NULL);
   gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
   g_signal_connect_swapped (mi, "activate", G_CALLBACK (cb_clear_history), menu);




More information about the Goodies-commits mailing list