~ubuntu-branches/ubuntu/quantal/indicator-session/quantal

« back to all changes in this revision

Viewing changes to debian/patches/01_locking_on_autologin.patch

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-10-14 19:16:24 UTC
  • Revision ID: james.westby@ubuntu.com-20091014191624-t0iqaeqs4c9vfvgf
Tags: 0.1.7-0ubuntu3
* debian/patches/01_locking_on_autologin.patch:
  - don't stop users to lock their screen on autologin configs, 
    thank David Barth (lp: #438936)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.7/src/lock-helper.c indicator-session-0.1.7.new/src/lock-helper.c
 
2
--- indicator-session-0.1.7/src/lock-helper.c   2009-10-14 19:15:55.000000000 +0200
 
3
+++ indicator-session-0.1.7.new/src/lock-helper.c       2009-10-14 19:16:16.000000000 +0200
 
4
@@ -130,9 +130,11 @@
 
5
 gboolean
 
6
 will_lock_screen (void)
 
7
 {
 
8
+/*
 
9
        if (gdm_auto_login) {
 
10
                return FALSE;
 
11
        }
 
12
+*/
 
13
        if (is_guest) {
 
14
                return FALSE;
 
15
        }