Mercurial > gftp.yaz
diff src/gtk/misc-gtk.c @ 916:936635b76f02
2007-4-26 Brian Masney <masneyb@gftp.org>
* src/gtk/misc-gtk.c lib/gftp.h lib/protocols.c - added
filename_utf8_encoded flag to the gftp_file structure. If this is false,
then don't attempt to show the filename in the GTK port. The user can
still select the blank filename though.
author | masneyb |
---|---|
date | Thu, 26 Apr 2007 23:47:34 +0000 |
parents | 1808cebed602 |
children | b884506e569c |
line wrap: on
line diff
--- a/src/gtk/misc-gtk.c Wed Apr 25 22:23:16 2007 +0000 +++ b/src/gtk/misc-gtk.c Thu Apr 26 23:47:34 2007 +0000 @@ -747,7 +747,7 @@ gtk_clist_set_pixmap (GTK_CLIST (wdata->listbox), clist_num, 0, pix, bitmap); - if (fle->file != NULL) + if (fle->file != NULL && fle->filename_utf8_encoded) gtk_clist_set_text (GTK_CLIST (wdata->listbox), clist_num, 1, fle->file); if (GFTP_IS_SPECIAL_DEVICE (fle->st_mode))