Changeset 9570


Ignore:
Timestamp:
Nov 25, 2009, 8:22:57 AM (12 years ago)
Author:
charles
Message:

(trunk) more magnet work. fix a couple of bugs reported by rolcol: (1) crash with incomplete dir + magnet links; (2) dialog focus issue in the gtk client

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/add-dialog.c

    r9556 r9570  
    520520
    521521    w = gtk_dialog_new_with_buttons( _( "Add URL" ), parent,
    522                                      GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
     522                                     GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
    523523                                     GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
    524524                                     GTK_STOCK_ADD, GTK_RESPONSE_ACCEPT,
  • trunk/libtransmission/torrent.c

    r9567 r9570  
    27272727    if( tor->incompleteDir == NULL )
    27282728        dir = tor->downloadDir;
     2729    else if( !tr_torrentHasMetadata( tor ) ) /* no files to find */
     2730        dir = tor->incompleteDir;
    27292731    else if( !tr_torrentFindFile2( tor, 0, &dir, &sub ) )
    27302732        dir = tor->incompleteDir;
Note: See TracChangeset for help on using the changeset viewer.