Commit ba3c4d49 authored by Nate Graham's avatar Nate Graham
Browse files

[applets/devicenotifier] Open Automount KCM with configure button

This applet no longer has a config window with any non-autogenerated
content in it, so it doesn't make sense for the configure button to open
that window rather than the Automount KCM. This is what most other
applets do nowadays; the Disks & Devices applet should be consistent.
parent bc0e0934
......@@ -263,11 +263,12 @@ Item {
plasmoid.setActionSeparator("sep2");
if (devicenotifier.openAutomounterKcmAuthorized) {
plasmoid.setAction("openAutomounterKcm", i18nc("Open auto mounter kcm", "Configure Removable Devices..."), "configure")
plasmoid.removeAction("configure");
plasmoid.setAction("configure", i18nc("Open auto mounter kcm", "Configure Removable Devices..."), "configure")
}
}
function action_openAutomounterKcm() {
function action_configure() {
KCMShell.openSystemSettings("device_automounter_kcm")
}
......
Supports Markdown
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