gikari created this revision. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. gikari requested review of this revision.
REVISION SUMMARY Gtk configurator has been replacing .gtkrc-2.0 config file, with it's own settings, discarding present file contents. Now it only modifies configuration strings, or add them if they are not present at the beginning of the file. This patch also removes redundant configurations, such as including theme from /usr/share/themes gtkrc's, "user-font" style, widget_class and unneeded symlink .gtkrc-2.0-kde4. Those options do not seem needed, as gtk2 applications look the same without these options without any regressions. This was tested on Gimp, Inkscape and BleachBit apps on Manjaro, OpenSUSE and KDE Neon distributions. As for gtk3 ini file - this is not reproducible anymore, any line, which does not hold parameter changeable in configurator, remains in settings.ini. BUG: 322797 BUG: 354963 BUG: 342320 REPOSITORY R99 KDE Gtk Configuration Tool BRANCH master REVISION DETAIL https://phabricator.kde.org/D21524 AFFECTED FILES src/appearancegtk2.cpp src/appearancegtk2.h To: gikari Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart