gnome-shell.in: Make xephr available within the scope of run_shell

https://bugzilla.gnome.org/show_bug.cgi?id=629304
This commit is contained in:
Adel Gadllah 2010-09-22 20:36:11 +02:00
parent d188a7b32a
commit 8591a2fc09

View File

@ -303,6 +303,7 @@ def run_shell(perf_output=None):
termattrs = termios.tcgetattr(0); termattrs = termios.tcgetattr(0);
normal_exit = False normal_exit = False
xephyr = None
if options.verbose: if options.verbose:
print "Starting shell" print "Starting shell"
@ -316,7 +317,6 @@ def run_shell(perf_output=None):
os.environ['GNOME_SHELL_NO_REPLACE'] = '1' os.environ['GNOME_SHELL_NO_REPLACE'] = '1'
shell = start_shell() shell = start_shell()
else: else:
xephyr = None
shell = start_shell(perf_output=perf_output) shell = start_shell(perf_output=perf_output)
# Wait for shell to exit # Wait for shell to exit