[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/desktop/shell
From: Marco Martin <notmart () gmail ! com>
Date: 2010-04-29 13:42:52
Message-ID: 20100429134252.7FF47AC7E4 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1120622 by mart:
exclude panels of netbook category from the list (a better way is needed )
M +3 -0 desktopcorona.cpp
--- trunk/KDE/kdebase/workspace/plasma/desktop/shell/desktopcorona.cpp \
#1120621:1120622 @@ -387,8 +387,11 @@
KPluginInfo::List panelContainmentPlugins = \
Plasma::Containment::listContainmentsOfType("panel"); QMap<QString, \
QPair<KPluginInfo, KService::Ptr> > sorted; foreach (const KPluginInfo &plugin, \
panelContainmentPlugins) { + //FIXME: a better way to filter out what is not \
wanted? + if (!plugin.property("X-Plasma-ContainmentCategories").value<QStringList>().contains("netbook")) \
{
sorted.insert(plugin.name(), qMakePair(plugin, KService::Ptr(0)));
}
+ }
const QString constraint = QString("[X-Plasma-Shell] == '%1'")
\
.arg(KGlobal::mainComponent().componentName());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic