Give settings window a title
Now the settings window title is "Configure ─ NeoChat" instead of "Neochat <2>".
This commit is contained in:
committed by
Carl Schwan
parent
fc9e4fc961
commit
6ac6234886
@@ -28,7 +28,9 @@ Labs.MenuBar {
|
|||||||
text: i18nc("menu", "Configure NeoChat...")
|
text: i18nc("menu", "Configure NeoChat...")
|
||||||
|
|
||||||
shortcut: StandardKey.Preferences
|
shortcut: StandardKey.Preferences
|
||||||
onTriggered: pageStack.pushDialogLayer("qrc:/imports/NeoChat/Settings/SettingsPage.qml")
|
onTriggered: pageStack.pushDialogLayer("qrc:/imports/NeoChat/Settings/SettingsPage.qml", {}, {
|
||||||
|
title: i18n("Configure")
|
||||||
|
})
|
||||||
}
|
}
|
||||||
Labs.MenuItem {
|
Labs.MenuItem {
|
||||||
text: i18nc("menu", "Quit NeoChat")
|
text: i18nc("menu", "Quit NeoChat")
|
||||||
|
|||||||
@@ -253,7 +253,9 @@ Kirigami.ApplicationWindow {
|
|||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
text: i18n("Configure NeoChat...")
|
text: i18n("Configure NeoChat...")
|
||||||
icon.name: "settings-configure"
|
icon.name: "settings-configure"
|
||||||
onTriggered: pageStack.pushDialogLayer("qrc:/imports/NeoChat/Settings/SettingsPage.qml")
|
onTriggered: pageStack.pushDialogLayer("qrc:/imports/NeoChat/Settings/SettingsPage.qml", {}, {
|
||||||
|
title: i18n("Configure")
|
||||||
|
})
|
||||||
enabled: pageStack.layers.currentItem.title !== i18n("Configure NeoChat...")
|
enabled: pageStack.layers.currentItem.title !== i18n("Configure NeoChat...")
|
||||||
shortcut: StandardKey.Preferences
|
shortcut: StandardKey.Preferences
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user