Fix for background prefs. Closes LP#1202109

This commit is contained in:
Stephen Boddy 2013-08-01 19:57:51 +02:00
commit b29929e6e7
1 changed files with 1 additions and 1 deletions

View File

@ -1165,7 +1165,7 @@ class PrefsEditor:
else:
guiget('background_image_filechooser').set_sensitive(False)
guiget('scroll_background_checkbutton').set_sensitive(False)
if backtype == 'transparent':
if backtype in ('transparent', 'image'):
guiget('darken_background_scale').set_sensitive(True)
else:
guiget('darken_background_scale').set_sensitive(False)