Commit f7f04491 authored by Rohan Garg's avatar Rohan Garg
Browse files

Minor fixup to take into account the old 'simplelauncher' in the panel

REVIEWED-BY: Marco Martin
parent 9bd47330
......@@ -34,6 +34,11 @@ if (!findWidgets('org.kde.showActivityManager')) {
var found = false
for (i in panels) {
found = findWidgetsIn(panels[i], 'launcher')
// Also check for the old style simplelauncher
if (!found) {
found = findWidgetsIn(panels[i], 'simplelauncher')
}
if (found) {
var showWidget = panels[i].addWidget("org.kde.showActivityManager")
showWidget.index = found.index + 1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment