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

List:       kmail-devel
Subject:    Fwd: kmail bidi patch
From:       Michael =?iso-8859-1?q?H=E4ckel?= <haeckel () kde ! org>
Date:       2002-12-09 10:04:33
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- ----------  Forwarded Message  ----------

Subject: kmail bidi patch
Date: Sat, 7 Dec 2002 02:39:37 +0000
From: Diego Iastrubni <iastrubn@actcom.co.il>
To: haeckel@kde.org

hi,

I see that kde3.1 is still updated. so Please apply this patch to the branch,
before it's really too late. You can make it more bewtifull if you want..

- - diego

- -------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE99Gq2e9KEPyN2R8URAheRAJ0QclhRFNJgEoZgYrb/uLj8uFVQeACfau9o
XGfDMSAINtq7ulaZYS8runU=
=r/2O
-----END PGP SIGNATURE-----

["kmail2.patch" (text/x-diff)]

--- kmmainwin.cpp.orig	2002-12-01 22:16:07.000000000 +0000
+++ kmmainwin.cpp	2002-12-01 22:43:28.000000000 +0000
@@ -2622,7 +2622,14 @@
                          "N;Right", this, SLOT(slotNextMessage()),
                          actionCollection(), "go_next_message" );
 
-  new KAction( KGuiItem( i18n("Next &Unread Message"), "next",
+  if (QApplication::reverseLayout()) 
+  	new KAction( KGuiItem( i18n("Next &Unread Message"), "previous",
+                         i18n("Go to the next unread message") ),
+                         Key_Plus, this, SLOT(slotNextUnreadMessage()),
+                         actionCollection(), "go_next_unread_message" ); 
+                       
+  else 
+  	new KAction( KGuiItem( i18n("Next &Unread Message"), "next",
                          i18n("Go to the next unread message") ),
                          Key_Plus, this, SLOT(slotNextUnreadMessage()),
                          actionCollection(), "go_next_unread_message" );
@@ -2639,7 +2646,13 @@
                          "P;Left", this, SLOT(slotPrevMessage()),
                          actionCollection(), "go_prev_message" );
 
-  new KAction( KGuiItem( i18n("Previous Unread &Message"), "previous",
+  if (QApplication::reverseLayout()) 
+	  new KAction( KGuiItem( i18n("Previous Unread &Message"), "next",
+                         i18n("Go to the previous unread message") ),
+                         Key_Minus, this, SLOT(slotPrevUnreadMessage()),
+                         actionCollection(), "go_prev_unread_message" );
+  else          
+	  new KAction( KGuiItem( i18n("Previous Unread &Message"), "previous",
                          i18n("Go to the previous unread message") ),
                          Key_Minus, this, SLOT(slotPrevUnreadMessage()),
                          actionCollection(), "go_prev_unread_message" );

_______________________________________________
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