! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Support XDG_CURRENT_DESKTOP
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-panel
Component:
Applications Menu

Comments

Description Nick Schermer editbugs 2011-03-25 15:16:07 CET
Although it's not in the spec yet, it makes sense to allow users to override the default XFCE menu environment value, so the panel is usable in other environment too or give users a change to show all applications in the menu (export XDG_CURRENT_DESKTOP="")

/* if the value is unset, fallback to XFCE, if the
 * value is empty, allow all applications in the menu */
desktop = g_getenv ("XDG_CURRENT_DESKTOP");
if (G_LIKELY (desktop == NULL))
  desktop = "XFCE";
else if (*desktop == '\0')
  desktop = NULL;
garcon_set_environment (desktop);
Comment 1 Nick Schermer editbugs 2011-04-22 10:37:58 CEST
Applied in 8526855.

Bug #7444

Reported by:
Nick Schermer
Reported on: 2011-03-25
Last modified on: 2011-04-22

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Attachments

Additional information