don't add actions from the corona -> keyboard shortcuts aren't handled here anyways

This commit is contained in:
Aaron Seigo 2013-02-25 16:18:58 +01:00
parent f2f96c507e
commit 0db4b9b870

View File

@ -136,20 +136,6 @@ void Containment::init()
d->actions()->addAction("lock widgets", lockDesktopAction);
}
}
if (d->type != PanelContainment && d->type != CustomPanelContainment) {
if (corona()) {
//FIXME this is just here because of the darn keyboard shortcut :/
act = corona()->action("manage activities");
if (act) {
d->actions()->addAction("manage activities", act);
}
//a stupid hack to make this one's keyboard shortcut work
act = corona()->action("configure shortcuts");
if (act) {
d->actions()->addAction("configure shortcuts", act);
}
}
}
}
// helper function for sorting the list of applets