<table><tr><td style="">gikari created this revision.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />gikari requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D26375">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>If the above variable is set and it does not contain multiple paths,<br />
write GTK2 config into the designated config file, instead of the<br />
default one.</p>
<p>BUG: 415770<br />
FIXED-IN: 5.18.0</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Check if the custom file provided by env variable is modified, when changing any settings, that are synchronized by kded module (icon theme, cursor theme etc)<br />
Simple test:</p>
<ol class="remarkup-list">
<li class="remarkup-list-item"><tt style="background: #ebebeb; font-size: 13px;">mv ~/.gtkrc-2.0 ~/.gtkrc-2.0.bak</tt></li>
<li class="remarkup-list-item"><tt style="background: #ebebeb; font-size: 13px;">export GTK2_RC_FILES=~/.gtkrc-2.0.bak</tt></li>
<li class="remarkup-list-item">Restart kded5 with the above env variable</li>
<li class="remarkup-list-item">Change e.g. icon theme and see, that <tt style="background: #ebebeb; font-size: 13px;">.gtkrc-2.0.bak</tt> is modified, but <tt style="background: #ebebeb; font-size: 13px;">.gtkrc-2.0</tt></li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R99 KDE Gtk Configuration Tool</div></div></div><br /><div><strong>BRANCH</strong><div><div>show-some-respect-to-gtk2-env-variable (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26375">https://phabricator.kde.org/D26375</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kded/configeditor.cpp</div></div></div><br /><div><strong>To: </strong>gikari<br /><strong>Cc: </strong>plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>