[libadwaita/wip/exalm/a11y] settings: Fix HC namespace for portals
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/a11y] settings: Fix HC namespace for portals
- Date: Tue, 24 May 2022 20:37:17 +0000 (UTC)
commit 50580ab431c94b0123bbe7989b3b82c571f033b6
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Wed May 25 00:37:06 2022 +0400
settings: Fix HC namespace for portals
src/adw-settings.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/adw-settings.c b/src/adw-settings.c
index ee790c1a..c15582c6 100644
--- a/src/adw-settings.c
+++ b/src/adw-settings.c
@@ -274,7 +274,7 @@ settings_portal_changed_cb (GDBusProxy *proxy,
return;
}
- if (!g_strcmp0 (namespace, "org.gnome.desktop.interface.a11y") &&
+ if (!g_strcmp0 (namespace, "org.gnome.desktop.a11y.interface") &&
!g_strcmp0 (name, "high-contrast") &&
self->high_contrast_portal_state == HIGH_CONTRAST_STATE_GNOME) {
set_high_contrast (self, g_variant_get_boolean (value));
@@ -331,7 +331,7 @@ init_portal (AdwSettings *self)
}
if (!self->has_high_contrast &&
- read_portal_setting (self, "org.gnome.desktop.interface.a11y",
+ read_portal_setting (self, "org.gnome.desktop.a11y.interface",
"high-contrast", "b", &variant)) {
self->has_high_contrast = TRUE;
self->high_contrast_portal_state = HIGH_CONTRAST_STATE_GNOME;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]