From 14e5ab633456fd8ea6176777e7235a0d889dff96 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 22 Jun 2008 01:25:03 +0000 Subject: [PATCH] (gtk) #1050 make some changes to help track down Lacrocivious' bug --- gtk/file-list.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gtk/file-list.c b/gtk/file-list.c index 331aa990e..b65482617 100644 --- a/gtk/file-list.c +++ b/gtk/file-list.c @@ -151,6 +151,7 @@ parsepath( const tr_torrent * tor, size = 0; } +#if 0 gtk_tree_store_set( store, &iter, FC_INDEX, index, FC_LABEL, file, FC_KEY, mykey, @@ -161,6 +162,18 @@ parsepath( const tr_torrent * tor, FC_SIZE, size, FC_HAVE, 0, -1 ); +#else + gtk_tree_store_set( store, &iter, FC_INDEX, index, -1 ); + gtk_tree_store_set( store, &iter, FC_LABEL, file, -1 ); + gtk_tree_store_set( store, &iter, FC_KEY, mykey, -1 ); + gtk_tree_store_set( store, &iter, FC_STOCK, stock, -1 ); + gtk_tree_store_set( store, &iter, FC_PRIORITY, priority, -1 ); + gtk_tree_store_set( store, &iter, FC_ENABLED, enabled, -1 ); + gtk_tree_store_set( store, &iter, FC_IS_FILE, is_file, -1 ); + gtk_tree_store_set( store, &iter, FC_SIZE, size, -1 ); + gtk_tree_store_set( store, &iter, FC_HAVE, 0, -1 ); +#endif + done: g_free( mykey ); g_free( lower );