This file is indexed.

/usr/share/gtk-doc/html/libxfce4util/libxfce4util-Desktop-entries.html is in libxfce4util-dev 4.8.2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>XfceDesktopEntry</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="libxfce4util Reference Manual">
<link rel="up" href="libxfce4util-core.html" title="Xfce Core Application support">
<link rel="prev" href="libxfce4util-core.html" title="Xfce Core Application support">
<link rel="next" href="libxfce4util-Xfce-Kiosk-functions.html" title="Xfce Kiosk functions">
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libxfce4util-core.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libxfce4util-core.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libxfce4util Reference Manual</th>
<td><a accesskey="n" href="libxfce4util-Xfce-Kiosk-functions.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libxfce4util-Desktop-entries.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#libxfce4util-Desktop-entries.description" class="shortcut">Description</a>
                   | 
                  <a href="#libxfce4util-Desktop-entries.object-hierarchy" class="shortcut">Object Hierarchy</a>
</td></tr>
</table>
<div class="refentry">
<a name="libxfce4util-Desktop-entries"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libxfce4util-Desktop-entries.top_of_page"></a>XfceDesktopEntry</span></h2>
<p>XfceDesktopEntry — A GObject that wraps a .desktop file.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libxfce4util-Desktop-entries.synopsis"></a><h2>Synopsis</h2>
<a name="XfceDesktopEntry"></a><pre class="synopsis">
#include &lt;libxfce4util/libxfce4util.h&gt;

struct              <a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry-struct" title="struct XfceDesktopEntry">XfceDesktopEntry</a>;
<a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="returnvalue">XfceDesktopEntry</span></a> *  <a class="link" href="libxfce4util-Desktop-entries.html#xfce-desktop-entry-new" title="xfce_desktop_entry_new ()">xfce_desktop_entry_new</a>              (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **categories</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_categories</code></em>);
<a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="returnvalue">XfceDesktopEntry</span></a> *  <a class="link" href="libxfce4util-Desktop-entries.html#xfce-desktop-entry-new-from-data" title="xfce_desktop_entry_new_from_data ()">xfce_desktop_entry_new_from_data</a>    (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **categories</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_categories</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="libxfce4util-Desktop-entries.html#xfce-desktop-entry-get-file" title="xfce_desktop_entry_get_file ()">xfce_desktop_entry_get_file</a>         (<em class="parameter"><code><a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="type">XfceDesktopEntry</span></a> *desktop_entry</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libxfce4util-Desktop-entries.html#xfce-desktop-entry-get-string" title="xfce_desktop_entry_get_string ()">xfce_desktop_entry_get_string</a>       (<em class="parameter"><code><a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="type">XfceDesktopEntry</span></a> *desktop_entry</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> translated</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value_return</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libxfce4util-Desktop-entries.html#xfce-desktop-entry-get-int" title="xfce_desktop_entry_get_int ()">xfce_desktop_entry_get_int</a>          (<em class="parameter"><code><a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="type">XfceDesktopEntry</span></a> *desktop_entry</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *value_return</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libxfce4util-Desktop-entries.html#xfce-desktop-entry-has-translated-entry" title="xfce_desktop_entry_has_translated_entry ()">xfce_desktop_entry_has_translated_entry</a>
                                                        (<em class="parameter"><code><a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="type">XfceDesktopEntry</span></a> *desktop_entry</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libxfce4util-Desktop-entries.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----XfceDesktopEntry
</pre>
</div>
<div class="refsect1">
<a name="libxfce4util-Desktop-entries.description"></a><h2>Description</h2>
<p>
XfceDesktopEntry is a wrapper for a so-called desktop entry file. The
desktop entry format is defined on <a class="ulink" href="http://www.freedesktop.org/" target="_top">Freedesktop.org</a>.
</p>
</div>
<div class="refsect1">
<a name="libxfce4util-Desktop-entries.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="XfceDesktopEntry-struct"></a><h3>struct XfceDesktopEntry</h3>
<pre class="programlisting">struct XfceDesktopEntry;</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">XfceDesktopEntry</code> has been deprecated since version 4.8 and should not be used in newly-written code. Use <a class="link" href="libxfce4util-Resource-Config-File-Support.html#XfceRc" title="XfceRc"><span class="type">XfceRc</span></a> instead.</p>
</div>
<p>
All the fields in the XfceDesktopEntry structure are private to the
XfceDesktopEntry implementation and should never be accessed directly.
Instead, you should use the functions listed below.
</p>
</div>
<hr>
<div class="refsect2">
<a name="xfce-desktop-entry-new"></a><h3>xfce_desktop_entry_new ()</h3>
<pre class="programlisting"><a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="returnvalue">XfceDesktopEntry</span></a> *  xfce_desktop_entry_new              (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **categories</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_categories</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_desktop_entry_new</code> has been deprecated since version 4.8 and should not be used in newly-written code. Use <a class="link" href="libxfce4util-Resource-Config-File-Support.html#XfceRc" title="XfceRc"><span class="type">XfceRc</span></a> instead.</p>
</div>
<p>
Create a new <a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="type">XfceDesktopEntry</span></a> object from a desktop entry stored in a file on disk.
</p>
<p>
The caller is responsible to free the returned object (if any) using
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer needed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
<td>full path to the desktop entry file to use.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>categories</code></em> :</span></p></td>
<td>array of categories, not necessarily NULL terminated.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>num_categories</code></em> :</span></p></td>
<td>number of items in <em class="parameter"><code>categories</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>newly created <a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="type">XfceDesktopEntry</span></a> or NULL if something goes wrong.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="xfce-desktop-entry-new-from-data"></a><h3>xfce_desktop_entry_new_from_data ()</h3>
<pre class="programlisting"><a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="returnvalue">XfceDesktopEntry</span></a> *  xfce_desktop_entry_new_from_data    (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **categories</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_categories</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_desktop_entry_new_from_data</code> has been deprecated since version 4.8 and should not be used in newly-written code. Use <a class="link" href="libxfce4util-Resource-Config-File-Support.html#XfceRc" title="XfceRc"><span class="type">XfceRc</span></a> instead.</p>
</div>
<p>
Create a new <a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="type">XfceDesktopEntry</span></a> object from a desktop entry stored in memory.
</p>
<p>
The caller is responsible to free the returned object (if any) using
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer needed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>pointer to the desktop entry inline data.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>categories</code></em> :</span></p></td>
<td>array of categories, not necessarily NULL terminated.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>num_categories</code></em> :</span></p></td>
<td>number of items in <em class="parameter"><code>categories</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>newly created <a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="type">XfceDesktopEntry</span></a> or NULL if something goes wrong.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="xfce-desktop-entry-get-file"></a><h3>xfce_desktop_entry_get_file ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       xfce_desktop_entry_get_file         (<em class="parameter"><code><a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="type">XfceDesktopEntry</span></a> *desktop_entry</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_desktop_entry_get_file</code> has been deprecated since version 4.8 and should not be used in newly-written code. Use <a class="link" href="libxfce4util-Resource-Config-File-Support.html#XfceRc" title="XfceRc"><span class="type">XfceRc</span></a> instead.</p>
</div>
<p>
Obtain the path to the desktop entry file associated with the
<a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="type">XfceDesktopEntry</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>desktop_entry</code></em> :</span></p></td>
<td>an <a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="type">XfceDesktopEntry</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>path of the desktop entry file used to create <em class="parameter"><code>desktop_entry</code></em>. The
return value should be considered read-only and must not be freed
by the caller.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="xfce-desktop-entry-get-string"></a><h3>xfce_desktop_entry_get_string ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            xfce_desktop_entry_get_string       (<em class="parameter"><code><a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="type">XfceDesktopEntry</span></a> *desktop_entry</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> translated</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value_return</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_desktop_entry_get_string</code> has been deprecated since version 4.8 and should not be used in newly-written code. Use <a class="link" href="libxfce4util-Resource-Config-File-Support.html#XfceRc" title="XfceRc"><span class="type">XfceRc</span></a> instead.</p>
</div>
<p>
Finds the value for <em class="parameter"><code>key</code></em>. When <em class="parameter"><code>translated</code></em> is TRUE the function will use
the translated value (using the current locale settings) if available or
the untranslated value if no translation can be found.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>desktop_entry</code></em> :</span></p></td>
<td>an <a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="type">XfceDesktopEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>category to find value for.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>translated</code></em> :</span></p></td>
<td>set to TRUE if the translated value is preferred.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value_return</code></em> :</span></p></td>
<td>location for the value, which will be newly allocated.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE on success, FALSE on failure. <em class="parameter"><code>value_return</code></em> must be freed.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="xfce-desktop-entry-get-int"></a><h3>xfce_desktop_entry_get_int ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            xfce_desktop_entry_get_int          (<em class="parameter"><code><a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="type">XfceDesktopEntry</span></a> *desktop_entry</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *value_return</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_desktop_entry_get_int</code> has been deprecated since version 4.8 and should not be used in newly-written code. Use <a class="link" href="libxfce4util-Resource-Config-File-Support.html#XfceRc" title="XfceRc"><span class="type">XfceRc</span></a> instead.</p>
</div>
<p>
Gets a value from <em class="parameter"><code>desktop_entry</code></em> as integer. Therefore finds the value for
<em class="parameter"><code>key</code></em> and returns its integer representation.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>desktop_entry</code></em> :</span></p></td>
<td>an <a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="type">XfceDesktopEntry</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>category to find value for.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value_return</code></em> :</span></p></td>
<td>location for the value.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE on success, FALSE on failure.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="xfce-desktop-entry-has-translated-entry"></a><h3>xfce_desktop_entry_has_translated_entry ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            xfce_desktop_entry_has_translated_entry
                                                        (<em class="parameter"><code><a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="type">XfceDesktopEntry</span></a> *desktop_entry</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_desktop_entry_has_translated_entry</code> has been deprecated since version 4.8 and should not be used in newly-written code. Use <a class="link" href="libxfce4util-Resource-Config-File-Support.html#XfceRc" title="XfceRc"><span class="type">XfceRc</span></a> instead.</p>
</div>
<p>
Checks to see if <em class="parameter"><code>desktop_entry</code></em> has a value for <em class="parameter"><code>key</code></em> translated into
the current locale.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>desktop_entry</code></em> :</span></p></td>
<td>an <a class="link" href="libxfce4util-Desktop-entries.html#XfceDesktopEntry"><span class="type">XfceDesktopEntry</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>the key to check.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there is a translated key, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 4.3</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.17</div>
</body>
</html>