diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2008-03-14 06:15:06 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2008-03-14 06:15:06 +0000 |
commit | 5f0021ccba92d717d9fd5069c144f03fa9ed2bb2 (patch) | |
tree | 6cb4b3b7d869c93162d2beafea3910b7295a9ca6 /gtk/proto_draw.c | |
parent | ef81118b2ccf326310e64eeb5685af9441c35371 (diff) |
Fix bug #1143 - Can't read packet details....bad color scheme forced
Change the code so we don't force a white background in the protocol tree
area, instead just unset it so it goes back to its natural background. This
matters with color schemes that have a black background.
svn path=/trunk/; revision=24625
Diffstat (limited to 'gtk/proto_draw.c')
-rw-r--r-- | gtk/proto_draw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/proto_draw.c b/gtk/proto_draw.c index 93846dd1c0..33a45b2bae 100644 --- a/gtk/proto_draw.c +++ b/gtk/proto_draw.c @@ -1820,8 +1820,7 @@ static void tree_cell_renderer(GtkTreeViewColumn *tree_column _U_, /* for each field, we have to reset the renderer attributes */ g_object_set (cell, "foreground-set", FALSE, NULL); - g_object_set (cell, "background", "white", NULL); - g_object_set (cell, "background-set", TRUE, NULL); + g_object_set (cell, "background-set", FALSE, NULL); g_object_set (cell, "underline", PANGO_UNDERLINE_NONE, NULL); g_object_set (cell, "underline-set", FALSE, NULL); |