Don't break compatibility with old configs

Authored by elvisangelaccio on Feb 13 2017, 10:22 AM.

Description

Don't break compatibility with old configs

Summary:
Commit 4a06c4d34f doesn't take into account old config files where the
value of the key is 'true', breaking the getter for the warps property.

Test Plan:
Add gtk-primary-button-warps-slider=true both in ~/.gtkrc-2.0 and
~/.config/gtk-3.0/settings.ini; open gtk-config kcm, warps checkbox is now checked
as expected.

Reviewers: apol

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D4594

Details

Committed
elvisangelaccioFeb 13 2017, 10:28 AM
Differential Revision
D4594: Don't break compatibility with old configs
Parents
R99:4a06c4d34f2d: Fix gtk-primary-button-warps-slider with GTK 2
Branches
Unknown
Tags
Unknown