|
Lines 255-266
Link Here
|
| 255 |
// pusg button |
255 |
// pusg button |
| 256 |
string refreshButtonLabel = _("Re&fresh..."); |
256 |
string refreshButtonLabel = _("Re&fresh..."); |
| 257 |
// pusg button |
257 |
// pusg button |
| 258 |
string deleteButtonLabel = _("&Delete"); |
|
|
| 259 |
// pusg button |
| 260 |
string upButtonLabel = _("&Up"); |
| 261 |
// pusg button |
| 262 |
string downButtonLabel = _("D&own"); |
| 263 |
// pusg button |
| 264 |
string enableButtonLabel = _("Enab&le or Disable"); |
258 |
string enableButtonLabel = _("Enab&le or Disable"); |
| 265 |
// push button |
259 |
// push button |
| 266 |
string refreshOnOffButtonLabel = _("Refre&sh On or Off"); |
260 |
string refreshOnOffButtonLabel = _("Refre&sh On or Off"); |
|
Lines 281-330
Link Here
|
| 281 |
`HSpacing() |
275 |
`HSpacing() |
| 282 |
), |
276 |
), |
| 283 |
`HBox( |
277 |
`HBox( |
| 284 |
`HWeight (1, `VBox( |
278 |
`MenuButton( `opt(`key_F3), Label::AddButton (),[ |
| 285 |
`HWeight( 1, |
279 |
// menunutton item |
| 286 |
// menunutton |
280 |
`item(`id(`slp), _("&Scan Using SLP...") ), |
| 287 |
`MenuButton( `opt(`hstretch,`key_F3), _("&Add"),[ |
281 |
// menunutton item |
| 288 |
// menunutton item |
282 |
`item(`id(`ftp), _("&FTP...") ), |
| 289 |
`item(`id(`slp), _("&Scan Using SLP...") ), |
283 |
// menunutton item |
| 290 |
// menunutton item |
284 |
`item(`id(`http), _("&HTTP...") ), |
| 291 |
`item(`id(`ftp), _("&FTP...") ), |
285 |
// menunutton item |
| 292 |
// menunutton item |
286 |
`item(`id(`https), _("HTT&PS...") ), |
| 293 |
`item(`id(`http), _("&HTTP...") ), |
287 |
// menunutton item |
| 294 |
// menunutton item |
288 |
`item(`id(`samba), _("&SMB/CIFS") ), |
| 295 |
`item(`id(`https), _("HTT&PS...") ), |
289 |
// menunutton item |
| 296 |
// menunutton item |
290 |
`item(`id(`nfs), _("&NFS...") ), |
| 297 |
`item(`id(`samba), _("&SMB/CIFS") ), |
291 |
// menunutton item |
| 298 |
// menunutton item |
292 |
`item(`id(`cd), _("&CD...") ), |
| 299 |
`item(`id(`nfs), _("&NFS...") ), |
293 |
// menunutton item |
| 300 |
// menunutton item |
294 |
`item(`id(`dvd), _("&DVD...") ), |
| 301 |
`item(`id(`cd), _("&CD...") ), |
295 |
// menunutton item |
| 302 |
// menunutton item |
296 |
`item(`id(`local_dir), _("&Local Directory...") ), |
| 303 |
`item(`id(`dvd), _("&DVD...") ), |
297 |
// menubutton item |
| 304 |
// menunutton item |
298 |
`item (`id (`specify_url),_("Specify &URL...")), |
| 305 |
`item(`id(`local_dir), _("&Local Directory...") ), |
299 |
]), |
| 306 |
// menubutton item |
300 |
`MenuButton( `opt(`key_F4), Label::EditButton (),[ |
| 307 |
`item (`id (`specify_url),_("Specify &URL...")), |
301 |
`item(`id(`replace), replaceButtonLabel ), |
| 308 |
] ) |
302 |
`item(`id(`refresh), refreshButtonLabel ) |
| 309 |
), |
303 |
]), |
| 310 |
// menu button |
304 |
`PushButton (`id(`delete), `opt(`key_F5), |
| 311 |
`MenuButton( `opt(`hstretch, `key_F4), _("&Edit"),[ |
305 |
Label::DeleteButton ()), |
| 312 |
`item(`id(`replace), replaceButtonLabel ), |
306 |
`HStretch (), |
| 313 |
`item(`id(`refresh), refreshButtonLabel ) |
307 |
// menu button label |
| 314 |
]), |
308 |
`MenuButton (`opt(`key_F6), _("Source Settings"), [ |
| 315 |
`HWeight( 1, `PushButton( `id(`delete), `opt(`hstretch, `key_F5), deleteButtonLabel ) ) |
309 |
`item(`id(`enable), enableButtonLabel), |
| 316 |
)), |
310 |
`item(`id(`refresh_on_off), refreshOnOffButtonLabel) |
| 317 |
`HSpacing( 10 ), |
311 |
]) |
| 318 |
`HWeight (1, `VBox( |
312 |
), |
| 319 |
`HBox ( |
|
|
| 320 |
`HWeight( 1, `PushButton( `id(`up), `opt(`hstretch), upButtonLabel ) ), |
| 321 |
`HWeight( 1, `PushButton( `id(`down), `opt(`hstretch), downButtonLabel ) ) |
| 322 |
), |
| 323 |
`PushButton(`id(`enable), `opt(`hstretch, `key_F6), enableButtonLabel ), |
| 324 |
`PushButton(`id(`refresh_on_off), `opt(`hstretch), refreshOnOffButtonLabel ) |
| 325 |
)), |
| 326 |
`VSpacing( 0.5 ) |
313 |
`VSpacing( 0.5 ) |
| 327 |
) |
|
|
| 328 |
); |
314 |
); |
| 329 |
|
315 |
|
| 330 |
// dialog caption |
316 |
// dialog caption |