LISTtogglebookmark key works in thread list

This commit is contained in:
Ianos Gnatiuc 2006-02-26 16:37:48 +00:00
parent b52fa95643
commit 90950f8cb8
2 changed files with 15 additions and 0 deletions

View File

@ -10,6 +10,8 @@ ______________________________________________________________________
Notes for GoldED+ 1.1.5, /snapshot/
______________________________________________________________________
+ LISTtogglebookmark key works in thread list.
+ New config file token: Translate "text" "translation". Used together
with @tr{text} macro to translate some parts of template.

View File

@ -1191,6 +1191,19 @@ bool GThreadlist::handle_key() {
break;
}
case KK_ListToggleBookMark:
if (AA->bookmark == list[index].msgno)
{
AA->bookmark = 0;
display_bar();
}
else
{
AA->bookmark = list[index].msgno;
update();
}
break;
case KK_ListDosShell:
DosShell();
break;