[vinagre] Use black color as background in the view



commit bcb316d3e02b7a64cb1b4daf895a6abf3aba9aaa
Author: Jonh Wendell <jwendell gnome org>
Date:   Sat Oct 17 11:46:24 2009 -0300

    Use black color as background in the view

 vinagre/vinagre-tab.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vinagre/vinagre-tab.c b/vinagre/vinagre-tab.c
index eee032e..58557bc 100644
--- a/vinagre/vinagre-tab.c
+++ b/vinagre/vinagre-tab.c
@@ -581,6 +581,7 @@ void
 vinagre_tab_add_view (VinagreTab *tab, GtkWidget *view)
 {
   GtkWidget *viewport;
+  GdkColor color = {0,};
 
   g_return_if_fail (VINAGRE_IS_TAB (tab));
 
@@ -589,6 +590,7 @@ vinagre_tab_add_view (VinagreTab *tab, GtkWidget *view)
 					 view);
   viewport = gtk_bin_get_child (GTK_BIN (tab->priv->scroll));
   gtk_viewport_set_shadow_type(GTK_VIEWPORT (viewport), GTK_SHADOW_NONE);
+  gtk_widget_modify_bg (viewport, GTK_STATE_NORMAL, &color);
 }
 
 GtkWidget *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]