diff src/gtk/misc-gtk.c @ 677:8990a8a26ccf

2005-1-24 Brian Masney <masneyb@gftp.org> * lib/protocols.c lib/rfc959.c src/gtk/dnd.c src/gtk/gftp-gtk.c src/gtk/gtkui.c src/gtk/menu-items.c src/gtk/misc-gtk.c src/gtk/transfer.c src/gtk/view-dialog.c src/uicommon/gftpui.c - make sure the logging level gftp_logging_error is used for all error messages
author masneyb
date Tue, 25 Jan 2005 02:34:19 +0000
parents b8faf63b2e9b
children 49cfbe02926b
line wrap: on
line diff
--- a/src/gtk/misc-gtk.c	Tue Jan 25 01:55:01 2005 +0000
+++ b/src/gtk/misc-gtk.c	Tue Jan 25 02:34:19 2005 +0000
@@ -508,7 +508,7 @@
 
   if (wdata->request->stopable)
     {
-      ftp_log (gftp_logging_misc, NULL,
+      ftp_log (gftp_logging_error, NULL,
 	       _("%s: Please hit the stop button first to do anything else\n"),
 	       name);
       return (0);
@@ -516,7 +516,7 @@
 
   if (check_other_stop && owdata->request->stopable)
     {
-      ftp_log (gftp_logging_misc, NULL,
+      ftp_log (gftp_logging_error, NULL,
 	       _("%s: Please hit the stop button first to do anything else\n"),
 	       name);
       return (0);
@@ -524,14 +524,14 @@
 
   if (!GFTP_IS_CONNECTED (wdata->request))
     {
-      ftp_log (gftp_logging_misc, NULL,
+      ftp_log (gftp_logging_error, NULL,
 	       _("%s: Not connected to a remote site\n"), name);
       return (0);
     }
 
   if (!func)
     {
-      ftp_log (gftp_logging_misc, NULL,
+      ftp_log (gftp_logging_error, NULL,
 	       _("%s: This feature is not available using this protocol\n"),
 	       name);
       return (0);
@@ -539,14 +539,14 @@
 
   if (only_one && !IS_ONE_SELECTED (wdata))
     {
-      ftp_log (gftp_logging_misc, NULL,
+      ftp_log (gftp_logging_error, NULL,
 	       _("%s: You must only have one item selected\n"), name);
       return (0);
     }
 
   if (at_least_one && !only_one && IS_NONE_SELECTED (wdata))
     {
-      ftp_log (gftp_logging_misc, NULL,
+      ftp_log (gftp_logging_error, NULL,
 	       _("%s: You must have at least one item selected\n"), name);
       return (0);
     }