summaryrefslogtreecommitdiffstats
path: root/kde4-profiles/Default
diff options
context:
space:
mode:
Diffstat (limited to 'kde4-profiles/Default')
-rw-r--r--kde4-profiles/Default/share/apps/plasma/layout-templates/org.mageia.plasma-desktop.defaultPanel/contents/layout.js14
1 files changed, 10 insertions, 4 deletions
diff --git a/kde4-profiles/Default/share/apps/plasma/layout-templates/org.mageia.plasma-desktop.defaultPanel/contents/layout.js b/kde4-profiles/Default/share/apps/plasma/layout-templates/org.mageia.plasma-desktop.defaultPanel/contents/layout.js
index 91d7426..243c2e2 100644
--- a/kde4-profiles/Default/share/apps/plasma/layout-templates/org.mageia.plasma-desktop.defaultPanel/contents/layout.js
+++ b/kde4-profiles/Default/share/apps/plasma/layout-templates/org.mageia.plasma-desktop.defaultPanel/contents/layout.js
@@ -79,8 +79,14 @@ for (var i in panelIds) {
}
}
-w_systray.currentConfigGroup = new Array('Applets', biggestId+1);
-w_systray.writeConfig('plugin', 'org.kde.telepathy-presence');
-w_systray.currentConfigGroup = new Array();
-w_systray.reloadConfig();
+for (var availableWidget in knownWidgetTypes) {
+ if (knownWidgetTypes[availableWidget] === "ktp_presence") {
+ w_systray.currentConfigGroup = new Array('Applets', biggestId+1);
+ w_systray.writeConfig('plugin', 'ktp_presence');
+ w_systray.currentConfigGroup = new Array();
+ w_systray.reloadConfig();
+ break;
+ }
+}
+
sleep(10);