From e03befbaed7f5b8fca0253415307d028bf0f8cf4 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 27 Oct 2015 21:43:14 +0100 Subject: Add badge (.png) for default Xsession. --- data/Makefile.am | 3 ++- src/session-list.vala | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/data/Makefile.am b/data/Makefile.am index d5e0cff..2a77aaf 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -40,7 +40,8 @@ dist_pkgdata_DATA = \ twm_badge.png \ ubuntu_badge.png \ unknown_badge.png \ - xfce_badge.png + xfce_badge.png \ + xsession_badge.png logo.png: logo-bare.png ../src/logo-generator --logo logo-bare.png --text '$(VERSION)' --output logo.png diff --git a/src/session-list.vala b/src/session-list.vala index d166e2b..aac6e24 100644 --- a/src/session-list.vala +++ b/src/session-list.vala @@ -112,6 +112,8 @@ public class SessionList : GreeterList case "openbox-kde": case "plasma": return "kde_badge.png"; + case "lightdm-xsession": + return "xsession_badge.png"; case "lxde": case "LXDE": return "lxde_badge.png"; -- cgit v1.2.3