8 :menu name: srpopup var: y
9 $menuitem name: srhash label: "Search for this hash" sig: activate var: y
11 :menu name: trpopup var: y
12 $menuitem name: trhash label: "Search for this hash" sig: activate var: y
13 $menuitem name: trcancel label: "Cancel transfer" sig: activate
15 :wnd name: wnd title: "Dolda Connect" var: y sig(delete_event):initdeath
18 :menuitem label: _Main
20 $menuitem name: connmenu label: _Connect sig: activate accel: "CONTROL+C" var: y
21 $menuitem name: dconnmenu label: _Disconnect sig: activate accel: "CONTROL+D" var: y sensitive: FALSE
23 $menuitem name: sdmenu label: "_Shut down daemon" sig: activate
24 $smenuitem stock: QUIT sig(activate):initdeath
27 :menuitem label: Op_tions
29 $smenuitem name: prefmenu stock: PREFERENCES sig: activate
33 :vpaned name: pane1 var: y expand: TRUE fill: TRUE resize: 1
35 :vpaned name: pane2 var: y nblabel: "_Hub connections" resize: 2
37 $mlbl label: "Connected hu_bs" mwidget: fnetnodes
38 :sw expand: TRUE fill: TRUE
39 :treeview name: fnetnodes var: y rules: TRUE
40 :tvcol title: "Hub name" sortcol: 1 resizable: TRUE
41 $pixbufrend stock_id: 4
44 $tvcol title: "# users" text: 3 sortcol: 3 resizable: TRUE
47 $btn name: dcnctbtn label: "D_isconnect" sig: clicked
50 $mlbl label: "_Public hub list" mwidget: phublist
51 :sw expand: TRUE fill: TRUE
52 :treeview name: phublist var: y rules: TRUE searchcol: 0 sig(cursor-changed): cb_main_phublist_cchange sig(row-activated): cb_main_phublist_activate
53 $tvcol title: "# users" text: 3 sortcol: 3 resizable: TRUE
54 $tvcol title: "Name" text: 0 sortcol: 0 resizable: TRUE
55 $tvcol title: "Description" text: 2 sortcol: 2 resizable: TRUE
58 :table rows: 2 cols: 3 fill: TRUE
59 $mlbl label: "_Filter:" tx: 0 ty: 0 mwidget: pubhubfilter
60 $text name: pubhubfilter var: y expand: y fill: y sig: activate tx: 1 ty: 0
61 $btn label: "_Get public hub list" sig(clicked): cb_main_pubhubfilter_activate tx: 2 ty: 0
62 $mlbl label: "_Address:" tx: 0 ty: 1 mwidget: fnaddr
63 $text name: fnaddr var: y expand: y fill: y sig: activate tx: 1 ty: 1
64 $btn label: "C_onnect" sig(clicked): cb_main_fnaddr_activate tx: 2 ty: 1
68 :vpaned name: pane3 var: y nblabel: "_Chat" resize: 2
70 $mlbl label: "Hu_bs" mwidget: chatnodes
71 :sw fill: TRUE expand: TRUE
72 :treeview name: chatnodes var: y rules: TRUE sig(row-activated): cb_main_chatnodes_activate
73 :tvcol title: "Hub name" sortcol: 1
74 $pixbufrend stock_id: 5
81 :sw fill: TRUE expand: TRUE
82 $textview name: chatview var: y editable: FALSE
85 $mlbl label: "Chat st_ring:" mwidget: chatstr
86 $text name: chatstr var: y expand: TRUE fill: TRUE sig: activate
87 $btn label: "S_end" sig(clicked): cb_main_chatstr_activate
91 :vbox nblabel: "_Search"
93 $mlbl label: "S_imple search:" mwidget: simplesrch
94 $text name: simplesrch var: y expand: TRUE fill: TRUE sig: changed sig(activate): cb_main_srchbtn_clicked
95 $btn name: srchbtn var: y label: "S_earch" sig: clicked
96 $btn name: srchcanbtn var: y label: "C_ancel" sig: clicked sensitive: FALSE
98 $chk name: filternoslots var: y label: "Displa_y results with free slots only" sig: toggled
99 :exp label: "Ad_vanced" name: advexp var: y
100 :table rows: 2 cols: 2
101 $mlbl tx: 0 ty: 0 label: "C_omplete search expression:" mwidget: realsrch
102 $text tx: 1 ty: 0 name: realsrch var: y expand: y fill: y sig: changed sig(activate): cb_main_srchbtn_clicked
103 $mlbl tx: 0 ty: 1 label: "Filter ar_gument:" mwidget: dlarg
104 $text tx: 1 ty: 1 name: dlarg var: y expand: y fill: y
107 $lbl name: srchstatus var: y label: "Ready to search" fill: TRUE
109 $mlbl label: "Search _results:" mwidget: srchres
110 :sw expand: TRUE fill: TRUE
111 :treeview name: srchres var: y rules: TRUE searchcol: 3 sig(row-activated): cb_main_srchres_activate sig(popup-menu): cb_main_srpopup sig(button-release-event): cb_main_srpopup
112 :tvcol title: "#" sortcol: 7 resizable: FALSE
113 $textrend func: hidezerofunc funcdata: "(gpointer)7"
115 $tvcol title: "Peer name" text: 2 sortcol: 2 resizable: TRUE
116 $tvcol title: "File name" text: 3 sortcol: 3 resizable: TRUE expander: y
117 :tvcol title: "Size" sortcol: 4 resizable: TRUE
118 $textrend func: transnicebytefunc funcdata: "(gpointer)4"
120 $tvcol title: "Slots" text: 5 sortcol: 5 resizable: TRUE
121 :tvcol title: "Known speed" sortcol: 8 resizable: TRUE
122 $textrend func: speedtimefunc
124 $tvcol title: "Rsp. time" text: 6 sortcol: 6 resizable: TRUE
125 $tvcol title: "Hash" text: 9 sortcol: 9 resizable: TRUE
131 :vbox nblabel: "_Downloads"
132 $mlbl label: "_List of downloads:" mwidget: downloads
133 :sw fill: TRUE expand: TRUE
134 :treeview name: downloads var: y sig(key-press-event): cb_main_trlist_keypress sig(popup-menu): cb_main_trpopup sig(button-release-event): cb_main_trpopup
135 :tvcol title: "User Name"
136 $pixbufrend stock_id: 8
139 $tvcol title: "File Name" text: 5
141 $textrend func: transnicebytefunc funcdata: "(gpointer)6"
143 :tvcol title: "Position"
144 #ifdef ENABLE_GTK2PBAR
145 $custrend newfunc: custom_cell_renderer_progress_new attr(percentage): 9
147 $textrend func: percentagefunc funcdata: "(gpointer)9" expand: FALSE
149 $textrend func: transnicebytefunc funcdata: "(gpointer)7"
151 :tvcol title: "Error"
152 $textrend func: transerrorinfo
154 $tvcol title: "Hash" text: 12
158 :vbox nblabel: "_Uploads"
159 $mlbl label: "_List of uploads:" mwidget: uploads
160 :sw fill: TRUE expand: TRUE
161 :treeview name: uploads var: y sig(key-press-event): cb_main_trlist_keypress
162 :tvcol title: "User Name"
163 $pixbufrend stock_id: 8
166 $tvcol title: "File Name" text: 5
168 $textrend func: transnicebytefunc funcdata: "(gpointer)6"
170 :tvcol title: "Position"
171 #ifdef ENABLE_GTK2PBAR
172 $custrend newfunc: custom_cell_renderer_progress_new attr(percentage): 9
174 $textrend func: percentagefunc funcdata: "(gpointer)9" expand: FALSE
176 $textrend func: transnicebytefunc funcdata: "(gpointer)7"
183 $sbar var: y name: statusbar