diff src/gtk/misc-gtk.c @ 604:5df5eac28f47

2004-11-1 Brian Masney <masneyb@gftp.org> * src/gtk/gftp-gtk.c src/gtk/gftp-gtk.h src/gtk/misc-gtk.c - added a tooltip to the button on the top left of the GUI * src/gtk/gtkui.c (gftpui_disconnect) - call update_window_info() instead of update_window() so that the toolbar tooltip is updated properly
author masneyb
date Tue, 02 Nov 2004 01:33:26 +0000
parents 7937ade77c22
children 461ae1bba8b6
line wrap: on
line diff
--- a/src/gtk/misc-gtk.c	Tue Nov 02 01:02:04 2004 +0000
+++ b/src/gtk/misc-gtk.c	Tue Nov 02 01:33:26 2004 +0000
@@ -246,6 +246,13 @@
               break;
             }
         }
+
+      if (GFTP_IS_CONNECTED (current_wdata->request))
+        gtk_tooltips_set_tip (GTK_TOOLTIPS(openurl_tooltip), openurl_btn,
+                              _("Disconnect from the remote server"), NULL);
+      else
+        gtk_tooltips_set_tip (GTK_TOOLTIPS(openurl_tooltip), openurl_btn,
+                              _("Connect to the site specified in the host entry. If the host entry is blank, then a dialog is presented that will allow you to enter a URL."), NULL);
     }
 
   update_window (&window1);