diff pk-update-icon.1.xml @ 46:aa5d3752091d

Make the update viewer command configurable Make the update viewer command configurable at copile time through the UPDATE_VIEWER_COMMAND macro. Make the update viewer command configurable at run time through the -c/--command command line option. Treat the update viewer command as a shell command and parse it via g_shell_parse_argv(), this allows for running the update viewer via xdg-su, gnomesu, pkexec etc. Disable install action in the notification and on the status icon in case no update viewer command has been provided.
author Guido Berhoerster <gber@opensuse.org>
date Thu, 18 Jun 2015 14:10:57 +0200
parents 7e44a0a8dc2c
children e8eb1f93c4e7
line wrap: on
line diff
--- a/pk-update-icon.1.xml	Thu Jun 18 13:35:55 2015 +0200
+++ b/pk-update-icon.1.xml	Thu Jun 18 14:10:57 2015 +0200
@@ -30,7 +30,7 @@
       <email>gber@opensuse.org</email>
       <personblurb/>
     </author>
-    <date>7 February, 2014</date>
+    <date>18 Juni, 2015</date>
   </info>
   <refmeta>
     <refentrytitle>pk-update-icon</refentrytitle>
@@ -67,6 +67,16 @@
       </group>
       <group>
         <arg choice="plain">
+          <option>-c</option>
+          <replaceable>command</replaceable>
+        </arg>
+        <arg choice="plain">
+          <option>--command</option>
+          <replaceable>command</replaceable>
+        </arg>
+      </group>
+      <group>
+        <arg choice="plain">
           <option>-d</option>
           <replaceable>delay</replaceable>
         </arg>
@@ -99,6 +109,20 @@
     <variablelist>
       <varlistentry>
         <term>
+          <option>-c</option>
+          <replaceable>command</replaceable>
+        </term>
+        <term>
+          <option>--command</option>
+          <replaceable>command</replaceable>
+        </term>
+        <listitem>
+          <para>Specify the command for starting the software update
+          viewer.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
           <option>-d</option>
           <replaceable>delay</replaceable>
         </term>