diff options
author | Christian Persch <chpe@gnome.org> | 2011-10-27 23:10:56 +0200 |
---|---|---|
committer | Christian Persch <chpe@gnome.org> | 2011-10-27 23:12:54 +0200 |
commit | e68cfbac308e98d704fbca579bab53998904c7ad (patch) | |
tree | 3765bcedc52ab70ed9af8e9701215ec2f4c2da49 /src/vte.c | |
parent | e6a83f6175c2865385c80deec1f7ed79650f7d58 (diff) | |
download | vte-e68cfbac308e98d704fbca579bab53998904c7ad.tar.gz |
Don't override the widget background colour
The comment was inaccurate; we always do draw the background colour even
when the background mode is NONE. Removing the colour override makes
theme colours working again in gnome-terminal's gsettings branch.
Diffstat (limited to 'src/vte.c')
-rw-r--r-- | src/vte.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -13201,13 +13201,10 @@ vte_terminal_background_update(VteTerminal *terminal) entry->red, entry->green, entry->blue, terminal->pvt->bg_opacity); - /* Set the terminal widget background color since otherwise we - * won't draw it for VTE_BG_SOURCE_NONE. */ color.red = entry->red / 65535.; color.green = entry->green / 65535.; color.blue = entry->blue / 65535.; color.alpha = terminal->pvt->bg_opacity / 65535.; - gtk_widget_override_background_color (&terminal->widget, GTK_STATE_FLAG_NORMAL, &color); _vte_draw_set_background_solid (terminal->pvt->draw, color.red, color.green, color.blue, color.alpha); |