Terminator::reconfigure_terminals should just be called reconfigure, and needs to start paying attention to global values
This commit is contained in:
parent
7a06c86310
commit
75b5cd11cf
@ -85,9 +85,12 @@ class Terminator(Borg):
|
|||||||
dbg('Terminator::deregister_terminal: %d terminals remain' %
|
dbg('Terminator::deregister_terminal: %d terminals remain' %
|
||||||
len(self.terminals))
|
len(self.terminals))
|
||||||
|
|
||||||
def reconfigure_terminals(self):
|
def reconfigure(self):
|
||||||
"""Tell all terminals to update their configuration"""
|
"""Update configuration for the whole application"""
|
||||||
|
|
||||||
|
# FIXME: Set handle_size here
|
||||||
|
|
||||||
|
# Cause all the terminals to reconfigure
|
||||||
for terminal in self.terminals:
|
for terminal in self.terminals:
|
||||||
terminal.reconfigure()
|
terminal.reconfigure()
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ class PrefsEditor:
|
|||||||
self.store_values()
|
self.store_values()
|
||||||
self.config.save()
|
self.config.save()
|
||||||
terminator = Terminator()
|
terminator = Terminator()
|
||||||
terminator.reconfigure_terminals()
|
terminator.reconfigure()
|
||||||
self.window.destroy()
|
self.window.destroy()
|
||||||
del(self)
|
del(self)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user