Remove "NeoChat" menu item in global menu
BUG: 504429
This commit is contained in:
committed by
Tobias Fella
parent
4d3791250b
commit
6082bc89b0
@@ -17,23 +17,6 @@ Labs.MenuBar {
|
|||||||
|
|
||||||
required property NeoChatConnection connection
|
required property NeoChatConnection connection
|
||||||
|
|
||||||
Labs.Menu {
|
|
||||||
title: i18nc("menu", "NeoChat")
|
|
||||||
|
|
||||||
Labs.MenuItem {
|
|
||||||
enabled: pageStack.layers.currentItem.title !== i18n("Configure NeoChat…")
|
|
||||||
text: i18nc("menu", "Configure NeoChat…")
|
|
||||||
|
|
||||||
shortcut: StandardKey.Preferences
|
|
||||||
onTriggered: NeoChatSettingsView.open()
|
|
||||||
}
|
|
||||||
Labs.MenuItem {
|
|
||||||
text: i18nc("menu", "Quit NeoChat")
|
|
||||||
|
|
||||||
shortcut: StandardKey.Quit
|
|
||||||
onTriggered: Qt.quit()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Labs.Menu {
|
Labs.Menu {
|
||||||
title: i18nc("menu", "File")
|
title: i18nc("menu", "File")
|
||||||
|
|
||||||
@@ -74,6 +57,19 @@ Labs.MenuBar {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Labs.MenuItem {
|
||||||
|
enabled: pageStack.layers.currentItem.title !== i18n("Configure NeoChat…")
|
||||||
|
text: i18nc("menu", "Configure NeoChat…")
|
||||||
|
|
||||||
|
shortcut: StandardKey.Preferences
|
||||||
|
onTriggered: NeoChatSettingsView.open()
|
||||||
|
}
|
||||||
|
Labs.MenuItem {
|
||||||
|
text: i18nc("menu", "Quit NeoChat")
|
||||||
|
|
||||||
|
shortcut: StandardKey.Quit
|
||||||
|
onTriggered: Qt.quit()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
EditMenu {
|
EditMenu {
|
||||||
title: i18nc("menu", "Edit")
|
title: i18nc("menu", "Edit")
|
||||||
|
|||||||
Reference in New Issue
Block a user