Honor KActions "globalShortcutAllowed" and "shortcutConfigurable".

Authored by Michael Jansen <kde@michael-jansen.biz> on Feb 28 2008, 12:40 AM.

Description

Honor KActions "globalShortcutAllowed" and "shortcutConfigurable".

If the shortcut is advertised as not configurable by the developer, do not allow editing at all.
If the shortcut is not advertised as globalShortcutAllowed by the developer, do not allow setting of a global shortcut.

That breaks a lot of global shortcuts. They are opt in. I will fix them.

And it told me that Kate advertises it's "About Editor Component" as a global shortcut. Thanks for the testcase. But where is the sense in that?

svn path=/trunk/KDE/kdelibs/; revision=780104

Details

Committed
Michael Jansen <kde@michael-jansen.biz>Feb 28 2008, 12:40 AM
Parents
R446:79c107977837: Fix importing of Firefox bookmarks. Does the minimal changes. The importing…
Branches
Unknown
Tags
Unknown
Michael Jansen <kde@michael-jansen.biz> committed R446:ee0e506675d4: Honor KActions "globalShortcutAllowed" and "shortcutConfigurable". (authored by Michael Jansen <kde@michael-jansen.biz>).Feb 28 2008, 12:40 AM