1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

Ticket #217: Missing Progress in GTK+ Torrent Inspector (reported by CatharsisCarth)

This commit is contained in:
Charles Kerr 2007-06-09 00:34:39 +00:00
parent ecf19e2528
commit 5d9fe27797
2 changed files with 2 additions and 2 deletions

View file

@ -1018,7 +1018,7 @@ getdirtotals( GtkTreeStore * store, GtkTreeIter * parent )
mysize = 0; mysize = 0;
if( gtk_tree_model_iter_children( model, &iter, parent ) ) do if( gtk_tree_model_iter_children( model, &iter, parent ) ) do
{ {
if( !gtk_tree_model_iter_has_child( model, &iter ) ) if( gtk_tree_model_iter_has_child( model, &iter ) )
{ {
subsize = getdirtotals( store, &iter ); subsize = getdirtotals( store, &iter );
gtk_tree_store_set( store, &iter, FC_SIZE, subsize, -1 ); gtk_tree_store_set( store, &iter, FC_SIZE, subsize, -1 );

View file

@ -313,7 +313,7 @@ getdownloaddir( void )
const char * dir = tr_prefs_get( PREF_ID_DIR ); const char * dir = tr_prefs_get( PREF_ID_DIR );
if (NULL == dir) { if (NULL == dir) {
if (NULL == wd) if (NULL == wd)
wd = g_get_current_dir(), wd = g_get_current_dir();
dir = wd; dir = wd;
} }
return dir; return dir;