mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
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
This commit is contained in:
parent
d51d279afb
commit
36958659a5
1 changed files with 2 additions and 0 deletions
|
@ -383,10 +383,12 @@ void PageView::setupActions( KActionCollection * ac )
|
||||||
|
|
||||||
// orientation menu actions
|
// orientation menu actions
|
||||||
d->aRotateClockwise = new KAction( KIcon( "object-rotate-right" ), i18n( "Rotate Right" ), this );
|
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 );
|
ac->addAction( "view_orientation_rotate_cw", d->aRotateClockwise );
|
||||||
d->aRotateClockwise->setEnabled( false );
|
d->aRotateClockwise->setEnabled( false );
|
||||||
connect( d->aRotateClockwise, SIGNAL( triggered() ), this, SLOT( slotRotateClockwise() ) );
|
connect( d->aRotateClockwise, SIGNAL( triggered() ), this, SLOT( slotRotateClockwise() ) );
|
||||||
d->aRotateCounterClockwise = new KAction( KIcon( "object-rotate-left" ), i18n( "Rotate Left" ), this );
|
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 );
|
ac->addAction( "view_orientation_rotate_ccw", d->aRotateCounterClockwise );
|
||||||
d->aRotateCounterClockwise->setEnabled( false );
|
d->aRotateCounterClockwise->setEnabled( false );
|
||||||
connect( d->aRotateCounterClockwise, SIGNAL( triggered() ), this, SLOT( slotRotateCounterClockwise() ) );
|
connect( d->aRotateCounterClockwise, SIGNAL( triggered() ), this, SLOT( slotRotateCounterClockwise() ) );
|
||||||
|
|
Loading…
Reference in a new issue