Fix for background prefs. Closes LP#1202109
This commit is contained in:
parent
03276a1def
commit
89fddd836b
|
@ -1142,7 +1142,7 @@ class PrefsEditor:
|
||||||
else:
|
else:
|
||||||
guiget('background_image_filechooser').set_sensitive(False)
|
guiget('background_image_filechooser').set_sensitive(False)
|
||||||
guiget('scroll_background_checkbutton').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)
|
guiget('darken_background_scale').set_sensitive(True)
|
||||||
else:
|
else:
|
||||||
guiget('darken_background_scale').set_sensitive(False)
|
guiget('darken_background_scale').set_sensitive(False)
|
||||||
|
|
Loading…
Reference in New Issue