Also list GTK 3 themes without "gtk-3.0" subfolder
ClosedPublic

Authored by fvogt on Dec 21 2017, 2:50 PM.

Details

Summary

It is valid to have themes without support for gtk3 < 3.14.

Test Plan

Ran kcmshell5 kde-gtk-config with breeze-gtk from git installed. Now it appears.

Diff Detail

Repository
R99 KDE Gtk Configuration Tool
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
fvogt created this revision.Dec 21 2017, 2:50 PM
Restricted Application added a project: Plasma. · View Herald TranscriptDec 21 2017, 2:50 PM
fvogt requested review of this revision.Dec 21 2017, 2:50 PM
apol added a comment.Dec 21 2017, 3:38 PM

Looks good, some nitpicking.

src/appearancegtk3.cpp
46

constBegin/constEnd

49

The name filters can be the first argument here

fvogt added inline comments.Dec 21 2017, 3:52 PM
src/appearancegtk3.cpp
46

I did not touch that, should I still change it?

49

Indeed, adjusting.

fvogt updated this revision to Diff 24247.Dec 21 2017, 3:55 PM

Use const{Begin,End} and a entryList overload.

fvogt updated this revision to Diff 24248.Dec 21 2017, 3:55 PM

arc picked two commits at once...

apol accepted this revision.Dec 21 2017, 3:55 PM
This revision is now accepted and ready to land.Dec 21 2017, 3:55 PM
This revision was automatically updated to reflect the committed changes.