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

List:       kde-commits
Subject:    branches/KDE/4.2/kdepim/akregator/src
From:       Teemu Rytilahti <tpr () d5k ! net>
Date:       2009-05-24 16:56:50
Message-ID: 1243184210.673622.721.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 972350 by rytilahti:

backport SVN commit 972349 by rytilahti:

- Add icons for previous/next unread feed/articles, similar to knode
- Change + to be the primary shortcut for next unread article instead of
current =, to be consistent as the primary key is shown in the menu.

CCBUG:189664



 M  +5 -1      actionmanagerimpl.cpp  


--- branches/KDE/4.2/kdepim/akregator/src/actionmanagerimpl.cpp #972349:972350
@@ -313,14 +313,16 @@
     connect(action, SIGNAL(triggered(bool)), d->mainWidget, SLOT(slotCopyLinkAddress()));
 
     action = coll->addAction("go_prev_unread_article");
+    action->setIcon(KIcon("go-previous"));
     action->setText(i18n("Pre&vious Unread Article"));
     connect(action, SIGNAL(triggered(bool)), d->mainWidget, SLOT(slotPrevUnreadArticle()));
     action->setShortcut(QKeySequence(Qt::Key_Minus));
 
     action = coll->addAction("go_next_unread_article");
+    action->setIcon(KIcon("go-next"));
     action->setText(i18n("Ne&xt Unread Article"));
     connect(action, SIGNAL(triggered(bool)), d->mainWidget, SLOT(slotNextUnreadArticle()));
-    action->setShortcuts(KShortcut(Qt::Key_Equal, Qt::Key_Plus));
+    action->setShortcuts(KShortcut(Qt::Key_Plus, Qt::Key_Equal));
 
     action = coll->addAction("article_delete");
     action->setIcon(KIcon("edit-delete"));
@@ -453,11 +455,13 @@
     action->setShortcuts(KShortcut( "N" ));
 
     action = coll->addAction("go_next_unread_feed");
+    action->setIcon(KIcon("go-down"));
     action->setText(i18n("N&ext Unread Feed"));
     connect(action, SIGNAL(triggered(bool)), subscriptionListView, SLOT(slotNextUnreadFeed()));
     action->setShortcut(  QKeySequence(Qt::ALT+Qt::Key_Plus) );
 
     action = coll->addAction("go_prev_unread_feed");
+    action->setIcon(KIcon("go-up"));
     action->setText(i18n("Prev&ious Unread Feed"));
     connect(action, SIGNAL(triggered(bool)), subscriptionListView, SLOT(slotPrevUnreadFeed()));
     action->setShortcut( QKeySequence(Qt::ALT+Qt::Key_Minus) );
[prev in list] [next in list] [prev in thread] [next in thread] 

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