fix #522,expose copy dock through menu

pull/1/head
Michail Vourlakos 8 years ago
parent 5eb63a3cbc
commit 5fc4f9a8ae

@ -294,7 +294,7 @@ PlasmaCore.FrameSvgItem {
tooltip: i18n("Add a new dock")
onClicked: dock.copyDock() //dock.addNewDock()
onClicked: dock.addNewDock()
Component.onCompleted: {
enabled = dock.freeEdges().length > 0
@ -320,9 +320,9 @@ PlasmaCore.FrameSvgItem {
PlasmaComponents.Menu {
id: menu
PlasmaComponents.MenuItem {
text: i18n("Add and copy the current launchers")
text: i18n("Copy current dock")
onClicked: {
dock.copyDock();
}
}
}

@ -134,6 +134,7 @@ PlasmaComponents.Page {
Layout.leftMargin: units.smallSpacing * 2
text: i18n("Sync launchers between all docks")
checked: globalSettings.syncLaunchers
tooltip: i18n("When this option is acticated, it copies the current dock launchers\nand makes them global launchers for all docks")
onClicked: {
dockConfig.setSyncLaunchers(checked);

Loading…
Cancel
Save