From 852330d72775bdf044683c2fe7de56c217f2ee00 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Thu, 31 Jan 2008 22:15:23 +0000 Subject: [PATCH] New gconf behaviour requires us to match up with gnome-terminal key names. Fix custom font behaviour that wasn't following with this new scheme --- terminator | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/terminator b/terminator index eee3a910..2da12575 100755 --- a/terminator +++ b/terminator @@ -80,7 +80,7 @@ class TerminatorTerm: 'delete_binding' : 'delete-sequence', 'cursor_blink' : False, 'emulation' : 'xterm', - 'font_name' : 'Serif 10', + 'font' : 'Serif 10', 'foreground_color' : '#AAAAAA', 'scrollbar' : True, 'scroll_background' : True, @@ -248,9 +248,9 @@ class TerminatorTerm: # Set our font, preferably from gconf settings if self.gconf_client.get_bool (self.profile + "/use_system_font"): - font_name = (self.gconf_client.get_string ("/desktop/gnome/interface/monospace_font_name") or self.defaults['font_name']) + font_name = (self.gconf_client.get_string ("/desktop/gnome/interface/monospace_font_name") or self.defaults['font']) else: - font_name = self.reconf ('font_name') + font_name = self.reconf ('font') try: self._vte.set_font (pango.FontDescription (font_name))