]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-85644: webbrowser: Use $XDG_CURRENT_DESKTOP to check desktop (GH-21731)
authorMarco Trevisan <mail@3v1n0.net>
Sat, 2 Mar 2024 12:48:24 +0000 (13:48 +0100)
committerGitHub <noreply@github.com>
Sat, 2 Mar 2024 12:48:24 +0000 (12:48 +0000)
commit140d9ec4bcf969b62a742f81e2892fe04a44b6ac
tree6c097d34a943f8a21953bd3a7a19c2a139d535d6
parent5dc8c84d397110f9edfa56793ad8887b1f176d79
gh-85644: webbrowser: Use $XDG_CURRENT_DESKTOP to check desktop (GH-21731)

Usage of $GNOME_DESKTOP_SESSION_ID env variable is deprecated since
GNOME 3.30.0 [1], so should not be used, while the standard
XDG_CURRENT_DESKTOP should be instead preferred.

[1] https://gitlab.gnome.org/GNOME/gnome-session/-/commit/00e0e6226371d53f65
Lib/webbrowser.py
Misc/NEWS.d/next/Library/2024-02-27-20-11-29.gh-issue-85644.3rgcBm.rst [new file with mode: 0644]