[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [gftp] Status of TLS Support in Gftp ?



On Sun, Feb 15, 2004 at 11:21:55PM +0100, Oliver Lehmann wrote:
> Brian Masney wrote:
> 
> > I have FTPS support for the control connection in CVS. I put a tarball
> > of my latest code up at http://www.gftp.org/gftp-test.tar.bz2. There is
> > still a few small bugs in there that need to be worked out. I really
> > haven't had time the past 2 weeks to finish this up.
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11R6/include/gtk12
> -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include
> -D_REENTRANT -D_THREAD_SAFE -DSHARE_DIR=\"/usr/local/share/gftp\"
> -I../../intl  -I/usr/local/include  -g -O2 -c misc-gtk.c
> misc-gtk.c: In function `MakeEditDialog':
> misc-gtk.c:956: `GTK_STOCK_OK' undeclared (first use in this function)
> misc-gtk.c:956: (Each undeclared identifier is reported only once
> misc-gtk.c:956: for each function it appears in.)
> 
> is my gtk12 to old? I only have that define in gtk20....

Here is a patch to fix this:

--- misc-gtk.c	5 Jan 2004 23:38:21 -0000	1.38
+++ misc-gtk.c	16 Feb 2004 16:44:10 -0000
@@ -953,7 +953,7 @@
   switch (okbutton)
     {
       case gftp_dialog_button_ok:
-        yes_text = GTK_STOCK_OK;
+        yes_text = _("OK");
         break;
       case gftp_dialog_button_create:
         yes_text = _("Add");

If you have GTK+ 2.0, I would suggest compiling gftp against that. The 2.x
series of GTK+ is so much better than the 1.2 branch.

Brian