Fix start-replace for --wide addition to launcher.py

Don't look for options.wide when accept_geometry isn't passed to the
Launcher constructor.

(Reported by Achim Frase)

svn path=/trunk/; revision=188
This commit is contained in:
Owen Taylor 2009-02-05 21:52:04 +00:00
parent cc4325ea79
commit e0241ad578

View File

@ -59,7 +59,7 @@ class Launcher:
else:
self.debug_command = ["gdb", "--args"]
if self.options.wide:
if accept_geometry and self.options.wide:
self.options.geometry = "1280x800"
def start_shell(self):