[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [plasmate/terietor/tools] plasmoidviewer: add ability to list themes in plasmoidviewer
From: Shaun Reich <shaun.reich () kdemail ! net>
Date: 2012-08-16 18:41:51
Message-ID: 20120816184151.AE11FA6100 () git ! kde ! org
[Download RAW message or body]
Git commit 47491b1adaac79d9851b388ff103f4a14137e0aa by Shaun Reich.
Committed on 01/02/2012 at 05:06.
Pushed by tsiapaliwkas into branch 'terietor/tools'.
add ability to list themes in plasmoidviewer
now there's list-containments, list-applets, list-themes,
list-wallpapers
M +7 -0 plasmoidviewer/main.cpp
http://commits.kde.org/plasmate/47491b1adaac79d9851b388ff103f4a14137e0aa
diff --git a/plasmoidviewer/main.cpp b/plasmoidviewer/main.cpp
index b262240..13e6cfa 100644
--- a/plasmoidviewer/main.cpp
+++ b/plasmoidviewer/main.cpp
@@ -135,6 +135,8 @@ int main(int argc, char **argv)
options.add("list-wallpapers", ki18n("Displays a list of known wallpapers"));
options.add("lc");
options.add("list-containments", ki18n("Displays a list of known \
containments")); + options.add("lt");
+ options.add("list-themes", ki18n("Displays a list of known themes"));
options.add("nosaveconfig", ki18n("Disables save and restore of the config \
between runs")); options.add("l");
options.add("location <name>", ki18nc("Do not translate floating, desktop, \
fullscreen, top, bottom, left nor right", "The location constraint to start the \
Containment with (floating, desktop, fullscreen, top, bottom, left, right)"), \
"floating"); @@ -174,6 +176,11 @@ int main(int argc, char **argv)
return 0;
}
+ if (args->isSet("list-themes")) {
+ listPlugins(Plasma::Theme::listThemeInfo());
+ return 0;
+ }
+
QString pluginName;
if (args->count() > 0) {
pluginName = args->arg(0);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic