[meld/windows-fixes] settings: Don't try to load unused GNOME desktop settings on Windows
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld/windows-fixes] settings: Don't try to load unused GNOME desktop settings on Windows
- Date: Sat, 23 Jul 2022 22:12:51 +0000 (UTC)
commit 7efa498455a29ee65011271921e7b08246430c82
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun Jul 24 08:11:51 2022 +1000
settings: Don't try to load unused GNOME desktop settings on Windows
meld/settings.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/meld/settings.py b/meld/settings.py
index 942269c8..abcae180 100644
--- a/meld/settings.py
+++ b/meld/settings.py
@@ -105,7 +105,8 @@ def create_settings():
global settings, interface_settings, _meldsettings
settings = load_settings_schema(meld.conf.SETTINGS_SCHEMA_ID)
- interface_settings = Gio.Settings.new('org.gnome.desktop.interface')
+ if sys.platform == 'win32':
+ interface_settings = Gio.Settings.new('org.gnome.desktop.interface')
_meldsettings = MeldSettings()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]