Icon naming spec compliance (code changes - KDE/):

* go-{next,previous,first,last}-rtl -> go-{previous,next,last,first}
* document-start-presentation -> view-presentation

svn path=/trunk/KDE/kdegraphics/okular/; revision=753149
This commit is contained in:
Jakob Petsovits 2007-12-26 19:31:48 +00:00
parent f84c256657
commit 6164d717d8
3 changed files with 6 additions and 6 deletions

View file

@ -35,11 +35,11 @@ PreferencesDialog::PreferencesDialog( QWidget * parent, KConfigSkeleton * skelet
addPage( m_general, i18n("General"), "graphics-viewer-document", i18n("General Options") );
addPage( m_accessibility, i18n("Accessibility"), "preferences-desktop-accessibility", i18n("Accessibility Reading Aids") );
addPage( m_performance, i18n("Performance"), "preferences-system-performance", i18n("Performance Tuning") );
addPage( m_presentation, i18n("Presentation"), "document-start-presentation",
addPage( m_presentation, i18n("Presentation"), "view-presentation",
i18n("Options for Presentation Mode") );
addPage( m_identity, i18n("Identity"), "contact",
addPage( m_identity, i18n("Identity"), "preferences-desktop-personal",
i18n("Identity Settings") );
#ifdef OKULAR_DEBUG_CONFIGPAGE
addPage( m_debug, "Debug", "gear", "Debug options" );
addPage( m_debug, "Debug", "system-run", "Debug options" );
#endif
}

View file

@ -413,7 +413,7 @@ m_cliPresentation(false), m_generatorGuiClient(0)
m_showPresentation = ac->addAction("presentation");
m_showPresentation->setText(i18n("P&resentation"));
m_showPresentation->setIcon( KIcon( "media-playback-start-presentation" ) );
m_showPresentation->setIcon( KIcon( "view-presentation" ) );
connect(m_showPresentation, SIGNAL(triggered()), this, SLOT(slotShowPresentation()));
m_showPresentation->setShortcut( QKeySequence( Qt::CTRL + Qt::SHIFT + Qt::Key_P ) );
m_showPresentation->setEnabled( false );

View file

@ -429,7 +429,7 @@ void PresentationWidget::paintEvent( QPaintEvent * pe )
m_topBar->setObjectName( "presentationBar" );
m_topBar->setIconSize( QSize( 32, 32 ) );
m_topBar->setMovable( false );
m_topBar->addAction( KIcon( layoutDirection() == Qt::RightToLeft ? "go-previous-rtl" : "go-previous" ), i18n("Previous Page"), this, SLOT( slotPrevPage() ) );
m_topBar->addAction( KIcon( layoutDirection() == Qt::RightToLeft ? "go-next" : "go-previous" ), i18n("Previous Page"), this, SLOT( slotPrevPage() ) );
m_pagesEdit = new QLineEdit( m_topBar );
QSizePolicy sp = m_pagesEdit->sizePolicy();
sp.setHorizontalPolicy( QSizePolicy::Minimum );
@ -443,7 +443,7 @@ void PresentationWidget::paintEvent( QPaintEvent * pe )
pagesLabel->setText( QLatin1String( " / " ) + QString::number( m_document->pages() ) + QLatin1String( " " ) );
m_topBar->addWidget( pagesLabel );
connect( m_pagesEdit, SIGNAL( returnPressed() ), this, SLOT( slotPageChanged() ) );
m_topBar->addAction( KIcon( layoutDirection() == Qt::RightToLeft ? "go-next-rtl" : "go-next" ), i18n("Next Page"), this, SLOT( slotNextPage() ) );
m_topBar->addAction( KIcon( layoutDirection() == Qt::RightToLeft ? "go-previous" : "go-next" ), i18n("Next Page"), this, SLOT( slotNextPage() ) );
m_topBar->addSeparator();
QAction * drawingAct = m_topBar->addAction( KIcon( "draw-freehand" ), i18n( "Toggle Drawing Mode" ) );
drawingAct->setCheckable( true );