comparison 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
comparison
equal deleted inserted replaced
45:a29fbf0a7f6c 46:aa5d3752091d
28 <surname>Berhoerster</surname> 28 <surname>Berhoerster</surname>
29 </personname> 29 </personname>
30 <email>gber@opensuse.org</email> 30 <email>gber@opensuse.org</email>
31 <personblurb/> 31 <personblurb/>
32 </author> 32 </author>
33 <date>7 February, 2014</date> 33 <date>18 Juni, 2015</date>
34 </info> 34 </info>
35 <refmeta> 35 <refmeta>
36 <refentrytitle>pk-update-icon</refentrytitle> 36 <refentrytitle>pk-update-icon</refentrytitle>
37 <manvolnum>1</manvolnum> 37 <manvolnum>1</manvolnum>
38 <refmiscinfo class="source"/> 38 <refmiscinfo class="source"/>
65 <option>--version</option> 65 <option>--version</option>
66 </arg> 66 </arg>
67 </group> 67 </group>
68 <group> 68 <group>
69 <arg choice="plain"> 69 <arg choice="plain">
70 <option>-c</option>
71 <replaceable>command</replaceable>
72 </arg>
73 <arg choice="plain">
74 <option>--command</option>
75 <replaceable>command</replaceable>
76 </arg>
77 </group>
78 <group>
79 <arg choice="plain">
70 <option>-d</option> 80 <option>-d</option>
71 <replaceable>delay</replaceable> 81 <replaceable>delay</replaceable>
72 </arg> 82 </arg>
73 <arg choice="plain"> 83 <arg choice="plain">
74 <option>--delay</option> 84 <option>--delay</option>
95 </refsect1> 105 </refsect1>
96 <refsect1> 106 <refsect1>
97 <title>Options</title> 107 <title>Options</title>
98 <para>The following options are supported:</para> 108 <para>The following options are supported:</para>
99 <variablelist> 109 <variablelist>
110 <varlistentry>
111 <term>
112 <option>-c</option>
113 <replaceable>command</replaceable>
114 </term>
115 <term>
116 <option>--command</option>
117 <replaceable>command</replaceable>
118 </term>
119 <listitem>
120 <para>Specify the command for starting the software update
121 viewer.</para>
122 </listitem>
123 </varlistentry>
100 <varlistentry> 124 <varlistentry>
101 <term> 125 <term>
102 <option>-d</option> 126 <option>-d</option>
103 <replaceable>delay</replaceable> 127 <replaceable>delay</replaceable>
104 </term> 128 </term>