Commit 56093497 authored by Enrico Ros's avatar Enrico Ros
Browse files

merged patch_007

svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424840
parent 58cab254
......@@ -703,7 +703,7 @@ void Part::slotShowMenu(const KPDFPage *page, const QPoint &point)
else
popup->insertItem( SmallIcon("bookmark_add"), i18n("Add Bookmark"), 1 );
if ( m_pageView->canFitPageWidth() )
popup->insertItem( SmallIcon("viewmagfit"), i18n("Fit Width"), 2 );
popup->insertItem( SmallIcon("view_fit_width"), i18n("Zoom this"), 2 );
//popup->insertItem( SmallIcon("pencil"), i18n("Edit"), 3 );
//popup->setItemEnabled( 3, false );
reallyShow = true;
......
......@@ -251,6 +251,7 @@ void PageView::fitPageWidth( int page )
viewport()->setUpdatesEnabled( true );
d->document->setViewportPage( page );
updateZoomText();
setFocus();
}
void PageView::displayMessage( const QString & message )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment