diff src/layout.c @ 1626:94e4a47ccaff

simplified the code around vd_select_row
author nadvornik
date Fri, 05 Jun 2009 21:52:37 +0000
parents 66d4bd637fd7
children 1f3bf4a631df
line wrap: on
line diff
--- a/src/layout.c	Thu Jun 04 16:07:16 2009 +0000
+++ b/src/layout.c	Fri Jun 05 21:52:37 2009 +0000
@@ -243,11 +243,11 @@
 	g_free(buf);
 }
 
-static void layout_vd_select_cb(ViewDir *vd, const gchar *path, gpointer data)
+static void layout_vd_select_cb(ViewDir *vd, FileData *fd, gpointer data)
 {
 	LayoutWindow *lw = data;
 
-	layout_set_path(lw, path);
+	layout_set_fd(lw, fd);
 }
 
 static void layout_path_entry_tab_append_cb(const gchar *path, gpointer data, gint n)