feat(terminal): set bold_is_bright for VTE when supported (#38)
This commit is contained in:
parent
7ea105492f
commit
78e82464c3
|
@ -701,6 +701,9 @@ class Terminal(Gtk.VBox):
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
self.vte.set_allow_bold(self.config['allow_bold'])
|
self.vte.set_allow_bold(self.config['allow_bold'])
|
||||||
|
if hasattr(self.vte, 'set_bold_is_bright'):
|
||||||
|
self.vte.set_bold_is_bright(self.config['bold_is_bright'])
|
||||||
|
|
||||||
if self.config['use_theme_colors']:
|
if self.config['use_theme_colors']:
|
||||||
self.fgcolor_active = self.vte.get_style_context().get_color(Gtk.StateType.NORMAL) # VERIFY FOR GTK3: do these really take the theme colors?
|
self.fgcolor_active = self.vte.get_style_context().get_color(Gtk.StateType.NORMAL) # VERIFY FOR GTK3: do these really take the theme colors?
|
||||||
self.bgcolor = self.vte.get_style_context().get_background_color(Gtk.StateType.NORMAL)
|
self.bgcolor = self.vte.get_style_context().get_background_color(Gtk.StateType.NORMAL)
|
||||||
|
|
Loading…
Reference in New Issue