Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2005-01-20 23:56:56 (GMT)
committer Jonathan Blandford <jrb@src.gnome.org>2005-01-20 23:56:56 (GMT)
commit7f06c62daa65b4064fc4831706ec01c834f67aa5 (patch)
treed88f474e079f336f92cbb90ae4e599a6dba15968
parent0fbeb6dce7d8a42870a9a6bcf935dff7510ab466 (diff)
make the bg color darker.
Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-view.c (ev_view_realize): make the bg color darker.
-rw-r--r--ChangeLog4
-rw-r--r--shell/ev-view.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e820e7d..1c2218f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
+
+ * shell/ev-view.c (ev_view_realize): make the bg color darker.
+
2005-01-20 Martin Kretzschmar <martink@gnome.org>
* shell/ev-view.c (set_document_page): unset has_selection when
diff --git a/shell/ev-view.c b/shell/ev-view.c
index 45fc014..f2f879b 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);