After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 653660 - [PATCH] Support XDG_CURRENT_DESKTOP
[PATCH] Support XDG_CURRENT_DESKTOP
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
0.x.x [obsolete]
Other Linux
: Normal normal
: 3.2
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-06-29 16:17 UTC by Michael Terry
Modified: 2011-09-07 19:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Check XDG_CURRENT_DESKTOP (2.04 KB, patch)
2011-06-29 16:17 UTC, Michael Terry
committed Details | Review

Description Michael Terry 2011-06-29 16:17:48 UTC
Created attachment 190940 [details] [review]
Check XDG_CURRENT_DESKTOP

XDG_CURRENT_DESKTOP is a barely used [1] method to quickly detect which desktop environment is running. 

Here's a patch to respect it when determining if links are foreign.

[1] LXDE uses it and it's been talked about on the xdg lists a few times.  It's not part of any spec yet that I can tell.  There's also a bug for gnome-menus to use it:  https://bugzilla.gnome.org/show_bug.cgi?id=653440
Comment 1 Cosimo Cecchi 2011-09-07 19:20:45 UTC
Thanks for the patch, I pushed this to master now.