mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 16:00:18 +00:00
feat: merge GTK3 Theme into Appearance (new Advanced section); fix+scale chat bg image + use FileChooserNative picker
This commit is contained in:
@@ -689,12 +689,15 @@ settings_apply_from_file (const char *theme_root, const char *css_dir)
|
||||
for (i = 0; keys && i < n_keys; i++)
|
||||
{
|
||||
char *raw_value;
|
||||
char *value;
|
||||
|
||||
raw_value = g_key_file_get_value (keyfile, "Settings", keys[i], NULL);
|
||||
if (!raw_value)
|
||||
continue;
|
||||
|
||||
settings_apply_property (settings, keys[i], raw_value);
|
||||
value = g_strstrip (raw_value);
|
||||
if (value[0] != '\0')
|
||||
settings_apply_property (settings, keys[i], value);
|
||||
g_free (raw_value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user