backport: use the proper "page-zoom" icon for the zoom tool and the zoom selector

CCBUG: 193770

svn path=/branches/KDE/4.2/kdegraphics/okular/; revision=972331
remotes/origin/KDE/4.2
Pino Toscano 17 years ago
parent aa13647e97
commit e29353ed4e
  1. 4
      ui/pageview.cpp

@ -408,7 +408,7 @@ void PageView::setupBaseActions( KActionCollection * ac )
d->actionCollection = ac;
// Zoom actions ( higher scales takes lots of memory! )
d->aZoom = new KSelectAction(KIcon( "zoom-original" ), i18n("Zoom"), this);
d->aZoom = new KSelectAction(KIcon( "page-zoom" ), i18n("Zoom"), this);
ac->addAction("zoom_to", d->aZoom );
d->aZoom->setEditable( true );
d->aZoom->setMaxComboViewCount( 13 );
@ -504,7 +504,7 @@ do { \
d->aMouseNormal->setActionGroup( actGroup );
d->aMouseNormal->setChecked( true );
KAction * mz = new KAction(KIcon( "zoom-original" ), i18n("&Zoom Tool"), this);
KAction * mz = new KAction(KIcon( "page-zoom" ), i18n("&Zoom Tool"), this);
ac->addAction("mouse_zoom", mz );
connect( mz, SIGNAL( triggered() ), this, SLOT( slotSetMouseZoom() ) );
mz->setIconText( i18nc( "Zoom Tool", "Zoom" ) );

Loading…
Cancel
Save