Implemented clear functionality for DCC download manager. Created clear button in DCC downloaded manager interface.

This commit is contained in:
Helder Martins
2013-07-10 18:29:10 +01:00
parent 4cf61ccedb
commit 0c87c49146
3 changed files with 90 additions and 1 deletions

View File

@@ -227,6 +227,15 @@ is_dcc (struct DCC *dcc)
return FALSE;
}
gboolean
is_dcc_fcompleted (struct DCC *dcc)
{
if (dcc != NULL)
return (dcc->dccstat == STAT_FAILED || dcc->dccstat == STAT_DONE || dcc->dccstat == STAT_ABORTED);
return FALSE;
}
/* this is called from hexchat.c:hexchat_misc_checks() every 1 second. */
void