DELTA 23695 0 9025
SVN  s	Ru H  GI . G D G@5 G  G@W G O G@> G  G@@ G  jwq I_ %Nrandstruct msg_data {
  const char *msg;
};

****
  Main thread handling of message sent from downloader thread.
***/
static gboolean msg_main_thread(gpointer user_data)
{
  struct msg_data *data = (struct msg_data *)user_data;

  msg_callback(data->msg);

  FC_FREE(data);

  return FALSE;
}

****
  Downloader thread message callback.
***/
static void msg_dl_thread(const char *msg)
{
  struct msg_data *data = fc_malloc(sizeof(*data));

  data->msg = msg;

  gdk_threads_add_idle(msg_main_thread, data);
}

struct pbar_data {
  double fraction;
};

****
  Main thread handling of progressbar update sent from downloader thread.
***/
static gboolean pbar_main_thread(gpointer user_data)
{
  struct pbar_data *data = (struct pbar_data *)user_data;

  pbar_callback(data->fraction);

  FC_FREE(data);

  return FALSE;
}

****
  Downloader thread progress bar callback.
***/
static void pbar_dl_thread(const double fraction)
{
  struct pbar_data *data = fc_malloc(sizeof(*data));

  data->fraction = fraction;

  gdk_threads_add_idle(pbar_main_thread, data);
}

dl_thread, pbar_dl_thread);

  if (errmsg == NULL) {
    msg_dl_thread(_("Ready"));
  } else {
    msg_dl_thread(  fc_srand(time(NULL)); /* Needed at least for Windows version of netfile_get_section_file() */ENDREP
id: 4pn.5ii.r27274/1389
type: file
pred: 4pn.5ii.r26907/125876
count: 36
text: 27274 0 1363 15369 f4fecb1a8618e026754b507bd1aea8a2
props: 26907 125829 34 0 25e6c2f7558b7484000d4d090dea5b92
cpath: /branches/S2_4/modinst/modinst.c
copyroot: 20416 /branches/S2_4

PLAIN
K 11
Makefile.am
V 24
file 4pk.5ii.r25963/9925
K 10
download.c
V 26
file 4pl.5ii.r26907/126796
K 10
download.h
V 26
file 4pm.5ii.r26907/125570
K 9
modinst.c
V 24
file 4pn.5ii.r27274/1389
K 9
modinst.h
V 26
file 76i.5ii.r26907/126493
K 11
mpcmdline.c
V 26
file 73v.5ii.r26907/127101
K 11
mpcmdline.h
V 26
file 73w.5ii.r26907/126184
END
ENDREP
id: 4pj.5ii.r27274/1998
type: dir
pred: 4pj.5ii.r26907/127712
count: 69
text: 27274 1650 335 335 c56517c9dd96adfa8e84450fd221a5d4
props: 23992 422 121 0 f8650fee66c714d19c10628164f2cfc8
cpath: /branches/S2_4/modinst
copyroot: 20416 /branches/S2_4

PLAIN
K 9
ABOUT-NLS
V 22
file fu.0.r13215/85704
K 7
AUTHORS
V 24
file 5u.5ii.r22144/14016
K 7
COPYING
V 19
file 1h.0.r9643/400
K 9
ChangeLog
V 26
file 6l.5ii.r27198/4513338
K 7
INSTALL
V 23
file 6.5ii.r23651/28514
K 11
Makefile.am
V 21
file 59.5ii.r27177/58
K 4
NEWS
V 24
file 6m.5ii.r25632/75507
K 8
NEWS-2.4
V 25
file jp5.5ii.r27196/82093
K 6
README
V 20
file 7.0.r4421/96382
K 2
ai
V 21
dir 8.5ii.r27269/3067
K 10
autogen.sh
V 23
file 12o.5ii.r24093/115
K 9
bootstrap
V 23
dir 2p5.5ii.r25972/2965
K 6
client
V 22
dir d.5ii.r27168/10511
K 6
common
V 21
dir p.5ii.r27038/4440
K 12
config.mac.h
V 20
file hb.0.r6045/5982
K 12
configure.ac
V 24
file 149.5ii.r27053/3247
K 4
data
V 23
dir w.5ii.r27273/286160
K 6
debian
V 22
dir 5w.5ii.r22192/3202
K 12
dependencies
V 23
dir 2yu.5ii.r27194/4847
K 11
diff_ignore
V 22
file qq.5ck.r19346/607
K 3
doc
V 22
dir k7.5ii.r27247/2698
K 10
fc_version
V 22
file 2lo.5ij.r27197/51
K 2
m4
V 23
dir 12p.5ii.r25030/2842
K 6
manual
V 22
dir 2m2.5ii.r26893/537
K 7
modinst
V 23
dir 4pj.5ii.r27274/1998
K 2
po
V 26
dir fs.5ii.r27195/10396853
K 7
scripts
V 22
dir 2yo.5ii.r24504/875
K 6
server
V 21
dir z.5ii.r27160/4403
K 10
stamp-h.in
V 19
file 80.0.r1125/241
K 5
tests
V 22
dir 2g9.5ii.r22097/841
K 7
utility
V 22
dir 1c.5ii.r27053/3002
K 3
vms
V 25
dir u9.5ii.r21529/1398731
K 5
win32
V 23
dir 2eu.5ii.r26999/3328
END
ENDREP
id: 3.5ii.r27274/3605
type: dir
pred: 3.5ii.r27273/287772
count: 16405
text: 27274 2246 1346 1346 ce0a06364ca0d19474f9b903cc16dbfc
props: 20140 3888 282 0 e4bb46e81629a60eef613b169b23a9ea
cpath: /branches/S2_4
copyroot: 20416 /branches/S2_4

PLAIN
K 5
S1_14
V 21
dir 3.21.r18109/18803
K 4
S2_0
V 21
dir 3.10x.r21862/4178
K 4
S2_1
V 22
dir 3.59e.r20026/11014
K 4
S2_2
V 21
dir 3.5cy.r21861/5036
K 4
S2_3
V 21
dir 3.5f2.r24391/5183
K 4
S2_4
V 21
dir 3.5ii.r27274/3605
K 4
S2_5
V 23
dir 3.5kv.r27272/287949
K 11
freeciv-web
V 22
dir 3.5bl.r13594/14918
END
ENDREP
id: 1.0.r27274/4165
type: dir
pred: 1.0.r27273/288336
count: 8370
text: 27274 3847 305 305 8b40d1bd2b0cd6f8035538b03d40caa0
cpath: /branches
copyroot: 0 /

PLAIN
K 8
branches
V 19
dir 1.0.r27274/4165
K 4
tags
V 19
dir 2.0.r27200/6414
K 5
trunk
V 23
dir 3.5ck.r27271/292460
K 7
website
V 21
dir 3ge.0.r22980/2263
END
ENDREP
id: 0.0.r27274/4488
type: dir
pred: 0.0.r27273/288665
count: 27274
text: 27274 4321 154 154 97bec1900246f3b588d980eea35a5eaa
cpath: /
copyroot: 0 /

4pn.5ii.t27273-1 modify true false /branches/S2_4/modinst/modinst.c


4488 4637
