DELTA 32488 1420 7621
SVN  »7®;} ‡;  P‡<§ oˆ3€N I €‚ @”” I €e H €G I €‚] Rš€ „Y£€l ‚ ¨g… r«‰ }­€H <¯j y±5 [²= {³'‚ ‚´&³ 5¶d€' _¹#“ sºDxunitselunitdlg.h"

struct unit_sel_unit************
  Callback to handle toggling of one of the target unit buttons.
***/
static void unit_sel_unit_toggled(GtkToggleButton *tb, gpointer userdata)
{
  struct unit_sel_unit_cb_data *cbdata
          = (struct unit_sel_unit_cb_data *)userdata;

  if (gtk_toggle_button_get_active(tb)) {
    g_object_set_data(G_OBJECT(cbdata->dlg), "targearget unit buttons.
***/
static void unit_sel_unit_destroyed(GtkWidget *radio, gpointer userdata)
{
  free(userdata);
}

*****
  Create a dialog where a unit select what other unit to act on.
***/
bool select_tgt_unit(struct unit *actor, struct tile *ptile,
                     struct unit_list *potential_tgt_units,
                     const gchar *dlg_title,
                     const gchar *actor_label,
                     const gchar *tgt_label,
                     const gchar *do_label,
                     GCallback do_callbackactor_type = unit_type_get(actor);
  int tcount;

  dlg = gtk_dialog_new_with_buttons(dlg_title, NULL, 0,
                                    do_labelactor_label);
  gtk_grid_attach(GTK_GRID(box), lbl, 0, 0, 1, 1);

  spr = get_unittype_sprite(tileset, actoractortgt_labelgt_units, ptgt) {
    struct unit_type *tgt_type = unit_type_get(ptgt);
    struct unit_sel_unit_cb_data *cbdata
            = fc_malloc(sizeof(struct unit_sel_unit_cb_data));

    cbdata->tp_id = ptgunit_sel_unitunit_sel_unitunit_sel_unitgt
    lbl = gtk_label_new(utype_name_translation(tgt
              GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dlg))),
              main_box);

  g_object_set_data(G_OBJECT(dlg), "actor", GINT_TO_POINTER(actor do_callback, actorENDREP
DELTA
SVN   ˆnˆn€ˆn/***********************************************************************
 Freeciv - Copyright (C) 1996-2005 - Freeciv Development Team
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2, or (at your option)
   any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
***********************************************************************/
#ifndef FC__UNITSELUNITDLG_H
#define FC__UNITSELUNITDLG_H

bool select_tgt_unit(struct unit *actor, struct tile *ptile,
                     struct unit_list *potential_tgt_units,
                     const gchar *dlg_title,
                     const gchar *actor_label,
                     const gchar *tgt_label,
                     const gchar *do_label,
                     GCallback do_callback);

#endif  /* FC__UNITSELUNITDLG_H */
ENDREP
DELTA 32488 10075 143
SVN  Œk	 ‹} — ‹lunitdlg.c	\
	unitseluniENDREP
DELTA 32488 1420 7621
SVN  »7œ4#„ ˆ ˜ ƒ>‡}€r c‹b» ƒ}ŒO ‚—} …›}€‚B#include "unitselunitdlg
                            g_object_get_data(G_OBJECT(dlg),
                                              "actor
                                                    "targereturn select_tgt_unit(cargo, ptile, potential_transports,
                         _("Transport selection"),
                         _("Looking for transport:"),
                         _("Transports available:"),
                         _("Load"),
                         G_CALLBACK(transport_response_callback));
}
ENDREP
id: zu.5qq.r33391/3671
type: file
pred: zu.5qq.r32488/38682
count: 40
text: 33391 3004 43 1683 50597ae2f5fc44bac4b72846d055d3e1
props: 11088 9148 111 0 3d57169d64a739976bce7d2e578e29eb
cpath: /branches/S2_6/client/gui-gtk-3.0/Makefile.am
copyroot: 19694 /trunk/client/gui-gtk-3.0

id: 2gfq.5qq.r33391/3952
type: file
pred: 2gfq.5qq.r32488/39531
count: 1
text: 33391 3076 566 3636 673a10540525e927b4e2048ff38b346b
cpath: /branches/S2_6/client/gui-gtk-3.0/transportdlg.c
copyroot: 19694 /trunk/client/gui-gtk-3.0

id: 2gfq.5x0.r33391/4183
type: file
pred: 2gfq.5qq.r32488/39531
count: 1
text: 33391 0 1814 5947 804f5a7c1be078269ab31291efdc93e2
cpath: /branches/S2_6/client/gui-gtk-3.0/unitselunitdlg.c
copyfrom: 33375 /branches/S2_6/client/gui-gtk-3.0/transportdlg.c

id: 2mxt.5qq.r33391/4437
type: file
count: 0
text: 33391 1843 1148 1134 284dbb93e436b5cb267e6819313b4943
cpath: /branches/S2_6/client/gui-gtk-3.0/unitselunitdlg.h
copyroot: 19694 /trunk/client/gui-gtk-3.0

PLAIN
K 11
Makefile.am
V 23
file zu.5qq.r33391/3671
K 15
action_dialog.c
V 25
file 36n.5qw.r33252/13321
K 8
canvas.c
V 24
file 2y6.5qq.r31280/6646
K 8
canvas.h
V 23
file 2y7.5qq.r31101/688
K 10
chatline.c
V 23
file zw.5qq.r33230/6104
K 10
chatline.h
V 23
file zx.5g7.r25812/5717
K 15
choice_dialog.c
V 24
file 377.5qq.r31041/5617
K 15
choice_dialog.h
V 24
file 378.5qq.r31041/5904
K 14
citizensinfo.c
V 23
file 6n1.5qq.r29073/647
K 14
citizensinfo.h
V 24
file 6n2.5qq.r31041/6189
K 9
citydlg.c
V 24
file zy.5qq.r33085/30809
K 9
citydlg.h
V 20
file zz.0.r5493/6351
K 9
cityrep.c
V 25
file 100.5qq.r32722/61146
K 9
cityrep.h
V 25
file 101.5ck.r18101/91562
K 8
cma_fe.c
V 24
file 102.5qq.r32659/8810
K 8
cma_fe.h
V 25
file 103.5qq.r28714/21206
K 8
colors.c
V 25
file 104.5qq.r31094/19943
K 8
colors.h
V 25
file 105.5g7.r21920/14399
K 12
connectdlg.c
V 25
file 106.5g7.r27275/44221
K 12
connectdlg.h
V 25
file 107.5ck.r19154/49180
K 9
dialogs.c
V 25
file 108.5qq.r31923/17147
K 9
dialogs.h
V 24
file 109.5qq.r31041/7033
K 10
diplodlg.c
V 26
file 10a.5qq.r32527/184629
K 10
diplodlg.h
V 23
file 10b.0.r9577/108261
K 9
editgui.c
V 25
file 4ej.5qq.r32601/99854
K 9
editgui.h
V 25
file 4ek.5qq.r32578/25898
K 10
editprop.c
V 24
file 4el.5qq.r33024/6414
K 10
editprop.h
V 25
file 3bj.5jh.r21141/57145
K 9
finddlg.c
V 26
file 10c.5qq.r32527/184913
K 9
finddlg.h
V 22
file 2d0.0.r5989/22356
K 10
gamedlgs.c
V 24
file 10d.5qq.r32598/5136
K 10
gamedlgs.h
V 26
file 197l.5g7.r26905/69711
K 9
gotodlg.c
V 26
file 10e.5qq.r32527/185198
K 9
gotodlg.h
V 25
file 10f.5ck.r19505/20989
K 10
graphics.c
V 22
file 10g.5qq.r33231/94
K 10
graphics.h
V 23
file 10h.5qq.r33231/371
K 12
gtkpixcomm.c
V 23
file 10i.5qq.r32003/124
K 12
gtkpixcomm.h
V 23
file 10j.5qq.r32003/405
K 10
gui_main.c
V 23
file 10k.5qq.r33178/405
K 10
gui_main.h
V 24
file 10l.5qq.r31101/2374
K 11
gui_stuff.c
V 24
file 10m.5qq.r32598/5418
K 11
gui_stuff.h
V 24
file 10n.5qq.r32138/1028
K 11
happiness.c
V 25
file 10o.5qq.r33085/31092
K 11
happiness.h
V 25
file 10p.5qq.r33085/31376
K 9
helpdlg.c
V 24
file 10q.5qq.r32138/1309
K 9
helpdlg.h
V 23
file 10r.0.r4313/267882
K 10
inputdlg.c
V 25
file 10s.5g7.r20464/72142
K 10
inputdlg.h
V 24
file 10t.5ck.r19651/6762
K 10
inteldlg.c
V 26
file 10u.5qq.r32527/185481
K 10
inteldlg.h
V 23
file 2d1.0.r9577/108626
K 12
luaconsole.c
V 24
file 76e.5qq.r31041/9003
K 12
luaconsole.h
V 25
file 76f.5g7.r26905/71334
K 9
mapctrl.c
V 23
file 10v.5qq.r32667/512
K 9
mapctrl.h
V 23
file 10w.5g7.r21978/547
K 9
mapview.c
V 25
file 10x.5qq.r30904/16009
K 9
mapview.h
V 24
file 10y.5qq.r31041/9571
K 6
menu.c
V 24
file 10z.5qq.r33309/5721
K 6
menu.h
V 25
file 110.5ck.r16067/65085
K 12
messagedlg.c
V 25
file 111.5qq.r29690/74880
K 12
messagedlg.h
V 22
file 2d2.0.r5989/22693
K 12
messagewin.c
V 25
file 112.5qq.r30211/43433
K 12
messagewin.h
V 25
file 113.5ck.r18082/27153
K 11
optiondlg.c
V 24
file 4js.5qq.r30375/7694
K 11
optiondlg.h
V 25
file 114.5ck.r17037/29773
K 7
pages.c
V 25
file 2pi.5ru.r33091/11936
K 7
pages.h
V 24
file 2pj.5qq.r31041/9855
K 8
plrdlg.c
V 24
file 115.5qq.r31191/7759
K 8
plrdlg.h
V 24
file 116.5qq.r31191/8043
K 10
ratesdlg.h
V 22
file 2d3.0.r5989/22018
K 10
repodlgs.c
V 25
file 118.5qq.r31923/20291
K 10
repodlgs.h
V 24
file 119.5ck.r18439/2365
K 14
soundset_dlg.c
V 24
file cku.5qq.r33331/7891
K 14
spaceshipdlg.c
V 25
file 11c.5qq.r31923/20578
K 14
spaceshipdlg.h
V 23
file 11d.0.r9577/110090
K 8
sprite.c
V 25
file 2y8.5qq.r31041/10980
K 8
sprite.h
V 25
file 2y9.5qq.r31041/11259
K 11
theme_dlg.c
V 25
file 47d.5qq.r30211/44295
K 8
themes.c
V 23
file 34x.5qq.r31139/656
K 13
tileset_dlg.c
V 24
file 45i.5qq.r33331/8177
K 14
transportdlg.c
V 25
file 2gfq.5qq.r33391/3952
K 14
transportdlg.h
V 26
file 2gfs.5qq.r32488/39736
K 12
unitselect.c
V 26
file 6pa.5qq.r32527/185764
K 12
unitselect.h
V 25
file 6pb.5g7.r26905/70360
K 16
unitselunitdlg.c
V 25
file 2gfq.5x0.r33391/4183
K 16
unitselunitdlg.h
V 25
file 2mxt.5qq.r33391/4437
K 14
voteinfo_bar.c
V 25
file 4h8.5qq.r31923/20867
K 14
voteinfo_bar.h
V 25
file 4h9.5g7.r26905/71982
K 7
wldlg.c
V 24
file 11e.5qq.r32939/6993
K 7
wldlg.h
V 25
file 11f.5qq.r31041/11824
END
ENDREP
id: zs.5qq.r33391/8779
type: dir
pred: zs.5qq.r33331/12493
count: 2098
text: 33391 4643 4123 0 d77a8d435f1b450bf4f36d0da3ba0ac5
props: 11108 11912 79 0 480bb3268560e84c2d6c8376c422c65e
cpath: /branches/S2_6/client/gui-gtk-3.0
copyroot: 19694 /trunk/client/gui-gtk-3.0

PLAIN
K 11
Makefile.am
V 22
file 5f.5qi.r31934/776
K 6
agents
V 23
dir zf.5qi.r32601/94733
K 11
attribute.c
V 24
file xh.5ck.r25151/59391
K 11
attribute.h
V 24
file xi.5ck.r18863/23649
K 7
audio.c
V 24
file 139.5qi.r33331/2762
K 7
audio.h
V 25
file 13a.5qi.r31664/81545
K 12
audio_none.c
V 25
file 13d.5ck.r24916/15731
K 12
audio_none.h
V 25
file 13e.5ck.r18863/20841
K 11
audio_sdl.c
V 23
file 13f.5qi.r31870/943
K 11
audio_sdl.h
V 25
file 13g.5ck.r18863/23885
K 17
chatline_common.c
V 23
file 14q.5qi.r31578/629
K 17
chatline_common.h
V 23
file 14r.5qi.r31578/895
K 16
citydlg_common.c
V 24
file z4.5qi.r32722/54377
K 16
citydlg_common.h
V 24
file z5.5qi.r32722/54646
K 13
cityrepdata.c
V 22
file mb.5qi.r33313/312
K 13
cityrepdata.h
V 24
file mc.5ck.r18863/19121
K 13
client_main.c
V 23
file 2f.5rc.r33091/7064
K 13
client_main.h
V 22
file hz.5sl.r31642/220
K 8
climap.c
V 24
file 197.5ck.r20232/3008
K 8
climap.h
V 25
file 198.5qi.r30222/65356
K 9
climisc.c
V 23
file d5.5qi.r33252/8434
K 9
climisc.h
V 24
file i0.5qi.r32759/10343
K 8
clinet.c
V 24
file hc.5qi.r32639/18915
K 8
clinet.h
V 24
file i1.5ck.r18863/24866
K 15
colors_common.c
V 24
file 33a.5qi.r31150/4089
K 15
colors_common.h
V 24
file 33b.5qi.r31851/8115
K 19
connectdlg_common.c
V 24
file 2fw.5qi.r33259/1194
K 19
connectdlg_common.h
V 22
file 2fx.5qi.r31710/95
K 9
control.c
V 24
file gz.5qi.r33315/11752
K 9
control.h
V 22
file i2.5qi.r33309/867
K 7
dummy.c
V 26
file 4f9.5ck.r26905/141682
K 12
dummycxx.cpp
V 26
file 6kr.5ck.r26905/106211
K 8
editor.c
V 25
file 3bg.5qi.r32639/19170
K 8
editor.h
V 23
file 3bh.5qi.r32375/915
K 17
global_worklist.c
V 25
file 4i6.5qi.r32722/55434
K 17
global_worklist.h
V 26
file 4i7.5ck.r26905/126022
K 6
goto.c
V 22
file vu.5qi.r31299/503
K 6
goto.h
V 22
file vv.5qi.r31299/756
K 11
gui-gtk-2.0
V 22
dir zs.5qi.r33331/7634
K 11
gui-gtk-3.0
V 22
dir zs.5qq.r33391/8779
K 6
gui-qt
V 23
dir 6ie.5qi.r33371/3356
K 7
gui-sdl
V 24
dir 16t.5qi.r33331/17815
K 8
gui-sdl2
V 24
dir 16t.5r1.r33331/23178
K 8
gui-stub
V 23
dir mh.5qi.r33252/35203
K 7
gui-xaw
V 23
dir 9o.5qi.r33309/28418
K 14
gui_cbsetter.c
V 25
file a3c.5qi.r32488/67727
K 14
gui_cbsetter.h
V 25
file a3d.5qi.r32488/67993
K 15
gui_interface.c
V 26
file 6jm.5u7.r32601/126094
K 15
gui_interface.h
V 26
file 6jn.5u6.r32601/126377
K 10
helpdata.c
V 24
file h1.5qi.r32927/49503
K 10
helpdata.h
V 22
file i3.5qi.r30005/963
K 7
include
V 23
dir b8.5qi.r33252/41216
K 19
luaconsole_common.c
V 26
file 75z.5ck.r26905/100821
K 19
luaconsole_common.h
V 26
file 760.5ck.r26905/106500
K 9
luascript
V 24
dir 761.5qi.r29744/13350
K 16
mapctrl_common.c
V 25
file 15m.5qi.r32722/85210
K 16
mapctrl_common.h
V 24
file 15n.5qi.r32344/1056
K 16
mapview_common.c
V 21
file z2.5qi.r33057/69
K 16
mapview_common.h
V 21
file z3.5qi.r32428/66
K 19
messagewin_common.c
V 25
file 14s.5qi.r30211/72878
K 19
messagewin_common.h
V 25
file 14t.5ck.r18863/21579
K 7
music.c
V 25
file zmc.5qi.r30211/73150
K 7
music.h
V 25
file zme.5ck.r27127/11513
K 9
options.c
V 24
file dc.5qi.r33315/12009
K 9
options.h
V 24
file i4.5qi.r33315/12268
K 17
overview_common.c
V 24
file 2yk.5qi.r32990/1986
K 17
overview_common.h
V 24
file 2yl.5qi.r29834/4937
K 10
packhand.c
V 23
file n.5qi.r33252/41471
K 10
packhand.h
V 24
file i5.5ck.r18863/20596
K 15
plrdlg_common.c
V 24
file 14u.5qi.r28834/2098
K 15
plrdlg_common.h
V 25
file 14v.5ck.r18863/21328
K 17
repodlgs_common.c
V 26
file 11i.5qi.r30061/217644
K 17
repodlgs_common.h
V 25
file 11j.5ck.r19589/11861
K 9
reqtree.c
V 25
file 2ym.5qi.r32939/25831
K 9
reqtree.h
V 24
file 2yn.5ck.r24150/6004
K 9
servers.c
V 24
file 33x.5qi.r31660/1697
K 9
servers.h
V 25
file 33y.5ck.r20478/36372
K 6
text.c
V 26
file 2g3.5qi.r32527/218161
K 6
text.h
V 24
file 2g4.5qi.r32344/1318
K 15
themes_common.c
V 25
file 352.5qi.r31664/82856
K 15
themes_common.h
V 25
file 353.5qi.r31664/83120
K 10
tilespec.c
V 24
file hl.5qi.r33331/23445
K 10
tilespec.h
V 22
file i6.5qi.r33317/886
K 19
unitselect_common.c
V 26
file 76v.5qi.r30061/218439
K 19
unitselect_common.h
V 26
file 76w.5ck.r26905/117548
K 14
update_queue.c
V 26
file 4jw.5qi.r32527/218422
K 14
update_queue.h
V 26
file 4jx.5ck.r26905/141966
K 10
voteinfo.c
V 25
file 4fe.5qi.r30211/74980
K 10
voteinfo.h
V 26
file 4ff.5ck.r26905/142263
K 6
zoom.c
V 24
file 212g.5qi.r33336/200
K 6
zoom.h
V 25
file 212i.5qi.r30914/1880
END
ENDREP
id: d.5qi.r33391/13388
type: dir
pred: d.5qi.r33371/7949
count: 7163
text: 33391 9048 4327 0 e9521167ad91365c37f4f699fb08e1ac
props: 28037 12634 400 0 bbe1d6769a94f3af2a54f7dc91fc9c71
cpath: /branches/S2_6/client
copyroot: 27474 /branches/S2_6

PLAIN
K 9
ABOUT-NLS
V 24
file fu.5ck.r27270/69307
K 7
AUTHORS
V 24
file 5u.5ck.r22143/14016
K 7
COPYING
V 22
file 1h.5qi.r29455/952
K 9
ChangeLog
V 26
file 6l.5qi.r31298/7507168
K 7
INSTALL
V 22
file 6.5qi.r31740/1317
K 11
Makefile.am
V 22
file 59.5qi.r31920/516
K 4
NEWS
V 24
file 6m.5ck.r25634/30702
K 6
README
V 20
file 7.0.r4421/96382
K 2
ai
V 21
dir 8.5qi.r33201/2627
K 10
autogen.sh
V 22
file 12o.5qi.r32636/46
K 9
bootstrap
V 23
dir 2p5.5qi.r32590/4079
K 6
client
V 22
dir d.5qi.r33391/13388
K 6
common
V 21
dir p.5qi.r33366/6089
K 12
configure.ac
V 23
file 149.5qi.r33369/102
K 4
data
V 21
dir w.5qi.r33375/3309
K 12
dependencies
V 23
dir 2yu.5qi.r33072/8097
K 3
doc
V 22
dir k7.5qi.r33334/2121
K 10
fc_version
V 25
file 2lo.5qj.r33252/53751
K 11
gen_headers
V 23
dir 1hsw.5qi.r32276/968
K 3
lua
V 24
dir 2c5p.5qi.r31920/4972
K 2
m4
V 23
dir 12p.5qi.r33329/3053
K 7
scripts
V 23
dir 2yo.5qi.r31853/1104
K 6
server
V 21
dir z.5qi.r33342/4377
K 5
tests
V 22
dir 2g9.5qi.r32362/652
K 5
tools
V 23
dir 4pj.5qp.r33169/1324
K 12
translations
V 26
dir t0a.5qi.r33303/2018544
K 7
utility
V 22
dir 1c.5qi.r33369/3719
K 3
vms
V 25
dir u9.5ck.r21528/1396085
K 5
win32
V 23
dir 2eu.5qi.r33358/2139
END
ENDREP
id: 3.5qi.r33391/14838
type: dir
pred: 3.5qi.r33375/4755
count: 20917
text: 33391 13633 1192 0 9d3460c91f5892f5dc181dd3c9e16090
props: 28037 14463 292 0 9e1d5de0253c723466868990c52c129f
cpath: /branches/S2_6
copyroot: 27474 /branches/S2_6

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.r29458/5135
K 4
S2_4
V 23
dir 3.5ii.r32693/294508
K 4
S2_5
V 21
dir 3.5kv.r33383/9800
K 6
S2_5_3
V 23
dir 3.5ut.r31805/553797
K 4
S2_6
V 22
dir 3.5qi.r33391/14838
K 11
freeciv-web
V 22
dir 3.5bl.r13594/14918
END
ENDREP
id: 1.0.r33391/15473
type: dir
pred: 1.0.r33383/10434
count: 11544
text: 33391 15078 382 0 fad8da4935f998e6dd7f26741db7f01c
cpath: /branches
copyroot: 0 /

PLAIN
K 8
branches
V 20
dir 1.0.r33391/15473
K 4
tags
V 19
dir 2.0.r33382/6667
K 5
trunk
V 22
dir 3.5ck.r33390/21610
K 7
website
V 21
dir 3ge.0.r33387/2571
END
ENDREP
id: 0.0.r33391/15796
type: dir
pred: 0.0.r33390/22002
count: 33391
text: 33391 15629 154 0 e039a42fca48d696d1d9dc3dd5cefd7d
cpath: /
copyroot: 0 /

zu.5qq.t33390-1 modify true false /branches/S2_6/client/gui-gtk-3.0/Makefile.am

2gfq.5qq.t33390-1 modify true false /branches/S2_6/client/gui-gtk-3.0/transportdlg.c

2gfq._0.t33390-1 add true false /branches/S2_6/client/gui-gtk-3.0/unitselunitdlg.c
33375 /branches/S2_6/client/gui-gtk-3.0/transportdlg.c
_6.5qq.t33390-1 add true false /branches/S2_6/client/gui-gtk-3.0/unitselunitdlg.h


15796 15944
