Changeset 2247


Ignore:
Timestamp:
Jun 30, 2007, 1:53:10 PM (15 years ago)
Author:
charles
Message:

(1) check a torrent's `fast resume' state as soon as it's added. (2) in gtk, show % done even when torrent is stopped

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/torrent-inspector.c

    r2245 r2247  
    15221522  GtkWidget *d, *n, *w;
    15231523  tr_torrent_t * tor = tr_torrent_handle (gtor);
    1524   tr_info_t * info = tr_torrent_info (gtor);
     1524  const tr_info_t * info = tr_torrent_info (gtor);
    15251525
    15261526  /* create the dialog */
  • trunk/gtk/tr_torrent.c

    r2245 r2247  
    649649
    650650        case TR_STATUS_STOPPED:
    651             top = g_strdup( _("Stopped") );
     651            top = g_strdup_printf( _("Stopped (%.1f%%)"), prog );
    652652            break;
    653653
  • trunk/libtransmission/torrent.c

    r2245 r2247  
    949949    }
    950950
     951    tor->recheckFlag = !tr_ioCheckFiles( tor, TR_RECHECK_FAST );
     952
    951953    /* loop until the torrent is being deleted */
    952954    while( ! ( tor->dieFlag && (tor->runStatus == TR_RUN_STOPPED) ) )
Note: See TracChangeset for help on using the changeset viewer.