Changeset 11211
- Timestamp:
- Sep 16, 2010, 2:00:54 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/daemon/remote.c
r11209 r11211 1328 1328 printf( " Tracker %d: %s\n", (int)(id), host ); 1329 1329 if( isBackup ) 1330 printf( " Backup on tier #%d\n", (int)tier );1330 printf( " Backup on tier %d\n", (int)tier ); 1331 1331 else 1332 printf( " Active in tier #%d\n", (int)tier );1332 printf( " Active in tier %d\n", (int)tier ); 1333 1333 1334 1334 if( !isBackup ) 1335 1335 { 1336 if( hasAnnounced )1336 if( hasAnnounced && announceState != TR_TRACKER_INACTIVE ) 1337 1337 { 1338 1338 tr_strltime( buf, now - lastAnnounceTime, sizeof( buf ) ); -
trunk/gtk/details.c
r11132 r11211 1822 1822 if( !st->isBackup ) 1823 1823 { 1824 if( st->hasAnnounced )1824 if( st->hasAnnounced && st->announceState != TR_TRACKER_INACTIVE ) 1825 1825 { 1826 1826 g_string_append_c( gstr, '\n' ); … … 1841 1841 { 1842 1842 case TR_TRACKER_INACTIVE: 1843 if( !st->hasAnnounced ) { 1844 g_string_append_c( gstr, '\n' ); 1845 g_string_append( gstr, _( "No updates scheduled" ) ); 1846 } 1843 g_string_append_c( gstr, '\n' ); 1844 g_string_append( gstr, _( "No updates scheduled" ) ); 1847 1845 break; 1848 1846 case TR_TRACKER_WAITING: -
trunk/qt/tracker-delegate.cc
r11097 r11211 153 153 if( !inf.st.isBackup ) 154 154 { 155 if( inf.st.hasAnnounced )155 if( inf.st.hasAnnounced && inf.st.announceState != TR_TRACKER_INACTIVE ) 156 156 { 157 157 const QString tstr( timeToStringRounded( now - inf.st.lastAnnounceTime ) ); … … 185 185 { 186 186 case TR_TRACKER_INACTIVE: 187 if( !inf.st.hasAnnounced ) { 188 str += "<br/>\n"; 189 str += tr( "No updates scheduled" ); 190 } 187 str += "<br/>\n"; 188 str += tr( "No updates scheduled" ); 191 189 break; 192 190
Note: See TracChangeset
for help on using the changeset viewer.