Fix layout launcher error
‘LayoutLauncher’ needs to know the current working directory, which as being passed as ‘None’ . This commit fixes it by setting the current directory unconditionally so it is always available throughout the application.
This commit is contained in:
parent
fe9e041b61
commit
83fac24938
|
@ -68,6 +68,9 @@ if __name__ == '__main__':
|
|||
|
||||
OPTIONS = terminatorlib.optionparse.parse_options()
|
||||
|
||||
TERMINATOR = Terminator()
|
||||
TERMINATOR.set_origcwd(ORIGCWD)
|
||||
|
||||
if OPTIONS.select:
|
||||
# launch gui, return selection
|
||||
LAYOUTLAUNCHER=LayoutLauncher()
|
||||
|
@ -112,8 +115,6 @@ if __name__ == '__main__':
|
|||
pass
|
||||
|
||||
MAKER = Factory()
|
||||
TERMINATOR = Terminator()
|
||||
TERMINATOR.set_origcwd(ORIGCWD)
|
||||
TERMINATOR.set_dbus_data(dbus_service)
|
||||
TERMINATOR.reconfigure()
|
||||
TERMINATOR.ibus_running = ibus_running
|
||||
|
|
Loading…
Reference in New Issue