1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 14:06:36 +01:00

improve window alert functionality

This commit is contained in:
Jfreegman
2013-11-28 19:45:28 -05:00
parent 2057e7bc4f
commit a98ec22fd6
8 changed files with 50 additions and 31 deletions

View File

@@ -384,7 +384,7 @@ static void do_file_senders(Tox *m)
if (ctx != NULL) {
wprintw(ctx->history, "File transfer for '%s' timed out.\n", pathname);
alert_window(file_senders[i].toxwin);
alert_window(file_senders[i].toxwin, WINDOW_ALERT_2, true);
}
tox_file_sendcontrol(m, friendnum, 0, filenum, TOX_FILECONTROL_KILL, 0, 0);
@@ -408,7 +408,7 @@ static void do_file_senders(Tox *m)
if (ctx != NULL) {
wprintw(ctx->history, "File '%s' successfuly sent.\n", pathname);
alert_window(file_senders[i].toxwin);
alert_window(file_senders[i].toxwin, WINDOW_ALERT_2, true);
}
tox_file_sendcontrol(m, friendnum, 0, filenum, TOX_FILECONTROL_FINISHED, 0, 0);