From: Renato Atilio Date: Tue, 29 Apr 2014 19:54:33 +0000 (+0200) Subject: Change the icon text for Previous and Next toolbar buttons X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/5780fab172e02c3dd44082aa10d37cd87a98e29b Change the icon text for Previous and Next toolbar buttons In addition to the current long text for previous and next toolbar buttons ("Activate Previous/Next Tab"), this commit adds shorter icon texts for them to be used only on the toolbar ("Previous/Next Tab"). BUG: 332629 REVIEW: 117794 FIXED-IN: 4.14.0 --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 28169cfb5..e6b911209 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1637,12 +1637,14 @@ void DolphinMainWindow::setupActions() prevTabKeys.append(QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_Tab)); KAction* activateNextTab = actionCollection()->addAction("activate_next_tab"); + activateNextTab->setIconText(i18nc("@action:inmenu", "Next Tab")); activateNextTab->setText(i18nc("@action:inmenu", "Activate Next Tab")); activateNextTab->setEnabled(false); connect(activateNextTab, SIGNAL(triggered()), SLOT(activateNextTab())); activateNextTab->setShortcuts(QApplication::isRightToLeft() ? prevTabKeys : nextTabKeys); KAction* activatePrevTab = actionCollection()->addAction("activate_prev_tab"); + activatePrevTab->setIconText(i18nc("@action:inmenu", "Previous Tab")); activatePrevTab->setText(i18nc("@action:inmenu", "Activate Previous Tab")); activatePrevTab->setEnabled(false); connect(activatePrevTab, SIGNAL(triggered()), SLOT(activatePrevTab()));