Mercurial > gftp.yaz
changeset 571:de0128b73daa
2004-9-29 Brian Masney <masneyb@gftp.org>
* lib/sshv2.c - log to the user which directory entries gftp could
not parse
* src/gtk/bookmarks.c - removed unused function clear_bookmarks_tree()
author | masneyb |
---|---|
date | Wed, 29 Sep 2004 22:25:00 +0000 |
parents | 447f40a61ee8 |
children | ce1e83470207 |
files | ChangeLog lib/sshv2.c src/gtk/bookmarks.c |
diffstat | 3 files changed, 10 insertions(+), 31 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Sep 29 21:31:31 2004 +0000 +++ b/ChangeLog Wed Sep 29 22:25:00 2004 +0000 @@ -1,4 +1,9 @@ 2004-9-29 Brian Masney <masneyb@gftp.org> + * lib/sshv2.c - log to the user which directory entries gftp could + not parse + + * src/gtk/bookmarks.c - removed unused function clear_bookmarks_tree() + * src/gtk/bookmarks.c - make sure the items of type GtkItemFactoryEntry are fully initialized (fixes compiler warnings). Fixed several segfaults that could occur in the bookmarks editor @@ -2879,7 +2884,7 @@ * cvsclean - added this script - * *.[ch] - added $Id: ChangeLog,v 1.332 2004/09/29 21:31:30 masneyb Exp $ tags + * *.[ch] - added $Id: ChangeLog,v 1.333 2004/09/29 22:25:00 masneyb Exp $ tags * debian/* - updated files from Debian maintainer
--- a/lib/sshv2.c Wed Sep 29 21:31:31 2004 +0000 +++ b/lib/sshv2.c Wed Sep 29 22:25:00 2004 +0000 @@ -1347,6 +1347,10 @@ if ((ret = gftp_parse_ls (request, longname, fle, 0)) < 0) { + request->logging_function (gftp_logging_error, request, + _("Warning: Cannot parse listing %s\n"), + longname); + gftp_file_destroy (fle); return (ret); }
--- a/src/gtk/bookmarks.c Wed Sep 29 21:31:31 2004 +0000 +++ b/src/gtk/bookmarks.c Wed Sep 29 22:25:00 2004 +0000 @@ -660,36 +660,6 @@ static void -clear_bookmarks_tree (void) -{ - gftp_bookmarks_var * tempentry; - - if (new_bookmarks != NULL) - tempentry = new_bookmarks->children; - else - tempentry = gftp_bookmarks->children; - - while (tempentry != NULL) - { - if (tempentry->children != NULL) - { - tempentry = tempentry->children; - continue; - } - while (tempentry->next == NULL && tempentry->prev != NULL) - { - gtk_ctree_remove_node (GTK_CTREE (tree), tempentry->cnode); - tempentry->cnode = NULL; - tempentry = tempentry->prev; - } - gtk_ctree_remove_node (GTK_CTREE (tree), tempentry->cnode); - tempentry->cnode = NULL; - tempentry = tempentry->next; - } -} - - -static void entry_apply_changes (GtkWidget * widget, gftp_bookmarks_var * entry) { char *pos, *newpath, tempchar, *tempstr, *origpath;