Commit 36dd29f8 authored by Björn Feber's avatar Björn Feber

Improve the look of the GTK Application Style KCM UI

Summary:
Apply the KDE HIG, move the KCM below the Application Style KCM, update strings, fix inconsistencies and make the KCM look better.
{F6696741}

Test Plan: Open the GTK Application Style KCM.

Reviewers: #plasma, #vdg, apol, ngraham

Reviewed By: #vdg, apol, ngraham

Subscribers: ngraham, apol, #vdg, plasma-devel, #plasma

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19790
parent 1ceb512f
[Desktop Entry]
Categories=Qt;KDE;X-KDE-settings-looknfeel;
Exec=kcmshell5 kde-gtk-config
Icon=kde-gtk-config
Type=Service
X-KDE-ServiceTypes=KCModule
X-KDE-Library=kcm_kdegtkconfig
# X-KDE-ParentApp=kcontrol
X-KDE-System-Settings-Parent-Category=applicationstyle
X-KDE-Weight=20
Name=GNOME/GTK Application Style
Comment=Configure GNOME/GTK application style and behavior
Comment[ca]=Configuració de l'estil i comportament de les aplicacions GNOME/GTK
Comment[ca@valencia]=Configuració de l'estil i comportament de les aplicacions GNOME/GTK
......@@ -20,9 +31,6 @@ Comment[uk]=Налаштовування стилю і поведінки про
Comment[x-test]=xxConfigure GNOME/GTK application style and behaviorxx
Comment[zh_CN]=配置 GNOME/GTK 应用程序风格和行为
Comment[zh_TW]=設定 GNOME/GTK 應用程式的樣式與行為
Exec=kcmshell5 kde-gtk-config
Icon=kde-gtk-config
Name=GNOME/GTK Application Style
Name[ca]=Estil de les aplicacions GNOME/GTK
Name[ca@valencia]=Estil de les aplicacions GNOME/GTK
Name[de]=GNOME/GTK Anwendungs-Stil
......@@ -46,7 +54,8 @@ Name[uk]=Стиль програм GNOME/GTK
Name[x-test]=xxGNOME/GTK Application Stylexx
Name[zh_CN]=GNOME/GTK 应用程序风格
Name[zh_TW]=GNOME / GTK 應用程式樣式
X-KDE-Keywords=gnome,style,gtk
X-KDE-Keywords=gnome,gtk,style,styles,look,widget,icons,toolbars,apps,theme,menu
X-KDE-Keywords[ca]=gnome,estil,gtk
X-KDE-Keywords[ca@valencia]=gnome,estil,gtk
X-KDE-Keywords[da]=gnome,stil,gtk
......@@ -80,10 +89,5 @@ X-KDE-Keywords[uk]=gnome,style,gtk,гном,гноме,стиль,жтк,жет
X-KDE-Keywords[x-test]=xxgnomexx,xxstylexx,xxgtkxx
X-KDE-Keywords[zh_CN]=gnome,style,gtk,样式
X-KDE-Keywords[zh_TW]=gnome,style,gtk
Type=Service
X-KDE-Library=kcm_kdegtkconfig
# X-KDE-ParentApp=kcontrol
X-KDE-ServiceTypes=KCModule
X-KDE-System-Settings-Parent-Category=applicationstyle
X-KDE-Weight=80
Categories=Qt;KDE;X-KDE-settings-looknfeel;
......@@ -47,8 +47,8 @@ QMap<QString, int> gtkToolbarInit()
QMap<QString, int> gtkToolbar;
gtkToolbar["GTK_TOOLBAR_ICONS"] = 0;
gtkToolbar["GTK_TOOLBAR_TEXT"] = 1;
gtkToolbar["GTK_TOOLBAR_BOTH"] = 2;
gtkToolbar["GTK_TOOLBAR_BOTH_HORIZ"] = 3;
gtkToolbar["GTK_TOOLBAR_BOTH_HORIZ"] = 2;
gtkToolbar["GTK_TOOLBAR_BOTH"] = 3;
return gtkToolbar;
}
......@@ -62,10 +62,8 @@ GTKConfigKCModule::GTKConfigKCModule(QWidget* parent, const QVariantList& args )
, m_saveEnabled(true)
{
Q_UNUSED(args);
KAboutData *acercade = new KAboutData("cgc", i18n("KDE GTK Config"), PROJECT_VERSION,
i18n("Configure your GTK Applications"),
KAboutLicense::LGPL_V3,
i18n("Copyright 2011 José Antonio Sánchez Reynaga"));
KAboutData *acercade = new KAboutData("cgc", i18n("GTK Application Style"), PROJECT_VERSION,
QString(), KAboutLicense::LGPL_V3, i18n("Copyright 2011 José Antonio Sánchez Reynaga"));
acercade->addAuthor(i18n("José Antonio Sánchez Reynaga (antonioJASR)"),i18n("Main Developer"), "joanzare@gmail.com");
acercade->addAuthor(i18n("Aleix Pol i Gonzalez"), i18n("Feature development. Previews, code refactoring."), "aleixpol@blue-systems.com");
acercade->addCredit(i18n("Manuel Tortosa (manutortosa)"), i18n("Ideas, tester, internationalization"));
......
......@@ -174,7 +174,7 @@
</widget>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>Add New Icons Theme</string>
<string>Add New Icon Theme</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
......@@ -251,7 +251,7 @@
<bool>false</bool>
</property>
<property name="text">
<string>Install Icons</string>
<string>Install Icon Theme</string>
</property>
</widget>
</item>
......@@ -294,7 +294,7 @@
<customwidgets>
<customwidget>
<class>KUrlRequester</class>
<extends>QFrame</extends>
<extends>QWidget</extends>
<header>kurlrequester.h</header>
</customwidget>
</customwidgets>
......
This diff is collapsed.
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