From 0b351075052427d2199c6139423c5bd7b1413755 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Sun, 4 Nov 2007 17:03:47 +0000 Subject: [PATCH] fix icons svn path=/trunk/KDE/kdegraphics/okular/; revision=732755 --- ui/annotationmodel.cpp | 2 +- ui/annotationproxymodels.cpp | 2 +- ui/side_reviews.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/annotationmodel.cpp b/ui/annotationmodel.cpp index 6de2e5403..3a5f68f92 100644 --- a/ui/annotationmodel.cpp +++ b/ui/annotationmodel.cpp @@ -295,7 +295,7 @@ QVariant AnnotationModel::data( const QModelIndex &index, int role ) const if ( role == Qt::DisplayRole ) return i18n( "Page %1", item->page + 1 ); else if ( role == Qt::DecorationRole ) - return KIcon( "txt" ); + return KIcon( "text-plain" ); else if ( role == PageRole ) return item->page; diff --git a/ui/annotationproxymodels.cpp b/ui/annotationproxymodels.cpp index f2c08fe08..9c9adc0eb 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" : "personal" ); + return KIcon( item->author().isEmpty() ? "precense_away" : "user" ); else return QVariant(); } else { diff --git a/ui/side_reviews.cpp b/ui/side_reviews.cpp index 680bee34b..50b4517e6 100644 --- a/ui/side_reviews.cpp +++ b/ui/side_reviews.cpp @@ -119,7 +119,7 @@ Reviews::Reviews( QWidget * parent, Okular::Document * document ) toolBar->setIconSize( QSize( 16, 16 ) ); toolBar->setMovable( false ); // - add Page button - QAction * groupByPageAction = toolBar->addAction( KIcon( "txt" ), i18n( "Group by Page" ) ); + QAction * groupByPageAction = toolBar->addAction( KIcon( "text-plain" ), i18n( "Group by Page" ) ); groupByPageAction->setCheckable( true ); connect( groupByPageAction, SIGNAL( toggled( bool ) ), this, SLOT( slotPageEnabled( bool ) ) ); groupByPageAction->setChecked( Okular::Settings::groupByPage() );