Mercurial > gftp.yaz
diff 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 |
line wrap: on
line diff
--- a/src/gtk/gtkui.c Thu Dec 02 22:43:32 2004 +0000 +++ b/src/gtk/gtkui.c Thu Dec 02 23:19:31 2004 +0000 @@ -278,6 +278,11 @@ cdata->input_string = g_strdup (edttext); } + if (ddata->checkbox != NULL) + cdata->toggled = GTK_TOGGLE_BUTTON (ddata->checkbox)->active; + else + cdata->toggled = 0; + gftpui_common_run_callback_function (cdata); } @@ -371,7 +376,7 @@ return; MakeEditDialog (_("Site"), _("Enter site-specific command"), NULL, 1, - NULL, gftp_dialog_button_ok, + _("Prepend with SITE"), gftp_dialog_button_ok, gftpui_run_function_callback, cdata, gftpui_run_function_cancel_callback, cdata); }