Changeset 9344


Ignore:
Timestamp:
Oct 21, 2009, 2:02:02 PM (13 years ago)
Author:
charles
Message:

(trunk libT) add callback notification when a torrent has been moved via RPC

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rpcimpl.c

    r9335 r9344  
    812812            tr_torrent * tor = torrents[i];
    813813            tr_torrentSetLocation( tor, location, move, NULL, NULL );
    814             notify( session, TR_RPC_TORRENT_CHANGED, tor );
     814            notify( session, TR_RPC_TORRENT_MOVED, tor );
    815815        }
    816816
  • trunk/libtransmission/transmission.h

    r9341 r9344  
    453453    TR_RPC_TORRENT_REMOVING,
    454454    TR_RPC_TORRENT_CHANGED, /* catch-all for the "torrent-set" rpc method */
     455    TR_RPC_TORRENT_MOVED,
    455456    TR_RPC_SESSION_CHANGED
    456457}
Note: See TracChangeset for help on using the changeset viewer.