mirror of
https://git.srhtnin.garden/sarah/SaraView.git
synced 2026-10-14 18:38:11 +02:00
Client: macOS support
This commit is contained in:
1 parent
5c04a4a77d
commit
d86e33fd4a
4 files changed
+80
-9
No files matched your search
+1
-1
@@ -23,7 +23,7 @@ from Settings import ShowSettingsDialog
|
||||
def _SetCursorThemeFallback() -> None:
|
||||
"""GTK reads XCURSOR_THEME directly and doesn't always inherit it (shows as
|
||||
'Unable to load ... from the cursor theme'). Same fix as SaraFem's."""
|
||||
if os.environ.get("XCURSOR_THEME") or sys.platform == "win32": # GTK/GNOME only
|
||||
if os.environ.get("XCURSOR_THEME") or not sys.platform.startswith("linux"): # GTK/GNOME only
|
||||
return
|
||||
try:
|
||||
Result = subprocess.run(["gsettings", "get", "org.gnome.desktop.interface", "cursor-theme"],
|
||||
|
||||
Reference in new issue
Block a user