From 36958659a5dd7633d616318d339b776510c57f0b Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Fri, 2 Nov 2007 00:07:32 +0000 Subject: [PATCH] Add very short descriptions for the "Rotate left" and "Rotate right" actions, so they take less space when added in the toolbar. svn path=/trunk/KDE/kdegraphics/okular/; revision=731834 --- ui/pageview.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/pageview.cpp b/ui/pageview.cpp index 38e9a30da..39650ae9e 100644 --- a/ui/pageview.cpp +++ b/ui/pageview.cpp @@ -383,10 +383,12 @@ void PageView::setupActions( KActionCollection * ac ) // orientation menu actions d->aRotateClockwise = new KAction( KIcon( "object-rotate-right" ), i18n( "Rotate Right" ), this ); + d->aRotateClockwise->setIconText( i18nc( "Rotate right", "Right" ) ); ac->addAction( "view_orientation_rotate_cw", d->aRotateClockwise ); d->aRotateClockwise->setEnabled( false ); connect( d->aRotateClockwise, SIGNAL( triggered() ), this, SLOT( slotRotateClockwise() ) ); d->aRotateCounterClockwise = new KAction( KIcon( "object-rotate-left" ), i18n( "Rotate Left" ), this ); + d->aRotateCounterClockwise->setIconText( i18nc( "Rotate left", "Left" ) ); ac->addAction( "view_orientation_rotate_ccw", d->aRotateCounterClockwise ); d->aRotateCounterClockwise->setEnabled( false ); connect( d->aRotateCounterClockwise, SIGNAL( triggered() ), this, SLOT( slotRotateCounterClockwise() ) );