remove actions related to focus; that belongs in script engine
This commit is contained in:
parent
6122c2d2d1
commit
f2f96c507e
@ -129,16 +129,6 @@ void Containment::init()
|
||||
connect(appletBrowserAction, SIGNAL(triggered()), this, SLOT(triggerShowAddWidgets()));
|
||||
}
|
||||
|
||||
QAction *act = action("next applet");
|
||||
if (act) {
|
||||
connect(act, SIGNAL(triggered()), this, SLOT(focusNextApplet()));
|
||||
}
|
||||
|
||||
act = action("previous applet");
|
||||
if (act) {
|
||||
connect(act, SIGNAL(triggered()), this, SLOT(focusPreviousApplet()));
|
||||
}
|
||||
|
||||
if (immutability() != SystemImmutable && corona()) {
|
||||
QAction *lockDesktopAction = corona()->action("lock widgets");
|
||||
//keep a pointer so nobody notices it moved to corona
|
||||
|
@ -69,18 +69,6 @@ void ContainmentPrivate::addDefaultActions(KActionCollection *actions, Containme
|
||||
appletBrowserAction->setIcon(KDE::icon("list-add"));
|
||||
appletBrowserAction->setShortcut(KShortcut("alt+d, a"));
|
||||
appletBrowserAction->setData(Plasma::AddAction);
|
||||
|
||||
KAction *action = actions->addAction("next applet");
|
||||
action->setText(i18n("Next Widget"));
|
||||
//no icon
|
||||
action->setShortcut(KShortcut("alt+d, n"));
|
||||
action->setData(Plasma::ControlAction);
|
||||
|
||||
action = actions->addAction("previous applet");
|
||||
action->setText(i18n("Previous Widget"));
|
||||
//no icon
|
||||
action->setShortcut(KShortcut("alt+d, p"));
|
||||
action->setData(Plasma::ControlAction);
|
||||
}
|
||||
|
||||
void ContainmentPrivate::setScreen(int newScreen)
|
||||
|
Loading…
Reference in New Issue
Block a user