mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
(gtk) #769: when removing a torrent, prompt for confirmation if (a) the torrent is incomplete, (b) the torrent is connected to peers, (c) the user is also deleting the downloaded files.
This commit is contained in:
@@ -38,6 +38,9 @@ GtkWidget* promptfordir( GtkWindow * parent,
|
||||
/* prompt if the user wants to quit, calls func with cbdata if they do */
|
||||
void askquit( TrCore*, GtkWindow* parent, callbackfunc_t func, void* cbdata );
|
||||
|
||||
void confirmDelete( GtkWindow * parent, TrCore * core, GList * torrents );
|
||||
void confirmRemove( GtkWindow * parent,
|
||||
TrCore * core,
|
||||
GList * gtorrents,
|
||||
gboolean doDelete );
|
||||
|
||||
#endif /* TG_PREFS_H */
|
||||
|
||||
Reference in New Issue
Block a user