From 79006833dec78cf0a0576c52253590d593316fee Mon Sep 17 00:00:00 2001 From: Jakob Petsovits Date: Fri, 28 Dec 2007 16:21:31 +0000 Subject: [PATCH] Icon naming spec compliance (code changes - KDE/): * actions/user -> places/user-identity * places/contact -> mimetypes/x-office-contact * fix KMail and KNode configuration dialog page icons * and bits of other fix-up stuff. svn path=/trunk/KDE/kdegraphics/okular/; revision=753841 --- ui/annotationproxymodels.cpp | 2 +- ui/side_reviews.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/annotationproxymodels.cpp b/ui/annotationproxymodels.cpp index 9c9adc0eb..021af8914 100644 --- a/ui/annotationproxymodels.cpp +++ b/ui/annotationproxymodels.cpp @@ -438,7 +438,7 @@ QVariant AuthorGroupProxyModel::data( const QModelIndex &proxyIndex, int role ) if ( role == Qt::DisplayRole ) return item->author(); else if ( role == Qt::DecorationRole ) - return KIcon( item->author().isEmpty() ? "precense_away" : "user" ); + return KIcon( item->author().isEmpty() ? "user-away" : "user-identity" ); else return QVariant(); } else { diff --git a/ui/side_reviews.cpp b/ui/side_reviews.cpp index b3ca35503..9410d693e 100644 --- a/ui/side_reviews.cpp +++ b/ui/side_reviews.cpp @@ -119,12 +119,12 @@ Reviews::Reviews( QWidget * parent, Okular::Document * document ) toolBar->setIconSize( QSize( 16, 16 ) ); toolBar->setMovable( false ); // - add Page button - QAction * groupByPageAction = toolBar->addAction( KIcon( "text-plain" ), i18n( "Group by Page" ) ); + QAction * groupByPageAction = toolBar->addAction( KIcon( "text-x-generic" ), i18n( "Group by Page" ) ); groupByPageAction->setCheckable( true ); connect( groupByPageAction, SIGNAL( toggled( bool ) ), this, SLOT( slotPageEnabled( bool ) ) ); groupByPageAction->setChecked( Okular::Settings::groupByPage() ); // - add Author button - QAction * groupByAuthorAction = toolBar->addAction( KIcon( "user" ), i18n( "Group by Author" ) ); + QAction * groupByAuthorAction = toolBar->addAction( KIcon( "user-identity" ), i18n( "Group by Author" ) ); groupByAuthorAction->setCheckable( true ); connect( groupByAuthorAction, SIGNAL( toggled( bool ) ), this, SLOT( slotAuthorEnabled( bool ) ) ); groupByAuthorAction->setChecked( Okular::Settings::groupByAuthor() );