mirror of
https://github.com/KDE/konsole.git
synced 2025-12-23 23:38:08 -05:00
Change 'Rename Tab' to 'Temporary Tab Settings'
With the addition of color tabs, this dialog does more than just rename the tab title formats. GUI:
This commit is contained in:
@@ -35,7 +35,7 @@ RenameTabDialog::RenameTabDialog(QWidget *parent) :
|
||||
QDialog(parent),
|
||||
_ui(nullptr)
|
||||
{
|
||||
setWindowTitle(i18n("Rename Tab"));
|
||||
setWindowTitle(i18n("Temporary Tab Settings"));
|
||||
auto buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok|QDialogButtonBox::Cancel);
|
||||
auto mainWidget = new QWidget(this);
|
||||
auto mainLayout = new QVBoxLayout;
|
||||
|
||||
@@ -716,7 +716,7 @@ void SessionController::setupExtraActions()
|
||||
|
||||
// Rename Session
|
||||
QAction* action = collection->addAction(QStringLiteral("rename-session"), this, SLOT(renameSession()));
|
||||
action->setText(i18n("&Rename Tab..."));
|
||||
action->setText(i18n("&Temporary Tab Settings"));
|
||||
action->setIcon(QIcon::fromTheme(QStringLiteral("edit-rename")));
|
||||
collection->setDefaultShortcut(action, Konsole::ACCEL + Qt::ALT + Qt::Key_S);
|
||||
|
||||
|
||||
@@ -119,7 +119,7 @@ TabbedViewContainer::TabbedViewContainer(ViewManager *connectedViewManager, QWid
|
||||
|
||||
auto editAction = _contextPopupMenu->addAction(
|
||||
QIcon::fromTheme(QStringLiteral("edit-rename")),
|
||||
i18nc("@action:inmenu", "&Rename Tab..."), this,
|
||||
i18nc("@action:inmenu", "&Temporary Tab Settings"), this,
|
||||
[this]{ renameTab(_contextMenuTabIndex); }
|
||||
);
|
||||
editAction->setObjectName(QStringLiteral("edit-rename"));
|
||||
|
||||
Reference in New Issue
Block a user