From e01df639a7e6ce17776dd2cbc8e243fdcff8d2fc Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Mon, 9 Dec 2002 22:56:47 +0000 Subject: [PATCH] bidi fix. Patch by Diego Iastrubni svn path=/trunk/kdenetwork/kmail/; revision=193084 --- kmmainwin.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kmmainwin.cpp b/kmmainwin.cpp index 0cd2d98a3..bc217fd78 100644 --- a/kmmainwin.cpp +++ b/kmmainwin.cpp @@ -2658,7 +2658,8 @@ void KMMainWin::setupMenuBar() "N;Right", this, SLOT(slotNextMessage()), actionCollection(), "go_next_message" ); - new KAction( KGuiItem( i18n("Next &Unread Message"), "next", + new KAction( KGuiItem( i18n("Next &Unread Message"), + QApplication::reverseLayout() ? "previous" : "next", i18n("Go to the next unread message") ), Key_Plus, this, SLOT(slotNextUnreadMessage()), actionCollection(), "go_next_unread_message" ); @@ -2675,7 +2676,8 @@ void KMMainWin::setupMenuBar() "P;Left", this, SLOT(slotPrevMessage()), actionCollection(), "go_prev_message" ); - new KAction( KGuiItem( i18n("Previous Unread &Message"), "previous", + new KAction( KGuiItem( i18n("Previous Unread &Message"), + QApplication::reverseLayout() ? "next" : "previous", i18n("Go to the previous unread message") ), Key_Minus, this, SLOT(slotPrevUnreadMessage()), actionCollection(), "go_prev_unread_message" );