aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lightdm/disallow-guest.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-30 09:19:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-30 09:19:52 +0000
commit152e22d13fee521a7ad51e50855b2cafd06c8245 (patch)
tree1b3bcb0d33d4ad348e6ccea8f02b832c719851ec /testing/lightdm/disallow-guest.patch
parenta698043a5c26a506b78e6d3c11ffc8114954f653 (diff)
downloadaports-152e22d13fee521a7ad51e50855b2cafd06c8245.tar.bz2
aports-152e22d13fee521a7ad51e50855b2cafd06c8245.tar.xz
testing/lightdm: upgrade to 1.4.0
Diffstat (limited to 'testing/lightdm/disallow-guest.patch')
-rw-r--r--testing/lightdm/disallow-guest.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/testing/lightdm/disallow-guest.patch b/testing/lightdm/disallow-guest.patch
index b9ed6b3c2..e44335962 100644
--- a/testing/lightdm/disallow-guest.patch
+++ b/testing/lightdm/disallow-guest.patch
@@ -1,8 +1,8 @@
--- ./data/lightdm.conf.orig
+++ ./data/lightdm.conf
-@@ -63,7 +63,7 @@
- #greeter-session=example-gtk-gnome
- #greeter-hide-users=false
+@@ -75,7 +75,7 @@
+ #greeter-show-manual-login=false
+ #greeter-show-remote-login=true
#user-session=default
-#allow-guest=true
+#allow-guest=false
@@ -11,12 +11,12 @@
#display-setup-script=
--- ./src/lightdm.c.orig
+++ ./src/lightdm.c
-@@ -957,7 +957,7 @@
+@@ -1004,7 +1004,7 @@
if (!config_has_key (config_get_instance (), "SeatDefaults", "start-session"))
config_set_boolean (config_get_instance (), "SeatDefaults", "start-session", TRUE);
if (!config_has_key (config_get_instance (), "SeatDefaults", "allow-guest"))
- config_set_boolean (config_get_instance (), "SeatDefaults", "allow-guest", TRUE);
+ config_set_boolean (config_get_instance (), "SeatDefaults", "allow-guest", FALSE);
- if (!config_has_key (config_get_instance (), "SeatDefaults", "greeter-session"))
- config_set_string (config_get_instance (), "SeatDefaults", "greeter-session", GREETER_SESSION);
- if (!config_has_key (config_get_instance (), "SeatDefaults", "user-session"))
+ if (!config_has_key (config_get_instance (), "SeatDefaults", "greeter-allow-guest"))
+ config_set_boolean (config_get_instance (), "SeatDefaults", "greeter-allow-guest", TRUE);
+ if (!config_has_key (config_get_instance (), "SeatDefaults", "greeter-show-remote-login"))