@@ -200,11 +200,12 @@ def read_graphics(self):
200200 packs = self .packs = [p [0 ] for p in graphics .read_graphics ()]
201201 self .graphics .set (tuple (sorted ([graphics .get_title (p ) for p in packs ])))
202202 current = graphics .current_pack ()
203+ default_bg = Style ().lookup ('TListbox' , 'fill' )
203204 for i , p in enumerate (packs ):
204205 if p == current :
205206 self .graphicpacks .itemconfig (i , bg = 'pale green' )
206207 else :
207- self .graphicpacks .itemconfig (i , bg = 'white' )
208+ self .graphicpacks .itemconfig (i , bg = default_bg )
208209
209210 self .select_graphics ()
210211
@@ -300,11 +301,12 @@ def read_colors(self):
300301 files = colors .read_colors ()
301302 self .colors .set (files )
302303 current = colors .get_installed_file ()
304+ default_bg = Style ().lookup ('TListbox' , 'fill' )
303305 for i , f in enumerate (files ):
304306 if f == current :
305307 self .color_files .itemconfig (i , bg = 'pale green' )
306308 else :
307- self .color_files .itemconfig (i , bg = 'white' )
309+ self .color_files .itemconfig (i , bg = default_bg )
308310
309311 self .select_colors ()
310312
@@ -387,16 +389,17 @@ def read_tilesets(self):
387389 files = graphics .read_tilesets ()
388390 self .tilesets .set (files )
389391 current = graphics .current_tilesets ()
392+ default_bg = Style ().lookup ('TListbox' , 'fill' )
390393 for i , f in enumerate (files ):
391394 if f == current [0 ]:
392395 self .fonts .itemconfig (i , bg = 'pale green' )
393396 else :
394- self .fonts .itemconfig (i , bg = 'white' )
397+ self .fonts .itemconfig (i , bg = default_bg )
395398 if lnp .settings .version_has_option ('GRAPHICS_FONT' ):
396399 if f == current [1 ]:
397400 self .graphicsfonts .itemconfig (i , bg = 'pale green' )
398401 else :
399- self .graphicsfonts .itemconfig (i , bg = 'white' )
402+ self .graphicsfonts .itemconfig (i , bg = default_bg )
400403
401404 def install_tilesets (self , mode = 3 ):
402405 """
0 commit comments