Mercurial > gftp.yaz
comparison src/gtk/gtkui.c @ 633:05c67a33b071
2004-12-2 Brian Masney <masneyb@gftp.org>
* src/gtk/gtkui.c (gftpui_run_function_callback)
src/uicommon/gftpui.h - added toggled variable to the
gftpui_callback_data structure. If the edit dialog had a checkbox
in it, then put the checkbox value in the toggled variable
* src/gtk/gtkui.c (gftpui_site_dialog)
src/uicommon/gftpuicallbacks.c (gftpui_common_run_site) - allow the user
to not send the prepend the command with the SITE keyword
* docs/website/index.html.in docs/website/bats.gif
docs/website/generate-gftp-website.pl - updated bug reporting section.
Added link and graphic for the National Speleological Society (NSS)
author | masneyb |
---|---|
date | Thu, 02 Dec 2004 23:19:31 +0000 |
parents | 5df5eac28f47 |
children | 8990a8a26ccf |
comparison
equal
deleted
inserted
replaced
632:4ab29ec829bf | 633:05c67a33b071 |
---|---|
276 } | 276 } |
277 | 277 |
278 cdata->input_string = g_strdup (edttext); | 278 cdata->input_string = g_strdup (edttext); |
279 } | 279 } |
280 | 280 |
281 if (ddata->checkbox != NULL) | |
282 cdata->toggled = GTK_TOGGLE_BUTTON (ddata->checkbox)->active; | |
283 else | |
284 cdata->toggled = 0; | |
285 | |
281 gftpui_common_run_callback_function (cdata); | 286 gftpui_common_run_callback_function (cdata); |
282 } | 287 } |
283 | 288 |
284 | 289 |
285 void | 290 void |
369 | 374 |
370 if (!check_status (_("Site"), wdata, 0, 0, 0, wdata->request->site != NULL)) | 375 if (!check_status (_("Site"), wdata, 0, 0, 0, wdata->request->site != NULL)) |
371 return; | 376 return; |
372 | 377 |
373 MakeEditDialog (_("Site"), _("Enter site-specific command"), NULL, 1, | 378 MakeEditDialog (_("Site"), _("Enter site-specific command"), NULL, 1, |
374 NULL, gftp_dialog_button_ok, | 379 _("Prepend with SITE"), gftp_dialog_button_ok, |
375 gftpui_run_function_callback, cdata, | 380 gftpui_run_function_callback, cdata, |
376 gftpui_run_function_cancel_callback, cdata); | 381 gftpui_run_function_cancel_callback, cdata); |
377 } | 382 } |
378 | 383 |
379 | 384 |