Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/ev-document-misc.c6
-rw-r--r--backend/ev-document-misc.h3
2 files changed, 6 insertions, 3 deletions
diff --git a/backend/ev-document-misc.c b/backend/ev-document-misc.c
index c1fb32c..fd6f449 100644
--- a/backend/ev-document-misc.c
+++ b/backend/ev-document-misc.c
@@ -105,10 +105,12 @@ void
ev_document_misc_paint_one_page (GdkDrawable *drawable,
GtkWidget *widget,
GdkRectangle *area,
- GtkBorder *border)
+ GtkBorder *border,
+ gboolean highlight)
{
gdk_draw_rectangle (drawable,
- widget->style->black_gc,
+ highlight ?
+ widget->style->text_gc[widget->state] : widget->style->dark_gc[widget->state],
TRUE,
area->x,
area->y,
diff --git a/backend/ev-document-misc.h b/backend/ev-document-misc.h
index a101f70..41f1cae 100644
--- a/backend/ev-document-misc.h
+++ b/backend/ev-document-misc.h
@@ -39,7 +39,8 @@ void ev_document_misc_get_page_border_size (gint page_width,
void ev_document_misc_paint_one_page (GdkDrawable *drawable,
GtkWidget *widget,
GdkRectangle *area,
- GtkBorder *border);
+ GtkBorder *border,
+ gboolean highlight);
G_END_DECLS