~ubuntu-branches/ubuntu/oneiric/lxsession/oneiric

« back to all changes in this revision

Viewing changes to debian/patches/02_gdm3.patch

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne, Andrew Lee (李健秋)
  • Date: 2010-07-28 23:16:56 UTC
  • Revision ID: james.westby@ubuntu.com-20100728231656-zo8t5r9girxdbgz3
Tags: 0.4.4-1ubuntu1
[ Andrew Lee (李健秋) ]
HAL-less LXDE!
* Backport upower patch from upstream.
* Support switch user with gdm3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- a/lxsession-logout/lxsession-logout.c
 
2
+++ b/lxsession-logout/lxsession-logout.c
 
3
@@ -384,6 +384,13 @@
 
4
         handler_context.switch_user_GDM = TRUE;
 
5
     }
 
6
 
 
7
+    /* If we are under GDM3, its "Switch User" is available. */
 
8
+    if (verify_running("gdm3", "gdmflexiserver"))
 
9
+    {
 
10
+        handler_context.switch_user_available = TRUE;
 
11
+        handler_context.switch_user_GDM = TRUE;
 
12
+    }
 
13
+
 
14
     /* If we are under KDM, its "Switch User" is available. */
 
15
     if (verify_running("kdm", "kdmctl"))
 
16
     {