- Only allow menu entry actions in the KMenuEdit system group.
- Create the group if a new configuration is created or a old one is loaded. svn path=/trunk/KDE/kdebase/workspace/; revision=863096
This commit is contained in:
parent
31d3681778
commit
b48c438bb0
1 changed files with 2 additions and 1 deletions
|
@ -416,7 +416,8 @@ void Workspace::clientShortcutUpdated( Client* c )
|
|||
{
|
||||
if( action == NULL ) // new shortcut
|
||||
{
|
||||
action = client_keys->addAction( key );
|
||||
action = client_keys->addAction(QString("session:clientShortcut %1").arg(key));
|
||||
action->setText(i18n("Activate Window (%1)", key)); // TODO: Add window title if possible?
|
||||
connect( action, SIGNAL(triggered(bool)), c, SLOT(shortcutActivated()));
|
||||
}
|
||||
// no autoloading, since it's configured explicitly here and is not meant to be reused
|
||||
|
|
Loading…
Reference in a new issue