]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Change the icon text for Previous and Next toolbar buttons
authorRenato Atilio <renatoat@gmail.com>
Tue, 29 Apr 2014 19:54:33 +0000 (21:54 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Tue, 29 Apr 2014 19:54:33 +0000 (21:54 +0200)
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

src/dolphinmainwindow.cpp

index 28169cfb595a64bbe1dcd9630dac49447f95120c..e6b9112091f466004453c28d20fd5318afeba685 100644 (file)
@@ -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()));