[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    =?iso-8859-15?q?=5B=B5PATCH=5D_Center_current_message_after_Left/Right?=
From:       Ingo =?iso-8859-15?q?Kl=F6cker?= <kloecker () kde ! org>
Date:       2003-06-01 16:17:53
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


[Resent to test a patch which hopefully prevents mailman from breaking 
the signature.]

Hi,

the attached patch centers the current message when using Left/Right to 
go to the previous/next message the same way the current message is 
centered when using Plus/Minus to go to the next/previous new message. 
Reasoning: I'd like to know which message is below the next/above the 
previous message when I browse through messages with Left/Right.

Does anyone have objections against this patch?

Regards,
Ingo


["center_current_message_after_LeftRight.diff" (text/x-diff)]

Index: kmheaders.cpp
===================================================================
RCS file: /home/kde/kdepim/kmail/kmheaders.cpp,v
retrieving revision 1.509
diff -u -3 -p -r1.509 kmheaders.cpp
--- kmheaders.cpp	23 May 2003 19:09:02 -0000	1.509
+++ kmheaders.cpp	1 Jun 2003 13:20:49 -0000
@@ -1714,6 +1714,7 @@ void KMHeaders::nextMessage()
     clearSelection();
     setSelected( lvi, FALSE );
     selectNextMessage();
+    ensureCurrentItemVisible();
   }
 }
 
@@ -1746,6 +1747,7 @@ void KMHeaders::prevMessage()
     clearSelection();
     setSelected( lvi, FALSE );
     selectPrevMessage();
+    ensureCurrentItemVisible();
   }
 }
 

[Attachment #8 (application/pgp-signature)]

_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic