From 9f17fc079015d9993a1077c20dc220b49d9f95ca Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Mon, 26 Jan 2009 00:22:11 +0000 Subject: [PATCH] Be able to set the foreground colour of titlebars too --- terminatorlib/terminatorterm.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terminatorlib/terminatorterm.py b/terminatorlib/terminatorterm.py index bfbaa752..6d139ce6 100755 --- a/terminatorlib/terminatorterm.py +++ b/terminatorlib/terminatorterm.py @@ -79,6 +79,10 @@ class TerminatorTermTitle (gtk.EventBox): """Set the background color of the titlebar""" self.modify_bg (gtk.STATE_NORMAL, color) + def set_foreground_color (self, color): + """Set the foreground color of the titlebar""" + self._title.modify_fg (color) + class TerminatorTerm (gtk.VBox): matches = {}