Fix line-wrapping bug in baseconv.
[doldaconnect.git] / config / util / dolconf-assistant.desc
1 ;prefix: ast_
2 ;hascolumns: y
3 :assistant name: wnd var: y sig(cancel): astcancel sig(close): astcancel sig(prepare): astupdate sig: apply title: "Dolda Connect configurator"
4         :align title: Introduction ptype: INTRO cmpl: TRUE xs: 0 ys: 0 xa: 0 ya: 0
5                 $lbl wrap: y label: "This assistent will guide you through the steps minimally required for setting up Dolda Connect as a normal Direct Connect client.\\nIf you wish to set up the more advanced features of Dolda Connect, please either use the more complete setup form of this program, which will be available after this assistant is complete, or edit the configuration file (~/.doldacond.conf) manually."
6         end
7         :vbox title: "Published info" var: y name: page1
8                 $lbl label: "Please enter how you wish to present yourself to other users:"
9                 :table rows: 2 cols: 2 fill: TRUE
10                         $mlbl label: "_Screen name" mwidget: nick tx: 0 ty: 0
11                         $text name: nick var: y expand: y fill: y sig: changed tx: 1 ty: 0
12                         $mlbl label: "_Description" mwidget: desc tx: 0 ty: 1
13                         $text name: desc var: y expand: y fill: y tx: 1 ty: 1
14                 end
15         end
16         :vbox title: "Shared directories" var: y name: page2
17                 $lbl label: "Please choose the directories that you wish to share:"
18                 :vbox expand: TRUE fill: TRUE
19                         :sw expand: TRUE fill: TRUE
20                                 :treeview name: sharelist var: y
21                                         $tvcol title: Path text: 1 sortcol: 1
22                                 end
23                         end
24                         :hbox
25                                 $sbtn name: shareadd stock: ADD sig: clicked
26                                 $sbtn name: sharerem stock: REMOVE sig: clicked
27                         end
28                 end
29         end
30         :vbox title: "Network" cmpl: TRUE var: y name: page3
31                 $lbl label: "Please choose the network mode to use"
32                 $radio label: "_Active mode" var: y name: mode_act
33                 $lbl markup: "<i>Active mode is the best choice when this computer is connected directly to the internet.</i>" wrap: y align: "0:0.5" wpad: "20:0"
34                 $radio label: "Active with specified _port" var: y name: mode_nat group: mode_act sig: toggled
35                 :vbox sensitive: FALSE var: y name: portbox
36                         :hbox spacing: 10
37                                 $mlbl label: "_TCP port:" mwidget: tcpport
38                                 $text name: tcpport var: y fill: y expand: y sig(changed): cb_ast_checkports
39                                 $mlbl label: "_UDP port:" mwidget: udpport
40                                 $text name: udpport var: y fill: y expand: y sig(changed): cb_ast_checkports
41                         end
42                         :hbox spacing: 10
43                                 $mlbl label: "_IP address:" mwidget: extip
44                                 $text name: extip var: y fill: y expand: y sig(changed): cb_ast_checkports
45                         end
46                 end
47                 $lbl markup: "<i>Specify a port when this computer is behind a NAT router or another device blocking incoming connections. You will also need to configure your NAT router to forward that port to this computer, and specify what external IP address to use. Note also that the ports need to be above 1024.</i>" wrap: y align: "0:0.5" wpad: "20:0"
48                 $radio label: "Passi_ve mode" var: y name: mode_psv group: mode_act
49                 $lbl markup: "<i>Passive mode can be used as a last resort if you truly cannot use active mode. It is highly likely that using passive mode will lead to impaired performance.</i>" wrap: y align: "0:0.5" wpad: "20:0"
50         end
51         :vbox title: "Confirmation" ptype: CONFIRM cmpl: TRUE
52                 $lbl label: "Please confirm that you wish to apply the following options:"
53                 :sw fill: TRUE expand: TRUE
54                         $textview name: summary var: y editable: FALSE
55                 end
56                 $lbl label: "What do you want to do after confirming?"
57                 $radio label: "_Run Dolda Connect normally" var: y name: action_dolcon
58                 $radio label: "_Exit this configuration program" var: y name: action_exit group: action_dolcon
59                 $radio label: "_Open the complete configuration form" var: y name: action_wnd group: action_dolcon
60         end
61 end