[vte/vte-0-32: 3/3] Don't override the widget background colour
- From: Christian Persch <chpe src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [vte/vte-0-32: 3/3] Don't override the widget background colour
 
- Date: Thu, 27 Oct 2011 21:13:42 +0000 (UTC)
 
commit e68cfbac308e98d704fbca579bab53998904c7ad
Author: Christian Persch <chpe gnome org>
Date:   Thu Oct 27 23:10:56 2011 +0200
    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.
 src/vte.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 8c19f58..ed59810 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -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);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]