changeset 272:fbbb960a3857

fixed file delete notification in view_file_icon
author nadvornik
date Tue, 08 Apr 2008 17:26:13 +0000
parents 35f9083c6b95
children e0e2c2b72c5a
files src/view_file_icon.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/view_file_icon.c	Tue Apr 08 16:22:21 2008 +0000
+++ b/src/view_file_icon.c	Tue Apr 08 17:26:13 2008 +0000
@@ -2677,8 +2677,7 @@
 			}
 		if (new_row >= 0)
 			{
-			FileData *fdn = g_list_nth_data(vfi->list, new_row);
-			IconData *idn = vficon_icon_data(vfi,fdn);
+			IconData *idn = g_list_nth_data(vfi->list, new_row);
 
 			vficon_select(vfi, idn);
 			vficon_send_layout_select(vfi, idn);