From c83179688cf0aa148610cfc4e32ae6d83d8904b8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Oct 2014 00:16:42 -0500 Subject: [PATCH] Bring up, down, top, and bottom icons into XDG compliance --- buildtools/autotools/fileselectorwidget.cpp | 2 +- parts/fileselector/tdeactionselector.cpp | 4 ++-- src/partcontroller.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/buildtools/autotools/fileselectorwidget.cpp b/buildtools/autotools/fileselectorwidget.cpp index c10db050..5cc066c6 100644 --- a/buildtools/autotools/fileselectorwidget.cpp +++ b/buildtools/autotools/fileselectorwidget.cpp @@ -83,7 +83,7 @@ FileSelectorWidget::FileSelectorWidget(AutoProjectPart* part, KFile::Mode mode, home->setPixmap(SmallIcon("gohome")); TQToolTip::add(home, i18n("Home directory")); up = new TQPushButton( /*i18n("&Up"),*/ hlow ); - up->setPixmap(SmallIcon("up")); + up->setPixmap(SmallIcon("go-up")); TQToolTip::add(up, i18n("Up one level")); back = new TQPushButton( /*i18n("&Back"),*/ hlow ); back->setPixmap(SmallIcon("back")); diff --git a/parts/fileselector/tdeactionselector.cpp b/parts/fileselector/tdeactionselector.cpp index f6fd628d..1c639477 100644 --- a/parts/fileselector/tdeactionselector.cpp +++ b/parts/fileselector/tdeactionselector.cpp @@ -55,8 +55,8 @@ TDEActionSelector::TDEActionSelector( TQWidget *parent, const char *name ) d->iconSize = SmallIcon; d->addIcon = TQApplication::reverseLayout() ? "back" : "forward"; d->removeIcon = TQApplication::reverseLayout() ? "forward" : "back"; - d->upIcon = "up"; - d->downIcon = "down"; + d->upIcon = "go-up"; + d->downIcon = "go-down"; d->availableInsertionPolicy = Sorted; d->selectedInsertionPolicy = BelowCurrent; d->showUpDownButtons = true; diff --git a/src/partcontroller.cpp b/src/partcontroller.cpp index 21b78a8c..33e50afd 100644 --- a/src/partcontroller.cpp +++ b/src/partcontroller.cpp @@ -175,7 +175,7 @@ void PartController::setupActions() connect(m_forwardAction->popupMenu(), TQT_SIGNAL(aboutToShow()), this, TQT_SLOT(slotForwardAboutToShow())); connect(m_forwardAction->popupMenu(), TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotForwardPopupActivated(int))); - m_gotoLastEditPosAction = new TDEAction( i18n("Goto Last Edit Position"), "bottom", 0, this, TQT_SLOT(gotoLastEditPos()), ac, "goto_last_edit_pos" ); + m_gotoLastEditPosAction = new TDEAction( i18n("Goto Last Edit Position"), "go-bottom", 0, this, TQT_SLOT(gotoLastEditPos()), ac, "goto_last_edit_pos" ); m_gotoLastEditPosAction->setEnabled( false ); m_gotoLastEditPosAction->setToolTip( i18n("Goto Last Edit Position") ); m_gotoLastEditPosAction->setWhatsThis( i18n("Goto Last Edit Position

Open the last edited file and position cursor at the point of edit") );