mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
(gtk) #1050 make some changes to help track down Lacrocivious' bug
This commit is contained in:
parent
75ba83b830
commit
14e5ab6334
1 changed files with 13 additions and 0 deletions
|
@ -151,6 +151,7 @@ parsepath( const tr_torrent * tor,
|
||||||
size = 0;
|
size = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
gtk_tree_store_set( store, &iter, FC_INDEX, index,
|
gtk_tree_store_set( store, &iter, FC_INDEX, index,
|
||||||
FC_LABEL, file,
|
FC_LABEL, file,
|
||||||
FC_KEY, mykey,
|
FC_KEY, mykey,
|
||||||
|
@ -161,6 +162,18 @@ parsepath( const tr_torrent * tor,
|
||||||
FC_SIZE, size,
|
FC_SIZE, size,
|
||||||
FC_HAVE, 0,
|
FC_HAVE, 0,
|
||||||
-1 );
|
-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:
|
done:
|
||||||
g_free( mykey );
|
g_free( mykey );
|
||||||
g_free( lower );
|
g_free( lower );
|
||||||
|
|
Loading…
Reference in a new issue