From 7f06c62daa65b4064fc4831706ec01c834f67aa5 Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Thu, 20 Jan 2005 23:56:56 +0000 Subject: [PATCH] make the bg color darker. Thu Jan 20 18:56:35 2005 Jonathan Blandford * shell/ev-view.c (ev_view_realize): make the bg color darker. --- ChangeLog | 4 ++++ shell/ev-view.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e820e7d5..1c2218fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Jan 20 18:56:35 2005 Jonathan Blandford + + * shell/ev-view.c (ev_view_realize): make the bg color darker. + 2005-01-20 Martin Kretzschmar * shell/ev-view.c (set_document_page): unset has_selection when diff --git a/shell/ev-view.c b/shell/ev-view.c index 45fc0147..f2f879b8 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -295,7 +295,7 @@ ev_view_realize (GtkWidget *widget) gdk_window_show (view->bin_window); widget->style = gtk_style_attach (widget->style, view->bin_window); - gtk_style_set_background (widget->style, view->bin_window, GTK_STATE_NORMAL); + gdk_window_set_background (view->bin_window, &widget->style->mid[widget->state]); if (view->document) { ev_document_set_target (view->document, view->bin_window); -- 2.43.5