comparison src/gtk/transfer.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 84d38c525f46
children 56de00e9afa1
comparison
equal deleted inserted replaced
676:72a6de68d9c8 677:8990a8a26ccf
93 return; 93 return;
94 94
95 if (!GFTP_IS_CONNECTED (fromwdata->request) || 95 if (!GFTP_IS_CONNECTED (fromwdata->request) ||
96 !GFTP_IS_CONNECTED (towdata->request)) 96 !GFTP_IS_CONNECTED (towdata->request))
97 { 97 {
98 ftp_log (gftp_logging_misc, NULL, 98 ftp_log (gftp_logging_error, NULL,
99 _("Retrieve Files: Not connected to a remote site\n")); 99 _("Retrieve Files: Not connected to a remote site\n"));
100 return; 100 return;
101 } 101 }
102 102
103 if (check_reconnect (fromwdata) < 0 || check_reconnect (towdata) < 0) 103 if (check_reconnect (fromwdata) < 0 || check_reconnect (towdata) < 0)
877 gftpui_common_curtrans_data * transdata; 877 gftpui_common_curtrans_data * transdata;
878 GtkCTreeNode * node; 878 GtkCTreeNode * node;
879 879
880 if (GTK_CLIST (dlwdw)->selection == NULL) 880 if (GTK_CLIST (dlwdw)->selection == NULL)
881 { 881 {
882 ftp_log (gftp_logging_misc, NULL, 882 ftp_log (gftp_logging_error, NULL,
883 _("There are no file transfers selected\n")); 883 _("There are no file transfers selected\n"));
884 return; 884 return;
885 } 885 }
886 node = GTK_CLIST (dlwdw)->selection->data; 886 node = GTK_CLIST (dlwdw)->selection->data;
887 transdata = gtk_ctree_node_get_row_data (GTK_CTREE (dlwdw), node); 887 transdata = gtk_ctree_node_get_row_data (GTK_CTREE (dlwdw), node);
899 gftpui_common_curtrans_data * transdata; 899 gftpui_common_curtrans_data * transdata;
900 GtkCTreeNode * node; 900 GtkCTreeNode * node;
901 901
902 if (GTK_CLIST (dlwdw)->selection == NULL) 902 if (GTK_CLIST (dlwdw)->selection == NULL)
903 { 903 {
904 ftp_log (gftp_logging_misc, NULL, 904 ftp_log (gftp_logging_error, NULL,
905 _("There are no file transfers selected\n")); 905 _("There are no file transfers selected\n"));
906 return; 906 return;
907 } 907 }
908 node = GTK_CLIST (dlwdw)->selection->data; 908 node = GTK_CLIST (dlwdw)->selection->data;
909 transdata = gtk_ctree_node_get_row_data (GTK_CTREE (dlwdw), node); 909 transdata = gtk_ctree_node_get_row_data (GTK_CTREE (dlwdw), node);
933 gftp_file * curfle; 933 gftp_file * curfle;
934 char *file; 934 char *file;
935 935
936 if (GTK_CLIST (dlwdw)->selection == NULL) 936 if (GTK_CLIST (dlwdw)->selection == NULL)
937 { 937 {
938 ftp_log (gftp_logging_misc, NULL, 938 ftp_log (gftp_logging_error, NULL,
939 _("There are no file transfers selected\n")); 939 _("There are no file transfers selected\n"));
940 return; 940 return;
941 } 941 }
942 node = GTK_CLIST (dlwdw)->selection->data; 942 node = GTK_CLIST (dlwdw)->selection->data;
943 transdata = gtk_ctree_node_get_row_data (GTK_CTREE (dlwdw), node); 943 transdata = gtk_ctree_node_get_row_data (GTK_CTREE (dlwdw), node);
973 GtkCTreeNode * node; 973 GtkCTreeNode * node;
974 gftp_file * curfle; 974 gftp_file * curfle;
975 975
976 if (GTK_CLIST (dlwdw)->selection == NULL) 976 if (GTK_CLIST (dlwdw)->selection == NULL)
977 { 977 {
978 ftp_log (gftp_logging_misc, NULL, 978 ftp_log (gftp_logging_error, NULL,
979 _("There are no file transfers selected\n")); 979 _("There are no file transfers selected\n"));
980 return; 980 return;
981 } 981 }
982 982
983 node = GTK_CLIST (dlwdw)->selection->data; 983 node = GTK_CLIST (dlwdw)->selection->data;
1026 gftpui_common_curtrans_data * transdata; 1026 gftpui_common_curtrans_data * transdata;
1027 GtkCTreeNode * node; 1027 GtkCTreeNode * node;
1028 1028
1029 if (GTK_CLIST (dlwdw)->selection == NULL) 1029 if (GTK_CLIST (dlwdw)->selection == NULL)
1030 { 1030 {
1031 ftp_log (gftp_logging_misc, NULL, 1031 ftp_log (gftp_logging_error, NULL,
1032 _("There are no file transfers selected\n")); 1032 _("There are no file transfers selected\n"));
1033 return; 1033 return;
1034 } 1034 }
1035 node = GTK_CLIST (dlwdw)->selection->data; 1035 node = GTK_CLIST (dlwdw)->selection->data;
1036 transdata = gtk_ctree_node_get_row_data (GTK_CTREE (dlwdw), node); 1036 transdata = gtk_ctree_node_get_row_data (GTK_CTREE (dlwdw), node);
1086 gftpui_common_curtrans_data * transdata; 1086 gftpui_common_curtrans_data * transdata;
1087 GtkCTreeNode * node; 1087 GtkCTreeNode * node;
1088 1088
1089 if (GTK_CLIST (dlwdw)->selection == NULL) 1089 if (GTK_CLIST (dlwdw)->selection == NULL)
1090 { 1090 {
1091 ftp_log (gftp_logging_misc, NULL, 1091 ftp_log (gftp_logging_error, NULL,
1092 _("There are no file transfers selected\n")); 1092 _("There are no file transfers selected\n"));
1093 return; 1093 return;
1094 } 1094 }
1095 node = GTK_CLIST (dlwdw)->selection->data; 1095 node = GTK_CLIST (dlwdw)->selection->data;
1096 transdata = gtk_ctree_node_get_row_data (GTK_CTREE (dlwdw), node); 1096 transdata = gtk_ctree_node_get_row_data (GTK_CTREE (dlwdw), node);