[changeset] Advance to next subthread upon tag-subthread
This fixes a usability issue when tagging subthreads.
# HG changeset patch
# User Thomas Roessler <roessler@xxxxxxxxxxxxxxxxxx>
# Date 1179255953 -7200
# Node ID 33af2883d52b99ece0a935818a91293b502603aa
# Parent 763bd781d108e17999e4c99f4caf4a76019aca3e
Jump to the next *sub*-thread when tag-subthread is invoked,
not to the next thread.
diff -r 763bd781d108 -r 33af2883d52b curs_main.c
--- a/curs_main.c Tue May 08 12:54:42 2007 -0700
+++ b/curs_main.c Tue May 15 21:05:53 2007 +0200
@@ -2090,7 +2090,10 @@ int mutt_index_menu (void)
{
if (option (OPTRESOLVE))
{
- menu->current = mutt_next_thread (CURHDR);
+ if (op == OP_TAG_THREAD)
+ menu->current = mutt_next_thread (CURHDR);
+ else
+ menu->current = mutt_next_subthread (CURHDR);
if (menu->current == -1)
menu->current = menu->oldcurrent;
--
Thomas Roessler <roessler@xxxxxxxxxxxxxxxxxx>