From 90950f8cb8e5738f593a857e2f254319266a37e2 Mon Sep 17 00:00:00 2001 From: Ianos Gnatiuc Date: Sun, 26 Feb 2006 16:37:48 +0000 Subject: [PATCH] LISTtogglebookmark key works in thread list --- docs/notework.txt | 2 ++ golded3/gemlst.cpp | 13 +++++++++++++ 2 files changed, 15 insertions(+) diff --git a/docs/notework.txt b/docs/notework.txt index cddc693..da09655 100644 --- a/docs/notework.txt +++ b/docs/notework.txt @@ -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. diff --git a/golded3/gemlst.cpp b/golded3/gemlst.cpp index b64605a..9d9b686 100644 --- a/golded3/gemlst.cpp +++ b/golded3/gemlst.cpp @@ -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;