cleanup applet shortcuts on startup

Authored by mvourlakos on Jan 27 2019, 2:06 PM.

Description

cleanup applet shortcuts on startup

--when Latte crashes the global shortcuts from applets
remain untouched in kglobalshortcutsrc file. That fact
based on the Latte architecture that can alter applet
ids during layout loading can break the global shortcuts
experience by creating multiple global shortcuts records
for the same applet and by disabling some shortcuts because
these shortcuts are already enabled for ghost applets of
the crashed layout. This patch fixes this by removing all
applet global shortcuts during startup. Applet global shortcuts
are already saved in the layout file based on the current
plasma architecture, that fact simplifies things a lot.

BUG: 401184

Details

Committed
mvourlakosJan 27 2019, 5:57 PM
Parents
R878:788e7ad4d905: fix project_license in appstream file
Branches
Unknown
Tags
Unknown