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:
parent
ecf19e2528
commit
5d9fe27797
2 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue