From 75b5cd11cfdf6994d68fe1115a1eca772023e7e6 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Mon, 11 Jan 2010 10:28:47 +0000 Subject: [PATCH] Terminator::reconfigure_terminals should just be called reconfigure, and needs to start paying attention to global values --- terminatorlib/newterminator.py | 7 +++++-- terminatorlib/prefseditor.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/terminatorlib/newterminator.py b/terminatorlib/newterminator.py index bea1fab0..670b75c9 100755 --- a/terminatorlib/newterminator.py +++ b/terminatorlib/newterminator.py @@ -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() diff --git a/terminatorlib/prefseditor.py b/terminatorlib/prefseditor.py index 5e8e3c7e..28282afc 100755 --- a/terminatorlib/prefseditor.py +++ b/terminatorlib/prefseditor.py @@ -107,7 +107,7 @@ class PrefsEditor: self.store_values() self.config.save() terminator = Terminator() - terminator.reconfigure_terminals() + terminator.reconfigure() self.window.destroy() del(self)