# HG changeset patch # User masneyb # Date 1102029571 0 # Node ID 05c67a33b0712e057c08b6b996e85e30b1c3f2f0 # Parent 4ab29ec829bf7a2d268a4aa10336b21f77ab0d2b 2004-12-2 Brian Masney * 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) diff -r 4ab29ec829bf -r 05c67a33b071 ChangeLog --- a/ChangeLog Thu Dec 02 22:43:32 2004 +0000 +++ b/ChangeLog Thu Dec 02 23:19:31 2004 +0000 @@ -1,4 +1,17 @@ 2004-12-2 Brian Masney + * 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) + * lib/sshv2.c (sshv2_rename) - fixed segfault that could occur (from Aurelien Jarno ) (closes #159963) @@ -3121,7 +3134,7 @@ * cvsclean - added this script - * *.[ch] - added $Id: ChangeLog,v 1.374 2004/12/02 22:43:32 masneyb Exp $ tags + * *.[ch] - added $Id: ChangeLog,v 1.375 2004/12/02 23:19:30 masneyb Exp $ tags * debian/* - updated files from Debian maintainer diff -r 4ab29ec829bf -r 05c67a33b071 docs/website/bats.gif Binary file docs/website/bats.gif has changed diff -r 4ab29ec829bf -r 05c67a33b071 docs/website/generate-gftp-website.pl --- a/docs/website/generate-gftp-website.pl Thu Dec 02 22:43:32 2004 +0000 +++ b/docs/website/generate-gftp-website.pl Thu Dec 02 23:19:31 2004 +0000 @@ -19,7 +19,7 @@ "STABLE_I386DEB_GTK" => "gftp-gtk_" . $version . "-1_i386.deb", "STABLE_I386DEB_TEXT" => "gftp-text_" . $version . "-1_i386.deb"); -$tarfiles = "MD5SUMS changelog.html gftp-screenshot.png index.html logo.jpg readme.html robots.txt screenshots.html"; +$tarfiles = "MD5SUMS changelog.html gftp-screenshot.png index.html bats.gif logo.jpg readme.html robots.txt screenshots.html"; print "Generating MD5SUMS...\n"; diff -r 4ab29ec829bf -r 05c67a33b071 docs/website/index.html.in --- a/docs/website/index.html.in Thu Dec 02 22:43:32 2004 +0000 +++ b/docs/website/index.html.in Thu Dec 02 23:19:31 2004 +0000 @@ -72,10 +72,20 @@

Bug Reporting

-

If you find any bugs in gFTP, please report them using GNOME's Bugzilla. Please check the current list of known bugs before reporting a new bug.

+

If you find any bugs in gFTP, please report them using GNOME's Bugzilla. Please check the current list of known bugs before reporting a new bug. Please refrain from emailing bugs directly to me or through the gftp-users mailinglist. It is easier for me if they are reported through Bugzilla.

-Brian Masney masneyb@gftp.org
-Morgantown, WV USA
+ + + + + +
+ Brian Masney masneyb@gftp.org
+ Morgantown, WV USA +
+ National Speleological Society +

+ diff -r 4ab29ec829bf -r 05c67a33b071 src/gtk/gtkui.c --- 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); } diff -r 4ab29ec829bf -r 05c67a33b071 src/uicommon/gftpui.h --- a/src/uicommon/gftpui.h Thu Dec 02 22:43:32 2004 +0000 +++ b/src/uicommon/gftpui.h Thu Dec 02 23:19:31 2004 +0000 @@ -40,7 +40,8 @@ void (*disconnect_function) (gftpui_callback_data * cdata); unsigned int dont_check_connection : 1, dont_refresh : 1, - dont_clear_cache : 1; + dont_clear_cache : 1, + toggled : 1; }; diff -r 4ab29ec829bf -r 05c67a33b071 src/uicommon/gftpuicallbacks.c --- a/src/uicommon/gftpuicallbacks.c Thu Dec 02 22:43:32 2004 +0000 +++ b/src/uicommon/gftpuicallbacks.c Thu Dec 02 23:19:31 2004 +0000 @@ -39,7 +39,7 @@ int gftpui_common_run_site (gftpui_callback_data * cdata) { - return (gftp_site_cmd (cdata->request, 1, cdata->input_string)); + return (gftp_site_cmd (cdata->request, cdata->toggled, cdata->input_string)); }