org.kde.plasma:force-create in Containment
so much for removing sytray-related hacks.. :/ when the widgets are locked, must be possible to add/remove widgets in the sytemtray anyways, as their creation/destruction can depend from dbus activation (or the first time you launch plasma with the new systray and it must be populated) Change-Id: I8095ebf831ae57e1306a4d623b253c2a10ef219f REVIEW:127373
This commit is contained in:
parent
42e924e7f6
commit
917b2768a8
@ -195,7 +195,7 @@ Applet *ContainmentPrivate::createApplet(const QString &name, const QVariantList
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (q->immutability() != Types::Mutable) {
|
||||
if (q->immutability() != Types::Mutable && !args.contains("org.kde.plasma:force-create")) {
|
||||
#ifndef NDEBUG
|
||||
// qCDebug(LOG_PLASMA) << "addApplet for" << name << "requested, but we're currently immutable!";
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user