This file is indexed.

/usr/share/gtk-doc/html/nautilus-actions-3/NAIContext.html is in nautilus-actions 3.2.3-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
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>NAIContext</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Nautilus-Actions™ Reference Manual">
<link rel="up" href="ch06.html" title="NAObject Hierarchy">
<link rel="prev" href="NAIDuplicable.html" title="NAIDuplicable">
<link rel="next" href="nautilus-actions-API.html" title="API">
<meta name="generator" content="GTK-Doc V1.19 (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="NAIDuplicable.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch06.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">
<span class="productname">Nautilus-Actions</span>™ Reference Manual</th>
<td><a accesskey="n" href="nautilus-actions-API.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#NAIContext.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#NAIContext.description" class="shortcut">Description</a>
                   | 
                  <a href="#NAIContext.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#NAIContext.prerequisites" class="shortcut">Prerequisites</a>
                   | 
                  <a href="#NAIContext.implementations" class="shortcut">Known Implementations</a>
</td></tr>
</table>
<div class="refentry">
<a name="NAIContext"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="NAIContext.top_of_page"></a>NAIContext</span></h2>
<p>NAIContext — The Contextual Interface</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="NAIContext.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;nautilus-actions/na-icontext.h&gt;

#define             <a class="link" href="NAIContext.html#NA-TYPE-ICONTEXT:CAPS" title="NA_TYPE_ICONTEXT">NA_TYPE_ICONTEXT</a>
#define             <a class="link" href="NAIContext.html#NA-ICONTEXT-GET-INTERFACE:CAPS" title="NA_ICONTEXT_GET_INTERFACE()">NA_ICONTEXT_GET_INTERFACE</a>           (instance)
                    <a class="link" href="NAIContext.html#NAIContext-struct" title="NAIContext">NAIContext</a>;
                    <a class="link" href="NAIContext.html#NAIContextInterfacePrivate" title="NAIContextInterfacePrivate">NAIContextInterfacePrivate</a>;
                    <a class="link" href="NAIContext.html#NAIContextInterface" title="NAIContextInterface">NAIContextInterface</a>;
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="NAIContext.html#na-icontext-are-equal" title="na_icontext_are_equal ()">na_icontext_are_equal</a>               (<em class="parameter"><code>const <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *a</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *b</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="NAIContext.html#na-icontext-check-mimetypes" title="na_icontext_check_mimetypes ()">na_icontext_check_mimetypes</a>         (<em class="parameter"><code>const <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *context</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="NAIContext.html#na-icontext-copy" title="na_icontext_copy ()">na_icontext_copy</a>                    (<em class="parameter"><code><a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *context</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *source</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="NAIContext.html#na-icontext-is-candidate" title="na_icontext_is_candidate ()">na_icontext_is_candidate</a>            (<em class="parameter"><code>const <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *context</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> target</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *selection</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="NAIContext.html#na-icontext-is-valid" title="na_icontext_is_valid ()">na_icontext_is_valid</a>                (<em class="parameter"><code>const <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *context</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="NAIContext.html#na-icontext-read-done" title="na_icontext_read_done ()">na_icontext_read_done</a>               (<em class="parameter"><code><a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *context</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="NAIContext.html#na-icontext-set-scheme" title="na_icontext_set_scheme ()">na_icontext_set_scheme</a>              (<em class="parameter"><code><a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *context</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> *scheme</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> selected</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="NAIContext.html#na-icontext-set-only-desktop" title="na_icontext_set_only_desktop ()">na_icontext_set_only_desktop</a>        (<em class="parameter"><code><a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *context</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> *desktop</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> selected</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="NAIContext.html#na-icontext-set-not-desktop" title="na_icontext_set_not_desktop ()">na_icontext_set_not_desktop</a>         (<em class="parameter"><code><a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *context</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> *desktop</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> selected</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="NAIContext.html#na-icontext-replace-folder" title="na_icontext_replace_folder ()">na_icontext_replace_folder</a>          (<em class="parameter"><code><a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *context</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> *old</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> *new</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="NAIContext.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  GInterface
   +----NAIContext
</pre>
</div>
<div class="refsect1">
<a name="NAIContext.prerequisites"></a><h2>Prerequisites</h2>
<p>
NAIContext requires
 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>.</p>
</div>
<div class="refsect1">
<a name="NAIContext.implementations"></a><h2>Known Implementations</h2>
<p>
NAIContext is implemented by
 <a class="link" href="NAObjectAction.html" title="NAObjectAction">NAObjectAction</a>,  <a class="link" href="NAObjectMenu.html" title="NAObjectMenu">NAObjectMenu</a> and  <a class="link" href="NAObjectProfile.html" title="NAObjectProfile">NAObjectProfile</a>.</p>
</div>
<div class="refsect1">
<a name="NAIContext.description"></a><h2>Description</h2>
<p>
This interface is implemented by all <a class="link" href="NAObject.html" title="NAObject"><span class="type">NAObject</span></a> -derived objects
whose the display in the Nautilus context menu is subject to some
conditions.
</p>
<p>
Implementors, typically <a class="link" href="NAObjectAction.html" title="NAObjectAction"><span class="type">NAObjectAction</span></a>, <a class="link" href="NAObjectProfile.html" title="NAObjectProfile"><span class="type">NAObjectProfile</span></a> and
<a class="link" href="NAObjectMenu.html" title="NAObjectMenu"><span class="type">NAObjectMenu</span></a>, host the required data as <a class="link" href="NADataBoxed.html" title="NADataBoxed"><span class="type">NADataBoxed</span></a> in a dedicated
NA_FACTORY_CONDITIONS_GROUP data group.
</p>
</div>
<div class="refsect1">
<a name="NAIContext.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="NA-TYPE-ICONTEXT:CAPS"></a><h3>NA_TYPE_ICONTEXT</h3>
<pre class="programlisting">#define NA_TYPE_ICONTEXT                      ( na_icontext_get_type())
</pre>
</div>
<hr>
<div class="refsect2">
<a name="NA-ICONTEXT-GET-INTERFACE:CAPS"></a><h3>NA_ICONTEXT_GET_INTERFACE()</h3>
<pre class="programlisting">#define NA_ICONTEXT_GET_INTERFACE( instance ) ( G_TYPE_INSTANCE_GET_INTERFACE(( instance ), NA_TYPE_ICONTEXT, NAIContextInterface ))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="NAIContext-struct"></a><h3>NAIContext</h3>
<pre class="programlisting">typedef struct _NAIContext NAIContext;</pre>
</div>
<hr>
<div class="refsect2">
<a name="NAIContextInterfacePrivate"></a><h3>NAIContextInterfacePrivate</h3>
<pre class="programlisting">typedef struct _NAIContextInterfacePrivate NAIContextInterfacePrivate;</pre>
</div>
<hr>
<div class="refsect2">
<a name="NAIContextInterface"></a><h3>NAIContextInterface</h3>
<pre class="programlisting">typedef struct {
	/**
	 * is_candidate:
	 * @object: this NAIContext object.
	 * @target: the initial target which triggered this function's stack.
	 *  This target is defined in na-object-item.h.
	 * @selection: the current selection as a GList of NautilusFileInfo.
	 *
	 * The NAIContext implementor may take advantage of this
	 * virtual function to check for its own specific data. Only if the
	 * implementor does return %TRUE (or just doesn't implement this
	 * virtual), the conditions themselves will be checked.
	 *
	 * Returns: %TRUE if the @object may be a potential candidate, %FALSE
	 * else.
	 *
	 * Since: 2.30
	 */
	gboolean ( *is_candidate )( NAIContext *object, guint target, GList *selection );
} NAIContextInterface;
</pre>
<p>
This interface manages all conditions relevant to a displayable status
in Nautilus.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="structfield"><code><a name="NAIContextInterface.is-candidate"></a>is_candidate</code></em> ()</span></p></td>
<td>determines if the given NAObject-derived object is
candidate to display in Nautilus.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="na-icontext-are-equal"></a><h3>na_icontext_are_equal ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            na_icontext_are_equal               (<em class="parameter"><code>const <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *a</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *b</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
<td>the (original) <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> context.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
<td>the (duplicated) <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> context to be checked.</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 this <em class="parameter"><code>a</code></em> and <em class="parameter"><code>b</code></em> are equal, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> else.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 3.1</p>
</div>
<hr>
<div class="refsect2">
<a name="na-icontext-check-mimetypes"></a><h3>na_icontext_check_mimetypes ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                na_icontext_check_mimetypes         (<em class="parameter"><code>const <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *context</code></em>);</pre>
<p>
Check the current list of mimetypes to see if it covers all mimetypes,
or all regular files, or something else.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
<td>the <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> object to be checked.</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.30</p>
</div>
<hr>
<div class="refsect2">
<a name="na-icontext-copy"></a><h3>na_icontext_copy ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                na_icontext_copy                    (<em class="parameter"><code><a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *context</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *source</code></em>);</pre>
<p>
Copy specific data from <em class="parameter"><code>source</code></em> to <em class="parameter"><code>context</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
<td>the target <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> context.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>the source <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> context.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 3.1</p>
</div>
<hr>
<div class="refsect2">
<a name="na-icontext-is-candidate"></a><h3>na_icontext_is_candidate ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            na_icontext_is_candidate            (<em class="parameter"><code>const <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *context</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> target</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *selection</code></em>);</pre>
<p>
Determines if the given object may be candidate to be displayed in
the Nautilus context menu, depending of the list of currently selected
items.
</p>
<p>
This function is called by <code class="methodname">build_nautilus_menus</code>
plugin function for each item found in NAPivot items list, and, when this
an action, for each profile of this action.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
<td>a <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> to be checked.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>target</code></em> :</span></p></td>
<td>the current target.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>selection</code></em> :</span></p></td>
<td>the currently selected items, as a <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of NASelectedInfo items.</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 this <em class="parameter"><code>context</code></em> succeeds to all tests and is so a
valid candidate to be displayed in Nautilus context menu, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
else.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.30</p>
</div>
<hr>
<div class="refsect2">
<a name="na-icontext-is-valid"></a><h3>na_icontext_is_valid ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            na_icontext_is_valid                (<em class="parameter"><code>const <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *context</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
<td>the <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> to be checked.</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 this <em class="parameter"><code>context</code></em> is valid, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> else.
This function is part of <code class="methodname">NAIDuplicable::check_status</code>
and is called by <a class="link" href="NAIDuplicable.html" title="NAIDuplicable"><span class="type">NAIDuplicable</span></a> objects which also implement <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a>
interface. It so doesn't make sense of asking the object for its
validity status as it has already been checked before calling the
function.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.30</p>
</div>
<hr>
<div class="refsect2">
<a name="na-icontext-read-done"></a><h3>na_icontext_read_done ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                na_icontext_read_done               (<em class="parameter"><code><a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *context</code></em>);</pre>
<p>
Prepares the specified <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> just after it has been read.
</p>
<p>
</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>
      This setup an internal flag when mimetypes is like 'all/all'
      in order to optimize computation time;
    </p></li></ul></div>
<p>
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
<td>the <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> to be prepared.</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.30</p>
</div>
<hr>
<div class="refsect2">
<a name="na-icontext-set-scheme"></a><h3>na_icontext_set_scheme ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                na_icontext_set_scheme              (<em class="parameter"><code><a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *context</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> *scheme</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> selected</code></em>);</pre>
<p>
Sets the status of a <em class="parameter"><code>scheme</code></em> relative to this <em class="parameter"><code>context</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
<td>the <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> to be updated.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>scheme</code></em> :</span></p></td>
<td>name of the scheme.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>selected</code></em> :</span></p></td>
<td>whether this scheme is candidate to this <em class="parameter"><code>context</code></em>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.30</p>
</div>
<hr>
<div class="refsect2">
<a name="na-icontext-set-only-desktop"></a><h3>na_icontext_set_only_desktop ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                na_icontext_set_only_desktop        (<em class="parameter"><code><a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *context</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> *desktop</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> selected</code></em>);</pre>
<p>
Sets the status of the <em class="parameter"><code>desktop</code></em> relative to this <em class="parameter"><code>context</code></em> for the NotShowIn list.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
<td>the <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> to be updated.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>desktop</code></em> :</span></p></td>
<td>name of the desktop environment.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>selected</code></em> :</span></p></td>
<td>whether this <em class="parameter"><code>desktop</code></em> is candidate to this <em class="parameter"><code>context</code></em>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.30</p>
</div>
<hr>
<div class="refsect2">
<a name="na-icontext-set-not-desktop"></a><h3>na_icontext_set_not_desktop ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                na_icontext_set_not_desktop         (<em class="parameter"><code><a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *context</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> *desktop</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> selected</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="na-icontext-replace-folder"></a><h3>na_icontext_replace_folder ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                na_icontext_replace_folder          (<em class="parameter"><code><a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> *context</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> *old</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> *new</code></em>);</pre>
<p>
Replaces the <em class="parameter"><code>old</code></em> URI by the <em class="parameter"><code>new</code></em> one.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
<td>the <a class="link" href="NAIContext.html" title="NAIContext"><span class="type">NAIContext</span></a> to be updated.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>old</code></em> :</span></p></td>
<td>the old uri.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>new</code></em> :</span></p></td>
<td>the new uri.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.30</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.19</div>
</body>
</html>