Add: News menu entry and shortcut for deleting all messages. (#7240)

This commit is contained in:
Joan Josep
2019-02-17 00:15:58 +01:00
committed by PeterN
parent ebe84b9d4c
commit 548ec05a48
5 changed files with 19 additions and 1 deletions

View File

@@ -1023,7 +1023,7 @@ static CallBackFunction MenuClickMusicWindow(int index)
static CallBackFunction ToolbarNewspaperClick(Window *w)
{
PopupMainToolbMenu(w, WID_TN_MESSAGES, STR_NEWS_MENU_LAST_MESSAGE_NEWS_REPORT, 2);
PopupMainToolbMenu(w, WID_TN_MESSAGES, STR_NEWS_MENU_LAST_MESSAGE_NEWS_REPORT, 3);
return CBF_NONE;
}
@@ -1038,6 +1038,7 @@ static CallBackFunction MenuClickNewspaper(int index)
switch (index) {
case 0: ShowLastNewsMessage(); break;
case 1: ShowMessageHistory(); break;
case 2: DeleteAllMessages(); break;
}
return CBF_NONE;
}