c8317968 | 2014-10-13 00:16:42 | Timothy Pearson |
Bring up, down, top, and bottom icons into XDG compliance |
||
M buildtools/autotools/fileselectorwidget.cpp M parts/fileselector/tdeactionselector.cpp M src/partcontroller.cpp |
||
diff --git a/buildtools/autotools/fileselectorwidget.cpp b/buildtools/autotools/fileselectorwidget.cpp index c10db05..5cc066c 100644 --- a/buildtools/autotools/fileselectorwidget.cpp +++ b/buildtools/autotools/fileselectorwidget.cpp @@ -83,7 +83,7 @@ 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 f6fd628..1c63947 100644 --- a/parts/fileselector/tdeactionselector.cpp +++ b/parts/fileselector/tdeactionselector.cpp @@ -55,8 +55,8 @@ 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 21b78a8..33e50af 100644 --- a/src/partcontroller.cpp +++ b/src/partcontroller.cpp @@ -175,7 +175,7 @@ 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("<b>Goto Last Edit Position</b><p>Open the last edited file and position cursor at the point of edit") ); |