[sabayon: 11/19] Move static -name parameter out of protosession, and into XEPHYR_ARGV, where its easier to find if i



commit debc0b65df9f1a69aa582051c68e8a72dc8dcfa1
Author: Scott Balneaves <sbalneav ltsp org>
Date:   Thu Sep 24 13:47:35 2009 -0500

    Move static -name parameter out of protosession, and into XEPHYR_ARGV, where its easier to find if it causes problems

 lib/config.py.in    |    2 +-
 lib/protosession.py |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/lib/config.py.in b/lib/config.py.in
index a160ab6..c4cebd9 100755
--- a/lib/config.py.in
+++ b/lib/config.py.in
@@ -52,7 +52,7 @@ DEFAULT_SHELL = "/bin/bash"
 NOLOGIN_SHELL = "/sbin/nologin"
 SKEL_HOMEDIR  = "/etc/skel"
 
-XEPHYR_ARGV  = [ "@XEPHYR_PATH@", "-terminate", "-audit", "0", "-nolisten", "tcp" ]
+XEPHYR_ARGV  = [ "@XEPHYR_PATH@", "-terminate", "-audit", "0", "-nolisten", "tcp", "-name", "sabayon" ]
 SESSION_ARGV = [ "@XSESSION@", "@SESSION_NAME@" ]
 USERMOD_ARGV = [ "/usr/sbin/usermod" ]
 
diff --git a/lib/protosession.py b/lib/protosession.py
index 904ee0a..073a62e 100644
--- a/lib/protosession.py
+++ b/lib/protosession.py
@@ -327,8 +327,7 @@ class ProtoSession (gobject.GObject):
             signal.signal (signal.SIGUSR1, signal.SIG_IGN)
 
             argv = XEPHYR_ARGV + \
-                   [ "-auth", self.xephyr_xauth_file ] + \
-                   [ "-name", "sabayon" ]
+                   [ "-auth", self.xephyr_xauth_file ]
             if parent_window:
                 argv += [ "-parent", parent_window ]
             argv += [ self.display_name ]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]