heuristically find the color scheme
ClosedPublic

Authored by mart on Jan 10 2017, 12:44 PM.

Details

Summary

why this loop trough all the scheme files?
the scheme theme name is an heuristic, there is no plugin metadata whatsoever.
is based on the file name stripped from weird characters or the
eventual id- prefix store.kde.org puts, so we can just find a
theme that ends as the specified name

Test Plan

now themes downloaded from store.kde.org are correctly applied
such as "Kshell" use case

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mart updated this revision to Diff 9971.Jan 10 2017, 12:44 PM
mart retitled this revision from to heuristically find the color scheme.
mart updated this object.
mart edited the test plan for this revision. (Show Details)
mart added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptJan 10 2017, 12:44 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Jan 10 2017, 12:49 PM
davidedmundson added a reviewer: davidedmundson.
This revision is now accepted and ready to land.Jan 10 2017, 12:49 PM
This revision was automatically updated to reflect the committed changes.