Summary: Can't change GTK3 theme in lxqt-config-appearance if settings don't exist, so create it. Test Plan: 1. Open lxqt-config-appearance 1. Check "Set GTK themes" 1. Change "GTK 3 Theme" to Arc 1. Close lxqt-config-appearance 1. Open lxqt-config-appearance "GTK 3 Theme" should be set to Arc and not the default, Adwaita. Reviewers: tsimonq2 Reviewed By: tsimonq2 Differential Revision: https://phab.lubuntu.me/D13ubuntu/cosmic
parent
a34837de82
commit
1d42b9727e
@ -0,0 +1,18 @@
|
||||
Description: Make a path for GTK settings if it does not exist.
|
||||
Author: P.L. Lucas <selairi@gmail.com>
|
||||
Bug: https://github.com/lxqt/lxqt/issues/1548
|
||||
Applied-Upstream: https://github.com/lxqt/lxqt-config/commit/5fe0f9288e432a669686af14657b7f508eefb77e
|
||||
Last-Update: 2018-09-03
|
||||
--- a/lxqt-config-appearance/configothertoolkits.cpp
|
||||
+++ b/lxqt-config-appearance/configothertoolkits.cpp
|
||||
@@ -212,6 +212,10 @@ void ConfigOtherToolKits::writeConfig(QS
|
||||
path = _get_config_path(path);
|
||||
|
||||
QFile file(path);
|
||||
+ if(! file.exists()) {
|
||||
+ QFileInfo fileInfo(file);
|
||||
+ QDir::home().mkpath(fileInfo.path());
|
||||
+ }
|
||||
if (!file.open(QIODevice::WriteOnly | QIODevice::Text)) {
|
||||
return;
|
||||
}
|
@ -1 +1,2 @@
|
||||
gtk-appearance-settings.patch
|
||||
mkpath-for-null-gtk-settings.patch
|
||||
|
Loading…
Reference in new issue