Commit 1cda2516 authored by Marco Martin's avatar Marco Martin
Browse files

Reorganize appearance kcms under Global Theme kcm

parent f1393bc8
......@@ -7,7 +7,7 @@ X-DocPath=kcontrol/fonts/index.html
X-KDE-Library=kcm_fonts
X-KDE-ParentApp=kcontrol
X-KDE-System-Settings-Parent-Category=font
X-KDE-System-Settings-Parent-Category=appearance
X-KDE-Weight=50
Name=Fonts
......
......@@ -8,7 +8,7 @@ X-KDE-Library=kcm_fontinst
X-KDE-ParentApp=kcontrol
X-KDE-OnlyShowOnQtPlatforms=xcb;
Categories=Qt;KDE;X-KDE-settings-system;
X-KDE-System-Settings-Parent-Category=font
X-KDE-System-Settings-Parent-Category=appearance
Name=Font Management
Name[ast]=Xestión de fontes
......
......@@ -43,6 +43,7 @@ Name[uk]=Загальна тема
Name[vi]=Chủ đề toàn cục
Name[x-test]=xxGlobal Themexx
Name[zh_CN]=全局主题
Comment=Choose global look and feel
Comment[az]=Qlobal Plasma Görünüşünü seçin
Comment[ca]=Trieu l'aspecte i comportament global
......
......@@ -88,6 +88,36 @@ KCM.GridViewKCM {
Item {
Layout.fillWidth: true
}
QtControls.Button {
icon.name: "configure"
text: i18n("Customize...")
onClicked: customizeButton.open()
QtControls.Menu {
id: customizeButton
x: 0
y: -height
QtControls.MenuItem {
icon.name: "preferences-desktop-color"
text: i18n("Colors")
onClicked: kcm.pushModule("kcm_colors")
}
QtControls.MenuItem {
icon.name: "preferences-desktop-icons"
text: i18n("Icons")
onClicked: kcm.pushModule("kcm_icons")
}
QtControls.MenuItem {
icon.name: "preferences-desktop-font"
text: i18n("Fonts")
onClicked: kcm.pushModule("kcm_fonts")
}
QtControls.MenuItem {
icon.name: "preferences-desktop-cursors"
text: i18n("Cursors")
onClicked: kcm.pushModule("kcm_cursortheme")
}
}
}
NewStuff.Button {
text: i18n("Get New Global Themes...")
configFile: "lookandfeel.knsrc"
......
......@@ -9,7 +9,7 @@ X-KDE-Init-Symbol=kcminit_style
X-KDE-Init-Phase=0
X-KDE-ParentApp=kcontrol
X-KDE-System-Settings-Parent-Category=applicationstyle
X-KDE-System-Settings-Parent-Category=appearance
X-KDE-Weight=0
Name=Application Style
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment