D26375: Respect GTK2_RC_FILES environmental variable

Mikhail Zolotukhin noreply at phabricator.kde.org
Thu Jan 2 20:04:56 GMT 2020


gikari created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
gikari requested review of this revision.

REVISION SUMMARY
  If the above variable is set and it does not contain multiple paths,
  write GTK2 config into the designated config file, instead of the
  default one.
  
  BUG: 415770
  FIXED-IN: 5.18.0

TEST PLAN
  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)
  Simple test:
  
  1. `mv ~/.gtkrc-2.0 ~/.gtkrc-2.0.bak`
  2. `export GTK2_RC_FILES=~/.gtkrc-2.0.bak`
  3. Restart kded5 with the above env variable
  4. Change e.g. icon theme and see, that `.gtkrc-2.0.bak` is modified, but `.gtkrc-2.0`

REPOSITORY
  R99 KDE Gtk Configuration Tool

BRANCH
  show-some-respect-to-gtk2-env-variable (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D26375

AFFECTED FILES
  kded/configeditor.cpp

To: gikari
Cc: 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200102/65d604b6/attachment-0001.html>


More information about the Plasma-devel mailing list