diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2012-08-24 16:03:23 +0100 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2012-08-24 16:03:23 +0100 |
commit | 1ac547d2b0f8040bc56b3bd8f958871d0b670ffb (patch) | |
tree | f963ffe36b640578af2c9cd4ac9f918f23439c9c | |
parent | f947bb4f8265cd3053c8f993a327fa6a7d45b836 (diff) |
add missing status string for paused torrents
-rw-r--r-- | src/torrent-cell-renderer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/torrent-cell-renderer.c b/src/torrent-cell-renderer.c index d590be5..3915ede 100644 --- a/src/torrent-cell-renderer.c +++ b/src/torrent-cell-renderer.c @@ -307,6 +307,12 @@ getStatusString( GString * gstr, N_( "Tracker gave an error: \"%s\"" ), N_( "Error: %s" ) }; g_string_append_printf( gstr, _( fmt[priv->error] ), torrent_get_errorstr(priv->json) ); + } else if ((priv->flags & TORRENT_FLAG_PAUSED) + || (priv->flags & TORRENT_FLAG_WAITING_CHECK) + || (priv->flags & TORRENT_FLAG_CHECKING) + || (priv->flags & TORRENT_FLAG_DOWNLOADING_WAIT) + || (priv->flags & TORRENT_FLAG_SEEDING_WAIT)) { + getShortStatusString( gstr, r ); } else if (priv->flags & TORRENT_FLAG_DOWNLOADING) { if (priv->fileCount > 0) { g_string_append_printf( gstr, |