[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/plasma/tools/plasmapkg
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2010-04-27 23:30:40
Message-ID: 20100427233040.C0F41AC8A5 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1119913 by aseigo:
layout template support
M +5 -1 main.cpp
--- trunk/KDE/kdebase/runtime/plasma/tools/plasmapkg/main.cpp #1119912:1119913
@@ -91,7 +91,7 @@
ki18nc("theme, wallpaper, etc. are keywords, but they may be \
translated, as both versions " "are recognized by the application "
"(if translated, should be same as messages with 'package \
type' context below)",
- "The type of package, e.g. theme, wallpaper, plasmoid, \
dataengine, runner, etc."), + "The type of package, e.g. theme, \
wallpaper, plasmoid, dataengine, runner, layout-template, etc."), "plasmoid");
options.add("s");
options.add("i");
@@ -177,6 +177,10 @@
packageRoot = "plasma/wallpapers/";
servicePrefix = "plasma-wallpaper-";
pluginTypes << "Wallpaper";
+ } else if (type == i18nc("package type", "layout-template") || type == \
"layout-template") { + packageRoot = "plasma/layout-templates/";
+ servicePrefix = "plasma-layout-";
+ pluginTypes << "LayoutTemplate";
} else {
QString constraint = QString("'%1' == \
[X-KDE-PluginInfo-Name]").arg(packageRoot);
KService::List offers = \
KServiceTypeTrader::self()->query("Plasma/PackageStructure", constraint);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic