summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Feber <[email protected]>2019-01-14 16:58:00 +0100
committerBjörn Feber <[email protected]>2019-01-14 18:11:26 +0100
commit2015bad98e64a734e3453c3867288d2446d60ef6 (patch)
tree2acb06be3ab30b997f26d79541ae7c94a03b1f64
parente7ec5388cc08e4e614f1596afd31a5bf562a6df0 (diff)
Improve Desktop/Plasma Theme KCM
Summary: Similar to D18206. The Desktop/Plasma Theme KCM has some inconsistencies and doesn't always apply the KDE HIG, so this fixes it, makes some other improvements and renames the KCM to "Plasma Theme". Test Plan: Open the Desktop/Plasma Theme KCM Reviewers: #plasma, #vdg, ngraham Reviewed By: #vdg, ngraham Subscribers: ngraham, davidedmundson, #vdg, plasma-devel, #plasma Tags: #plasma Differential Revision: https://phabricator.kde.org/D18247
-rw-r--r--kcms/desktoptheme/kcm.cpp2
-rw-r--r--kcms/desktoptheme/kcm_desktoptheme.desktop6
-rw-r--r--kcms/desktoptheme/package/contents/ui/main.qml4
-rw-r--r--kcms/desktoptheme/package/metadata.desktop4
4 files changed, 8 insertions, 8 deletions
diff --git a/kcms/desktoptheme/kcm.cpp b/kcms/desktoptheme/kcm.cpp
index ec6a92a..b4a5379 100644
--- a/kcms/desktoptheme/kcm.cpp
+++ b/kcms/desktoptheme/kcm.cpp
@@ -54,7 +54,7 @@ KCMDesktopTheme::KCMDesktopTheme(QObject *parent, const QVariantList &args)
qApp->setAttribute(Qt::AA_DontCreateNativeWidgetSiblings);
qmlRegisterType<QStandardItemModel>();
- KAboutData* about = new KAboutData(QStringLiteral("kcm_desktoptheme"), i18n("Configure Desktop Theme"),
+ KAboutData* about = new KAboutData(QStringLiteral("kcm_desktoptheme"), i18n("Choose the Plasma theme"),
QStringLiteral("0.1"), QString(), KAboutLicense::LGPL);
about->addAuthor(i18n("David Rosca"), QString(), QStringLiteral("[email protected]"));
setAboutData(about);
diff --git a/kcms/desktoptheme/kcm_desktoptheme.desktop b/kcms/desktoptheme/kcm_desktoptheme.desktop
index bf5e224..30f314b 100644
--- a/kcms/desktoptheme/kcm_desktoptheme.desktop
+++ b/kcms/desktoptheme/kcm_desktoptheme.desktop
@@ -1,5 +1,5 @@
[Desktop Entry]
-Icon=preferences-desktop
+Icon=preferences-desktop-plasma
Exec=kcmshell5 kcm_desktoptheme
Type=Service
@@ -10,7 +10,7 @@ X-KDE-System-Settings-Parent-Category=workspacetheme
X-KDE-Weight=40
X-DocPath=kcontrol/desktopthemedetails/index.html
-Name=Desktop Theme
+Name=Plasma Theme
Name[ar]=سمة سطح المكتب
Name[bg]=Тема за работния плот
Name[bn]=ডেস্কটপ থীম
@@ -74,7 +74,7 @@ Name[wa]=Tinme do scribanne
Name[x-test]=xxDesktop Themexx
Name[zh_CN]=Desktop Theme,桌面主题
Name[zh_TW]=桌面主題
-Comment=Desktop Theme
+Comment=Choose the Plasma theme
Comment[ar]=سمة سطح المكتب
Comment[bs]=Tema radne površine
Comment[ca]=Tema d'escriptori
diff --git a/kcms/desktoptheme/package/contents/ui/main.qml b/kcms/desktoptheme/package/contents/ui/main.qml
index 953cace..f3058f4 100644
--- a/kcms/desktoptheme/package/contents/ui/main.qml
+++ b/kcms/desktoptheme/package/contents/ui/main.qml
@@ -27,7 +27,7 @@ import org.kde.kconfig 1.0 // for KAuthorized
import org.kde.kcm 1.1 as KCM
KCM.GridViewKCM {
- KCM.ConfigModule.quickHelp: i18n("This module lets you configure the desktop theme.")
+ KCM.ConfigModule.quickHelp: i18n("This module lets you choose the Plasma theme.")
view.model: kcm.desktopThemeModel
view.currentIndex: kcm.selectedPluginIndex
@@ -136,7 +136,7 @@ KCM.GridViewKCM {
}
QtControls.Button {
- text: i18n("Get New Desktop Themes...")
+ text: i18n("Get New Plasma Themes...")
icon.name: "get-hot-new-stuff"
onClicked: kcm.getNewStuff(this)
visible: KAuthorized.authorize("ghns")
diff --git a/kcms/desktoptheme/package/metadata.desktop b/kcms/desktoptheme/package/metadata.desktop
index 07ee98d..0df3302 100644
--- a/kcms/desktoptheme/package/metadata.desktop
+++ b/kcms/desktoptheme/package/metadata.desktop
@@ -1,5 +1,5 @@
[Desktop Entry]
-Name=Desktop Theme
+Name=Plasma Theme
Name[ar]=سمة سطح المكتب
Name[bg]=Тема за работния плот
Name[bn]=ডেস্কটপ থীম
@@ -63,7 +63,7 @@ Name[wa]=Tinme do scribanne
Name[x-test]=xxDesktop Themexx
Name[zh_CN]=Desktop Theme,桌面主题
Name[zh_TW]=桌面主題
-Comment=Desktop Theme
+Comment=Choose the Plasma theme
Comment[ar]=سمة سطح المكتب
Comment[bs]=Tema radne površine
Comment[ca]=Tema d'escriptori