Commit 20c1ca65 authored by Nicolas Fella's avatar Nicolas Fella Committed by Albert Astals Cid

Make AboutPages HIG compliant

parent bbef407c
...@@ -134,11 +134,12 @@ Kirigami.GlobalDrawer { ...@@ -134,11 +134,12 @@ Kirigami.GlobalDrawer {
} }
ActionListItem { ActionListItem {
action: Kirigami.Action { action: Kirigami.Action {
text: i18n("About") text: i18n("About Artikulate")
iconName: "help-about" iconName: "help-about"
onTriggered: { onTriggered: {
root.pageStack.pop(); if (root.pageStack.layers.depth < 2) {
root.pageStack.push(aboutPageComponent); root.pageStack.layers.push(aboutPageComponent)
}
} }
} }
} }
......
...@@ -144,11 +144,12 @@ Kirigami.GlobalDrawer { ...@@ -144,11 +144,12 @@ Kirigami.GlobalDrawer {
// } // }
ActionListItem { ActionListItem {
action: Kirigami.Action { action: Kirigami.Action {
text: i18n("About") text: i18n("About Artikulate Editor")
iconName: "help-about" iconName: "help-about"
onTriggered: { onTriggered: {
root.pageStack.pop(); if (root.pageStack.layers.depth < 2) {
root.pageStack.push(aboutPageComponent); root.pageStack.layers.push(aboutPageComponent)
}
} }
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment