try and handle colours a little better, by not using the system colours over our own

This commit is contained in:
Chris Jones 2008-02-17 22:59:43 +00:00
parent 4486465507
commit 2ebd8a3fd2
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ class TerminatorTerm:
# Set our color scheme, preferably from gconf settings # Set our color scheme, preferably from gconf settings
# FIXME: This is wrong, we should be pulling 'palette' out of gconf, but reverting to self.defaults['default_palette'] which means we need to reorganise self.defaults to make this available under the same name as gconf # FIXME: This is wrong, we should be pulling 'palette' out of gconf, but reverting to self.defaults['default_palette'] which means we need to reorganise self.defaults to make this available under the same name as gconf
palette = self.reconf ('default_palette') palette = self.reconf ('default_palette')
if (not self.profile) or self.gconf_client.get_bool (self.profile + "/use_theme_colors"): if self.gconf_client.get_bool (self.profile + "/use_theme_colors"):
fg_color = self._vte.get_style ().text[gtk.STATE_NORMAL] fg_color = self._vte.get_style ().text[gtk.STATE_NORMAL]
bg_color = self._vte.get_style ().base[gtk.STATE_NORMAL] bg_color = self._vte.get_style ().base[gtk.STATE_NORMAL]
else: else: