summaryrefslogtreecommitdiff
path: root/libgdm/gdm-user-switching.c
diff options
context:
space:
mode:
authorzhengqiang130 <qzheng@suse.com>2018-10-29 17:11:32 +0800
committerRay Strode <rstrode@redhat.com>2019-01-07 14:10:01 -0500
commitc98ea6a4dc807aaf261eab6025ba3c3e5662d51c (patch)
tree176e852ba0ad2ac3807b5d0fa7ed9e678335e06c /libgdm/gdm-user-switching.c
parent4021902ddca604bc13e76df3c11743995811959b (diff)
downloadgdm-c98ea6a4dc807aaf261eab6025ba3c3e5662d51c.tar.gz
libgdm: filter out sessions with duplicate names
Right now if two session files have the same translated name, the login screen will show both of them. There's no way the user can know which session does which, so that's not a great user experience. Furthermore, in the face of symlinks, both sessions truely could be identical. This commit filters out the duplicates, so only one shows in the list. Closes https://gitlab.gnome.org/GNOME/gdm/issues/437
Diffstat (limited to 'libgdm/gdm-user-switching.c')
0 files changed, 0 insertions, 0 deletions