Drop remains of "locolor" themes
It's not being set to anything anymore and people typically don't have 256 color displays these days. Differential Revision: https://phabricator.kde.org/D7516
This commit is contained in:
parent
1419135a5d
commit
b4c1c9cdfa
@ -91,39 +91,6 @@ public:
|
|||||||
package->addFileDefinition("opaque/widgets/tooltip", QStringLiteral("opaque/widgets/tooltip.svgz"),
|
package->addFileDefinition("opaque/widgets/tooltip", QStringLiteral("opaque/widgets/tooltip.svgz"),
|
||||||
i18n("Opaque background image for tooltips"));
|
i18n("Opaque background image for tooltips"));
|
||||||
|
|
||||||
package->addDirectoryDefinition("locolor/dialogs", QStringLiteral("locolor/dialogs/"),
|
|
||||||
i18n("Low color images for dialogs"));
|
|
||||||
package->addFileDefinition("locolor/dialogs/background", QStringLiteral("locolor/dialogs/background.svg"),
|
|
||||||
i18n("Low color generic dialog background"));
|
|
||||||
package->addFileDefinition("locolor/dialogs/background", QStringLiteral("locolor/dialogs/background.svgz"),
|
|
||||||
i18n("Low color generic dialog background"));
|
|
||||||
package->addFileDefinition("locolor/dialogs/shutdowndialog", QStringLiteral("locolor/dialogs/shutdowndialog.svg"),
|
|
||||||
i18n("Low color theme for the logout dialog"));
|
|
||||||
package->addFileDefinition("locolor/dialogs/shutdowndialog", QStringLiteral("locolor/dialogs/shutdowndialog.svgz"),
|
|
||||||
i18n("Low color theme for the logout dialog"));
|
|
||||||
|
|
||||||
package->addDirectoryDefinition("locolor/widgets", QStringLiteral("locolor/widgets/"), i18n("Images for widgets"));
|
|
||||||
package->addFileDefinition("locolor/widgets/background", QStringLiteral("locolor/widgets/background.svg"),
|
|
||||||
i18n("Low color background image for widgets"));
|
|
||||||
package->addFileDefinition("locolor/widgets/background", QStringLiteral("locolor/widgets/background.svgz"),
|
|
||||||
i18n("Low color background image for widgets"));
|
|
||||||
package->addFileDefinition("locolor/widgets/clock", QStringLiteral("locolor/widgets/clock.svg"),
|
|
||||||
i18n("Low color analog clock face"));
|
|
||||||
package->addFileDefinition("locolor/widgets/clock", QStringLiteral("locolor/widgets/clock.svgz"),
|
|
||||||
i18n("Low color analog clock face"));
|
|
||||||
package->addFileDefinition("locolor/widgets/panel-background", QStringLiteral("locolor/widgets/panel-background.svg"),
|
|
||||||
i18n("Low color background image for panels"));
|
|
||||||
package->addFileDefinition("locolor/widgets/panel-background", QStringLiteral("locolor/widgets/panel-background.svgz"),
|
|
||||||
i18n("Low color background image for panels"));
|
|
||||||
package->addFileDefinition("locolor/widgets/plot-background", QStringLiteral("locolor/widgets/plot-background.svg"),
|
|
||||||
i18n("Low color background for graphing widgets"));
|
|
||||||
package->addFileDefinition("locolor/widgets/plot-background", QStringLiteral("locolor/widgets/plot-background.svgz"),
|
|
||||||
i18n("Low color background for graphing widgets"));
|
|
||||||
package->addFileDefinition("locolor/widgets/tooltip", QStringLiteral("locolor/widgets/tooltip.svg"),
|
|
||||||
i18n("Low color background image for tooltips"));
|
|
||||||
package->addFileDefinition("locolor/widgets/tooltip", QStringLiteral("locolor/widgets/tooltip.svgz"),
|
|
||||||
i18n("Low color background image for tooltips"));
|
|
||||||
|
|
||||||
package->addFileDefinition("colors", QStringLiteral("colors"), i18n("KColorScheme configuration file"));
|
package->addFileDefinition("colors", QStringLiteral("colors"), i18n("KColorScheme configuration file"));
|
||||||
|
|
||||||
QStringList mimetypes;
|
QStringList mimetypes;
|
||||||
|
@ -65,7 +65,6 @@ ThemePrivate::ThemePrivate(QObject *parent)
|
|||||||
pixmapCache(0),
|
pixmapCache(0),
|
||||||
cacheSize(0),
|
cacheSize(0),
|
||||||
cachesToDiscard(NoCache),
|
cachesToDiscard(NoCache),
|
||||||
locolor(false),
|
|
||||||
compositingActive(KWindowSystem::self()->compositingActive()),
|
compositingActive(KWindowSystem::self()->compositingActive()),
|
||||||
backgroundContrastActive(KWindowEffects::isEffectAvailable(KWindowEffects::BackgroundContrast)),
|
backgroundContrastActive(KWindowEffects::isEffectAvailable(KWindowEffects::BackgroundContrast)),
|
||||||
isDefault(true),
|
isDefault(true),
|
||||||
@ -316,9 +315,7 @@ QString ThemePrivate::findInTheme(const QString &image, const QString &theme, bo
|
|||||||
}
|
}
|
||||||
|
|
||||||
QString type;
|
QString type;
|
||||||
if (locolor) {
|
if (!compositingActive) {
|
||||||
type = QStringLiteral("/locolor/");
|
|
||||||
} else if (!compositingActive) {
|
|
||||||
type = QStringLiteral("/opaque/");
|
type = QStringLiteral("/opaque/");
|
||||||
} else if (backgroundContrastActive) {
|
} else if (backgroundContrastActive) {
|
||||||
type = QStringLiteral("/translucent/");
|
type = QStringLiteral("/translucent/");
|
||||||
|
@ -144,7 +144,6 @@ public:
|
|||||||
QString themeMetadataPath;
|
QString themeMetadataPath;
|
||||||
QString iconThemeMetadataPath;
|
QString iconThemeMetadataPath;
|
||||||
|
|
||||||
bool locolor : 1;
|
|
||||||
bool compositingActive : 1;
|
bool compositingActive : 1;
|
||||||
bool backgroundContrastActive : 1;
|
bool backgroundContrastActive : 1;
|
||||||
bool isDefault : 1;
|
bool isDefault : 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user