aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-10-27 21:43:14 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-10-27 21:43:14 +0100
commite03befbaed7f5b8fca0253415307d028bf0f8cf4 (patch)
tree9232eebc79bf21e384fc1418cb420f7fae6b7eba
parent41cd11871bddc218b1b781f92196a634cb419183 (diff)
downloadarctica-greeter-e03befbaed7f5b8fca0253415307d028bf0f8cf4.tar.gz
arctica-greeter-e03befbaed7f5b8fca0253415307d028bf0f8cf4.tar.bz2
arctica-greeter-e03befbaed7f5b8fca0253415307d028bf0f8cf4.zip
Add badge (.png) for default Xsession.
-rw-r--r--data/Makefile.am3
-rw-r--r--src/session-list.vala2
2 files changed, 4 insertions, 1 deletions
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";