aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog8
-rw-r--r--debian/patches/01_locking_on_autologin.patch15
2 files changed, 23 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index b5fdc73..3c64d8b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+indicator-session (0.1.7-0ubuntu3) karmic; urgency=low
+
+ * debian/patches/01_locking_on_autologin.patch:
+ - don't stop users to lock their screen on autologin configs,
+ thank David Barth (lp: #438936)
+
+ -- Sebastien Bacher <seb128@ubuntu.com> Wed, 14 Oct 2009 19:16:24 +0200
+
indicator-session (0.1.7-0ubuntu2) karmic; urgency=low
* debian/patches/mc5-fixes.patch (LP: #427643)
diff --git a/debian/patches/01_locking_on_autologin.patch b/debian/patches/01_locking_on_autologin.patch
new file mode 100644
index 0000000..88b255f
--- /dev/null
+++ b/debian/patches/01_locking_on_autologin.patch
@@ -0,0 +1,15 @@
+diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.7/src/lock-helper.c indicator-session-0.1.7.new/src/lock-helper.c
+--- indicator-session-0.1.7/src/lock-helper.c 2009-10-14 19:15:55.000000000 +0200
++++ indicator-session-0.1.7.new/src/lock-helper.c 2009-10-14 19:16:16.000000000 +0200
+@@ -130,9 +130,11 @@
+ gboolean
+ will_lock_screen (void)
+ {
++/*
+ if (gdm_auto_login) {
+ return FALSE;
+ }
++*/
+ if (is_guest) {
+ return FALSE;
+ }