This file is indexed.

/usr/share/gtk-doc/html/evolution-util/EActivity.html is in evolution-dev 3.10.4-0ubuntu1.

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
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>EActivity</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Evolution Utilities Reference Manual">
<link rel="up" href="ch02.html" title="Activities">
<link rel="prev" href="ch02.html" title="Activities">
<link rel="next" href="EActivityBar.html" title="EActivityBar">
<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="ch02.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch02.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">Evolution Utilities Reference Manual</th>
<td><a accesskey="n" href="EActivityBar.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#EActivity.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#EActivity.description" class="shortcut">Description</a>
                   | 
                  <a href="#EActivity.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#EActivity.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="EActivity"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="EActivity.top_of_page"></a>EActivity</span></h2>
<p>EActivity — Describe activities in progress</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="EActivity.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;e-util/e-util.h&gt;

struct              <a class="link" href="EActivity.html#EActivity-struct" title="struct EActivity">EActivity</a>;
<a class="link" href="EActivity.html" title="EActivity"><span class="returnvalue">EActivity</span></a> *         <a class="link" href="EActivity.html#e-activity-new" title="e_activity_new ()">e_activity_new</a>                      (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span>                <a class="link" href="EActivity.html#e-activity-cancel" title="e_activity_cancel ()">e_activity_cancel</a>                   (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>);
<span class="returnvalue">gchar</span> *             <a class="link" href="EActivity.html#e-activity-describe" title="e_activity_describe ()">e_activity_describe</a>                 (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>);
<a class="link" href="EAlertSink.html" title="EAlertSink"><span class="returnvalue">EAlertSink</span></a> *        <a class="link" href="EActivity.html#e-activity-get-alert-sink" title="e_activity_get_alert_sink ()">e_activity_get_alert_sink</a>           (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="EActivity.html#e-activity-set-alert-sink" title="e_activity_set_alert_sink ()">e_activity_set_alert_sink</a>           (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>,
                                                         <em class="parameter"><code><a class="link" href="EAlertSink.html" title="EAlertSink"><span class="type">EAlertSink</span></a> *alert_sink</code></em>);
<span class="returnvalue">GCancellable</span> *      <a class="link" href="EActivity.html#e-activity-get-cancellable" title="e_activity_get_cancellable ()">e_activity_get_cancellable</a>          (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="EActivity.html#e-activity-set-cancellable" title="e_activity_set_cancellable ()">e_activity_set_cancellable</a>          (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>,
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>);
const <span class="returnvalue">gchar</span> *       <a class="link" href="EActivity.html#e-activity-get-icon-name" title="e_activity_get_icon_name ()">e_activity_get_icon_name</a>            (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="EActivity.html#e-activity-set-icon-name" title="e_activity_set_icon_name ()">e_activity_set_icon_name</a>            (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>);
<span class="returnvalue">gdouble</span>             <a class="link" href="EActivity.html#e-activity-get-percent" title="e_activity_get_percent ()">e_activity_get_percent</a>              (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="EActivity.html#e-activity-set-percent" title="e_activity_set_percent ()">e_activity_set_percent</a>              (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>,
                                                         <em class="parameter"><code><span class="type">gdouble</span> percent</code></em>);
enum                <a class="link" href="EActivity.html#EActivityState" title="enum EActivityState">EActivityState</a>;
<a class="link" href="EActivity.html#EActivityState" title="enum EActivityState"><span class="returnvalue">EActivityState</span></a>      <a class="link" href="EActivity.html#e-activity-get-state" title="e_activity_get_state ()">e_activity_get_state</a>                (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="EActivity.html#e-activity-set-state" title="e_activity_set_state ()">e_activity_set_state</a>                (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>,
                                                         <em class="parameter"><code><a class="link" href="EActivity.html#EActivityState" title="enum EActivityState"><span class="type">EActivityState</span></a> state</code></em>);
const <span class="returnvalue">gchar</span> *       <a class="link" href="EActivity.html#e-activity-get-text" title="e_activity_get_text ()">e_activity_get_text</a>                 (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="EActivity.html#e-activity-set-text" title="e_activity_set_text ()">e_activity_set_text</a>                 (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);
const <span class="returnvalue">gchar</span> *       <a class="link" href="EActivity.html#e-activity-get-last-known-text" title="e_activity_get_last_known_text ()">e_activity_get_last_known_text</a>      (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="EActivity.html#e-activity-handle-cancellation" title="e_activity_handle_cancellation ()">e_activity_handle_cancellation</a>      (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>,
                                                         <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="EActivity.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  GObject
   +----EActivity
</pre>
</div>
<div class="refsect1">
<a name="EActivity.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="EActivity.html#EActivity--alert-sink" title='The "alert-sink" property'>alert-sink</a>"               <a class="link" href="EAlertSink.html" title="EAlertSink"><span class="type">EAlertSink</span></a>*           : Read / Write / Construct
  "<a class="link" href="EActivity.html#EActivity--cancellable" title='The "cancellable" property'>cancellable</a>"              <span class="type">GCancellable</span>*         : Read / Write / Construct
  "<a class="link" href="EActivity.html#EActivity--icon-name" title='The "icon-name" property'>icon-name</a>"                <span class="type">gchar</span>*                : Read / Write / Construct
  "<a class="link" href="EActivity.html#EActivity--percent" title='The "percent" property'>percent</a>"                  <span class="type">gdouble</span>               : Read / Write / Construct
  "<a class="link" href="EActivity.html#EActivity--state" title='The "state" property'>state</a>"                    <a class="link" href="EActivity.html#EActivityState" title="enum EActivityState"><span class="type">EActivityState</span></a>        : Read / Write / Construct
  "<a class="link" href="EActivity.html#EActivity--text" title='The "text" property'>text</a>"                     <span class="type">gchar</span>*                : Read / Write / Construct
</pre>
</div>
<div class="refsect1">
<a name="EActivity.description"></a><h2>Description</h2>
<p>
<a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> is used to track and describe application activities in
progress.  An <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> usually manifests in a user interface as a
status bar message (see <a class="link" href="EActivityProxy.html" title="EActivityProxy"><span class="type">EActivityProxy</span></a>) or information bar message
(see <a class="link" href="EActivityBar.html" title="EActivityBar"><span class="type">EActivityBar</span></a>), with optional progress indication and a cancel
button which is linked to a <span class="type">GCancellable</span>.
</p>
</div>
<div class="refsect1">
<a name="EActivity.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="EActivity-struct"></a><h3>struct EActivity</h3>
<pre class="programlisting">struct EActivity;</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-activity-new"></a><h3>e_activity_new ()</h3>
<pre class="programlisting"><a class="link" href="EActivity.html" title="EActivity"><span class="returnvalue">EActivity</span></a> *         e_activity_new                      (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>an <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-activity-cancel"></a><h3>e_activity_cancel ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_activity_cancel                   (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>);</pre>
<p>
Convenience function cancels <em class="parameter"><code>activity</code></em>'s <a class="link" href="EActivity.html#EActivity--cancellable" title='The "cancellable" property'><span class="type">"cancellable"</span></a>.
</p>
<p>
</p>
<p>
  </p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
    This function will not set <em class="parameter"><code>activity</code></em>'s <a class="link" href="EActivity.html#EActivity--state" title='The "state" property'><span class="type">"state"</span></a> to
    <em class="parameter"><code>E_ACTIVITY_CANCELLED</code></em>.  It merely requests that the associated
    operation be cancelled.  Only after the operation finishes with
    a <em class="parameter"><code>G_IO_ERROR_CANCELLED</code></em> should the <em class="parameter"><code>activity</code></em>'s <a class="link" href="EActivity.html#EActivity--state" title='The "state" property'><span class="type">"state"</span></a>
    be changed (see <a class="link" href="EActivity.html#e-activity-handle-cancellation" title="e_activity_handle_cancellation ()"><code class="function">e_activity_handle_cancellation()</code></a>).  During this
    interim period <a class="link" href="EActivity.html#e-activity-describe" title="e_activity_describe ()"><code class="function">e_activity_describe()</code></a> will indicate the activity
    is "cancelling".
  </div>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>activity</code></em> :</span></p></td>
<td>an <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-activity-describe"></a><h3>e_activity_describe ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> *             e_activity_describe                 (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>);</pre>
<p>
Returns a description of the current state of the <em class="parameter"><code>activity</code></em> based on
the <a class="link" href="EActivity.html#EActivity--text" title='The "text" property'><span class="type">"text"</span></a>, <a class="link" href="EActivity.html#EActivity--percent" title='The "percent" property'><span class="type">"percent"</span></a> and <a class="link" href="EActivity.html#EActivity--state" title='The "state" property'><span class="type">"state"</span></a> properties.
Suitable for displaying in a status bar or similar widget.
</p>
<p>
Free the returned string with <code class="function">g_free()</code> when finished with it.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>activity</code></em> :</span></p></td>
<td>an <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a description of <em class="parameter"><code>activity</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-activity-get-alert-sink"></a><h3>e_activity_get_alert_sink ()</h3>
<pre class="programlisting"><a class="link" href="EAlertSink.html" title="EAlertSink"><span class="returnvalue">EAlertSink</span></a> *        e_activity_get_alert_sink           (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>);</pre>
<p>
Returns the <a class="link" href="EAlertSink.html" title="EAlertSink"><span class="type">EAlertSink</span></a> for <em class="parameter"><code>activity</code></em>, if one was provided.
</p>
<p>
The <a class="link" href="EActivity.html#EActivity--alert-sink" title='The "alert-sink" property'><span class="type">"alert-sink"</span></a> property is convenient for when the user
should be alerted about a failed asynchronous operation.  Generally
an <a class="link" href="EActivity.html#EActivity--alert-sink" title='The "alert-sink" property'><span class="type">"alert-sink"</span></a> is set prior to dispatching the operation,
and retrieved by a callback function when the operation completes.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>activity</code></em> :</span></p></td>
<td>an <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>an <a class="link" href="EAlertSink.html" title="EAlertSink"><span class="type">EAlertSink</span></a>, or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-activity-set-alert-sink"></a><h3>e_activity_set_alert_sink ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_activity_set_alert_sink           (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>,
                                                         <em class="parameter"><code><a class="link" href="EAlertSink.html" title="EAlertSink"><span class="type">EAlertSink</span></a> *alert_sink</code></em>);</pre>
<p>
Sets (or clears) the <a class="link" href="EAlertSink.html" title="EAlertSink"><span class="type">EAlertSink</span></a> for <em class="parameter"><code>activity</code></em>.
</p>
<p>
The <a class="link" href="EActivity.html#EActivity--alert-sink" title='The "alert-sink" property'><span class="type">"alert-sink"</span></a> property is convenient for when the user
should be alerted about a failed asynchronous operation.  Generally
an <a class="link" href="EActivity.html#EActivity--alert-sink" title='The "alert-sink" property'><span class="type">"alert-sink"</span></a> is set prior to dispatching the operation,
and retrieved by a callback function when the operation completes.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>activity</code></em> :</span></p></td>
<td>an <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>alert_sink</code></em> :</span></p></td>
<td>an <a class="link" href="EAlertSink.html" title="EAlertSink"><span class="type">EAlertSink</span></a>, or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-activity-get-cancellable"></a><h3>e_activity_get_cancellable ()</h3>
<pre class="programlisting"><span class="returnvalue">GCancellable</span> *      e_activity_get_cancellable          (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>);</pre>
<p>
Returns the <span class="type">GCancellable</span> for <em class="parameter"><code>activity</code></em>, if one was provided.
</p>
<p>
Generally the <em class="parameter"><code>activity</code></em>'s <a class="link" href="EActivity.html#EActivity--cancellable" title='The "cancellable" property'><span class="type">"cancellable"</span></a> property holds the same
<span class="type">GCancellable</span> instance passed to a cancellable function, so widgets like
<a class="link" href="EActivityBar.html" title="EActivityBar"><span class="type">EActivityBar</span></a> can bind the <span class="type">GCancellable</span> to a cancel button.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>activity</code></em> :</span></p></td>
<td>an <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <span class="type">GCancellable</span>, or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-activity-set-cancellable"></a><h3>e_activity_set_cancellable ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_activity_set_cancellable          (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>,
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>);</pre>
<p>
Sets (or clears) the <span class="type">GCancellable</span> for <em class="parameter"><code>activity</code></em>.
</p>
<p>
Generally the <em class="parameter"><code>activity</code></em>'s <a class="link" href="EActivity.html#EActivity--cancellable" title='The "cancellable" property'><span class="type">"cancellable"</span></a> property holds the same
<span class="type">GCancellable</span> instance passed to a cancellable function, so widgets like
<a class="link" href="EActivityBar.html" title="EActivityBar"><span class="type">EActivityBar</span></a> can bind the <span class="type">GCancellable</span> to a cancel button.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>activity</code></em> :</span></p></td>
<td>an <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
<td>a <span class="type">GCancellable</span>, or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-activity-get-icon-name"></a><h3>e_activity_get_icon_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       e_activity_get_icon_name            (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>);</pre>
<p>
Returns the themed icon name for <em class="parameter"><code>activity</code></em>, if one was provided.
</p>
<p>
Generally widgets like <a class="link" href="EActivityBar.html" title="EActivityBar"><span class="type">EActivityBar</span></a> will honor the <a class="link" href="EActivity.html#EActivity--icon-name" title='The "icon-name" property'><span class="type">"icon-name"</span></a>
property while the <em class="parameter"><code>activity</code></em>'s <a class="link" href="EActivity.html#EActivity--state" title='The "state" property'><span class="type">"state"</span></a> is <em class="parameter"><code>E_ACTIVITY_RUNNING</code></em> or
<em class="parameter"><code>E_ACTIVITY_WAITING</code></em>, but will override the icon for <em class="parameter"><code>E_ACTIVITY_CANCELLED</code></em>
and <em class="parameter"><code>E_ACTIVITY_COMPLETED</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>activity</code></em> :</span></p></td>
<td>an <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a themed icon name, or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-activity-set-icon-name"></a><h3>e_activity_set_icon_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_activity_set_icon_name            (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>);</pre>
<p>
Sets (or clears) the themed icon name for <em class="parameter"><code>activity</code></em>.
</p>
<p>
Generally widgets like <a class="link" href="EActivityBar.html" title="EActivityBar"><span class="type">EActivityBar</span></a> will honor the <a class="link" href="EActivity.html#EActivity--icon-name" title='The "icon-name" property'><span class="type">"icon-name"</span></a>
property while the <em class="parameter"><code>activity</code></em>'s <a class="link" href="EActivity.html#EActivity--state" title='The "state" property'><span class="type">"state"</span></a> is <em class="parameter"><code>E_ACTIVITY_RUNNING</code></em> or
<em class="parameter"><code>E_ACTIVITY_WAITING</code></em>, but will override the icon for <em class="parameter"><code>E_ACTIVITY_CANCELLED</code></em>
and <em class="parameter"><code>E_ACTIVITY_COMPLETED</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>activity</code></em> :</span></p></td>
<td>an <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_name</code></em> :</span></p></td>
<td>a themed icon name, or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-activity-get-percent"></a><h3>e_activity_get_percent ()</h3>
<pre class="programlisting"><span class="returnvalue">gdouble</span>             e_activity_get_percent              (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>);</pre>
<p>
Returns the percent complete for <em class="parameter"><code>activity</code></em> as a value between 0 and 100,
or a negative value if the percent complete is unknown.
</p>
<p>
Generally widgets like <a class="link" href="EActivityBar.html" title="EActivityBar"><span class="type">EActivityBar</span></a> will display the percent complete by
way of <a class="link" href="EActivity.html#e-activity-describe" title="e_activity_describe ()"><code class="function">e_activity_describe()</code></a>, but only if the value is between 0 and 100.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>activity</code></em> :</span></p></td>
<td>an <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the percent complete, or a negative value if unknown</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-activity-set-percent"></a><h3>e_activity_set_percent ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_activity_set_percent              (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>,
                                                         <em class="parameter"><code><span class="type">gdouble</span> percent</code></em>);</pre>
<p>
Sets the percent complete for <em class="parameter"><code>activity</code></em>.  The value should be between 0
and 100, or negative if the percent complete is unknown.
</p>
<p>
Generally widgets like <a class="link" href="EActivityBar.html" title="EActivityBar"><span class="type">EActivityBar</span></a> will display the percent complete by
way of <a class="link" href="EActivity.html#e-activity-describe" title="e_activity_describe ()"><code class="function">e_activity_describe()</code></a>, but only if the value is between 0 and 100.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>activity</code></em> :</span></p></td>
<td>an <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>percent</code></em> :</span></p></td>
<td>the percent complete, or a negative value if unknown</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="EActivityState"></a><h3>enum EActivityState</h3>
<pre class="programlisting">typedef enum {
	E_ACTIVITY_RUNNING,
	E_ACTIVITY_WAITING,
	E_ACTIVITY_CANCELLED,
	E_ACTIVITY_COMPLETED
} EActivityState;
</pre>
<p>
Various states of an <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="E-ACTIVITY-RUNNING:CAPS"></a><span class="term"><code class="literal">E_ACTIVITY_RUNNING</code></span></p></td>
<td>  The <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> is running.
</td>
</tr>
<tr>
<td><p><a name="E-ACTIVITY-WAITING:CAPS"></a><span class="term"><code class="literal">E_ACTIVITY_WAITING</code></span></p></td>
<td>  The <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> is waiting to be run.
</td>
</tr>
<tr>
<td><p><a name="E-ACTIVITY-CANCELLED:CAPS"></a><span class="term"><code class="literal">E_ACTIVITY_CANCELLED</code></span></p></td>
<td>  The <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> has been cancelled.
</td>
</tr>
<tr>
<td><p><a name="E-ACTIVITY-COMPLETED:CAPS"></a><span class="term"><code class="literal">E_ACTIVITY_COMPLETED</code></span></p></td>
<td>  The <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> has completed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-activity-get-state"></a><h3>e_activity_get_state ()</h3>
<pre class="programlisting"><a class="link" href="EActivity.html#EActivityState" title="enum EActivityState"><span class="returnvalue">EActivityState</span></a>      e_activity_get_state                (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>);</pre>
<p>
Returns the state of <em class="parameter"><code>activity</code></em>.
</p>
<p>
Generally widgets like <a class="link" href="EActivityBar.html" title="EActivityBar"><span class="type">EActivityBar</span></a> will display the activity state by
way of <a class="link" href="EActivity.html#e-activity-describe" title="e_activity_describe ()"><code class="function">e_activity_describe()</code></a> and possibly an icon.  The activity state is
<em class="parameter"><code>E_ACTIVITY_RUNNING</code></em> by default, and is usually only changed once when the
associated operation is finished.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>activity</code></em> :</span></p></td>
<td>an <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>an <a class="link" href="EActivity.html#EActivityState" title="enum EActivityState"><span class="type">EActivityState</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-activity-set-state"></a><h3>e_activity_set_state ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_activity_set_state                (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>,
                                                         <em class="parameter"><code><a class="link" href="EActivity.html#EActivityState" title="enum EActivityState"><span class="type">EActivityState</span></a> state</code></em>);</pre>
<p>
Sets the state of <em class="parameter"><code>activity</code></em>.
</p>
<p>
Generally widgets like <a class="link" href="EActivityBar.html" title="EActivityBar"><span class="type">EActivityBar</span></a> will display the activity state by
way of <a class="link" href="EActivity.html#e-activity-describe" title="e_activity_describe ()"><code class="function">e_activity_describe()</code></a> and possibly an icon.  The activity state is
<em class="parameter"><code>E_ACTIVITY_RUNNING</code></em> by default, and is usually only changed once when the
associated operation is finished.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>activity</code></em> :</span></p></td>
<td>an <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
<td>an <a class="link" href="EActivity.html#EActivityState" title="enum EActivityState"><span class="type">EActivityState</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-activity-get-text"></a><h3>e_activity_get_text ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       e_activity_get_text                 (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>);</pre>
<p>
Returns a message describing what <em class="parameter"><code>activity</code></em> is doing.
</p>
<p>
Generally widgets like <a class="link" href="EActivityBar.html" title="EActivityBar"><span class="type">EActivityBar</span></a> will display the message by way of
<a class="link" href="EActivity.html#e-activity-describe" title="e_activity_describe ()"><code class="function">e_activity_describe()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>activity</code></em> :</span></p></td>
<td>an <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a descriptive message</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-activity-set-text"></a><h3>e_activity_set_text ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_activity_set_text                 (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);</pre>
<p>
Sets (or clears) a message describing what <em class="parameter"><code>activity</code></em> is doing.
</p>
<p>
Generally widgets like <a class="link" href="EActivityBar.html" title="EActivityBar"><span class="type">EActivityBar</span></a> will display the message by way of
<a class="link" href="EActivity.html#e-activity-describe" title="e_activity_describe ()"><code class="function">e_activity_describe()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>activity</code></em> :</span></p></td>
<td>an <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>a descriptive message, or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-activity-get-last-known-text"></a><h3>e_activity_get_last_known_text ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       e_activity_get_last_known_text      (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>);</pre>
<p>
Returns the last non-empty <a class="link" href="EActivity.html#EActivity--text" title='The "text" property'><span class="type">"text"</span></a> value, so it's possible to
identify what the <em class="parameter"><code>activity</code></em> <span class="emphasis"><em>was</em></span> doing even if it
currently has no description.
</p>
<p>
Mostly useful for debugging.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>activity</code></em> :</span></p></td>
<td>an <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a descriptive message, or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-activity-handle-cancellation"></a><h3>e_activity_handle_cancellation ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            e_activity_handle_cancellation      (<em class="parameter"><code><a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a> *activity</code></em>,
                                                         <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>);</pre>
<p>
Convenience function sets <em class="parameter"><code>activity</code></em>'s <a class="link" href="EActivity.html#EActivity--state" title='The "state" property'><span class="type">"state"</span></a> to
<em class="parameter"><code>E_ACTIVITY_CANCELLED</code></em> if <em class="parameter"><code>error</code></em> is <em class="parameter"><code>G_IO_ERROR_CANCELLED</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>activity</code></em> :</span></p></td>
<td>an <a class="link" href="EActivity.html" title="EActivity"><span class="type">EActivity</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>a <span class="type">GError</span>, or <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if <em class="parameter"><code>activity</code></em> was set to <em class="parameter"><code>E_ACTIVITY_CANCELLED</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="EActivity.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="EActivity--alert-sink"></a><h3>The <code class="literal">"alert-sink"</code> property</h3>
<pre class="programlisting">  "alert-sink"               <a class="link" href="EAlertSink.html" title="EAlertSink"><span class="type">EAlertSink</span></a>*           : Read / Write / Construct</pre>
<p></p>
</div>
<hr>
<div class="refsect2">
<a name="EActivity--cancellable"></a><h3>The <code class="literal">"cancellable"</code> property</h3>
<pre class="programlisting">  "cancellable"              <span class="type">GCancellable</span>*         : Read / Write / Construct</pre>
<p></p>
</div>
<hr>
<div class="refsect2">
<a name="EActivity--icon-name"></a><h3>The <code class="literal">"icon-name"</code> property</h3>
<pre class="programlisting">  "icon-name"                <span class="type">gchar</span>*                : Read / Write / Construct</pre>
<p></p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="EActivity--percent"></a><h3>The <code class="literal">"percent"</code> property</h3>
<pre class="programlisting">  "percent"                  <span class="type">gdouble</span>               : Read / Write / Construct</pre>
<p></p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2">
<a name="EActivity--state"></a><h3>The <code class="literal">"state"</code> property</h3>
<pre class="programlisting">  "state"                    <a class="link" href="EActivity.html#EActivityState" title="enum EActivityState"><span class="type">EActivityState</span></a>        : Read / Write / Construct</pre>
<p></p>
<p>Default value: E_ACTIVITY_RUNNING</p>
</div>
<hr>
<div class="refsect2">
<a name="EActivity--text"></a><h3>The <code class="literal">"text"</code> property</h3>
<pre class="programlisting">  "text"                     <span class="type">gchar</span>*                : Read / Write / Construct</pre>
<p></p>
<p>Default value: NULL</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.19</div>
</body>
</html>