mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-24 02:21:26 +00:00
Icon naming spec compliance (code changes - KDE/):
* zoom-best-fit -> zoom-fit-best * plasmagik -> tools-wizard * and some other fixes, many of them in KMobileTools svn path=/trunk/KDE/kdegraphics/okular/; revision=756800
This commit is contained in:
parent
2ea7ce44b3
commit
0141282203
6
part.cpp
6
part.cpp
|
@ -1002,7 +1002,7 @@ void Part::updateBookmarksActions()
|
|||
if ( m_document->bookmarkManager()->isBookmarked( m_document->currentPage() ) )
|
||||
{
|
||||
m_addBookmark->setText( i18n( "Remove Bookmark" ) );
|
||||
m_addBookmark->setIcon( KIcon( "bookmark-delete" ) );
|
||||
m_addBookmark->setIcon( KIcon( "edit-delete-bookmark" ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1370,11 +1370,11 @@ void Part::slotShowMenu(const Okular::Page *page, const QPoint &point)
|
|||
{
|
||||
popup->addTitle( i18n( "Page %1", page->number() + 1 ) );
|
||||
if ( m_document->bookmarkManager()->isBookmarked( page->number() ) )
|
||||
removeBookmark = popup->addAction( KIcon("bookmark-delete"), i18n("Remove Bookmark") );
|
||||
removeBookmark = popup->addAction( KIcon("edit-delete-bookmark"), i18n("Remove Bookmark") );
|
||||
else
|
||||
addBookmark = popup->addAction( KIcon("bookmark-new"), i18n("Add Bookmark") );
|
||||
if ( m_pageView->canFitPageWidth() )
|
||||
fitPageWidth = popup->addAction( KIcon("zoom-best-fit"), i18n("Fit Width") );
|
||||
fitPageWidth = popup->addAction( KIcon("zoom-fit-best"), i18n("Fit Width") );
|
||||
popup->addAction( m_prevBookmark );
|
||||
popup->addAction( m_nextBookmark );
|
||||
reallyShow = true;
|
||||
|
|
|
@ -415,7 +415,7 @@ void PageView::setupActions( KActionCollection * ac )
|
|||
connect( d->aZoomFitPage, SIGNAL( toggled( bool ) ), SLOT( slotFitToPageToggled( bool ) ) );
|
||||
|
||||
/*
|
||||
d->aZoomFitText = new KToggleAction(KIcon( "zoom-best-fit" ), i18n("Fit &Text"), this);
|
||||
d->aZoomFitText = new KToggleAction(KIcon( "zoom-fit-best" ), i18n("Fit &Text"), this);
|
||||
ac->addAction("zoom_fit_text", d->aZoomFitText );
|
||||
connect( d->aZoomFitText, SIGNAL( toggled( bool ) ), SLOT( slotFitToTextToggled( bool ) ) );
|
||||
*/
|
||||
|
@ -465,7 +465,7 @@ void PageView::setupActions( KActionCollection * ac )
|
|||
d->aMouseSelect->setShortcut( Qt::CTRL + Qt::Key_3 );
|
||||
d->aMouseSelect->setActionGroup( actGroup );
|
||||
|
||||
d->aMouseTextSelect = new KAction(KIcon( "text" ), i18n("&Text Selection Tool"), this);
|
||||
d->aMouseTextSelect = new KAction(KIcon( "draw-text" ), i18n("&Text Selection Tool"), this);
|
||||
ac->addAction("mouse_textselect", d->aMouseTextSelect );
|
||||
connect( d->aMouseTextSelect, SIGNAL( triggered() ), this, SLOT( slotSetMouseTextSelect() ) );
|
||||
d->aMouseTextSelect->setIconText( i18nc( "Text Selection Tool", "Text Selection" ) );
|
||||
|
|
Loading…
Reference in a new issue