Terminator::reconfigure_terminals should just be called reconfigure, and needs to start paying attention to global values

This commit is contained in:
Chris Jones 2010-01-11 10:28:47 +00:00
parent 7a06c86310
commit 75b5cd11cf
2 changed files with 6 additions and 3 deletions

View File

@ -85,9 +85,12 @@ class Terminator(Borg):
dbg('Terminator::deregister_terminal: %d terminals remain' %
len(self.terminals))
def reconfigure_terminals(self):
"""Tell all terminals to update their configuration"""
def reconfigure(self):
"""Update configuration for the whole application"""
# FIXME: Set handle_size here
# Cause all the terminals to reconfigure
for terminal in self.terminals:
terminal.reconfigure()

View File

@ -107,7 +107,7 @@ class PrefsEditor:
self.store_values()
self.config.save()
terminator = Terminator()
terminator.reconfigure_terminals()
terminator.reconfigure()
self.window.destroy()
del(self)