From e3cbb3e71709fff11199565c38b410fa53106a73 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Thu, 21 Jan 2010 20:35:43 +0000 Subject: [PATCH] Fix a prefs editor guiget() call, and set the background type in the config file --- terminatorlib/prefseditor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/terminatorlib/prefseditor.py b/terminatorlib/prefseditor.py index 035743cc..c38c7dba 100755 --- a/terminatorlib/prefseditor.py +++ b/terminatorlib/prefseditor.py @@ -378,7 +378,7 @@ class PrefsEditor: elif self.config['background_type'] == 'image': guiget('image-radiobutton').set_active(True) elif self.config['background_type'] == 'transparent': - guiget('trans-radiobutton').set_active(True) + guiget('transparent-radiobutton').set_active(True) ## Scrolling tab # Scrollbar position @@ -527,6 +527,7 @@ class PrefsEditor: widget = guiget('transparent-radiobutton') if widget.get_active() == True: value = 'transparent' + self.config['background_type'] = value # Background image widget = guiget('background-image-filechooser') self.config['background_image'] = widget.get_filename()