diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2006-02-24 19:13:39 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2006-02-24 19:13:39 (GMT) |
commit | eae0b2268b6b4afb3cf1bf76a6358b3d720a3be5 (patch) | |
tree | d0a3eb3dc5d16cd4c3e444b69e4fa34fcb608b0e /backend | |
parent | 43f12175ba221f7c241f0c9cde323c23b8db53e8 (diff) |
Clairfy what page the toolbar page number applies to. Fix for the bug
* backend/ev-document-misc.c: (ev_document_misc_paint_one_page):
* backend/ev-document-misc.h:
* shell/ev-view.c: (draw_one_page):
Clairfy what page the toolbar page number applies to. Fix
for the bug #328102.
Diffstat (limited to 'backend')
-rw-r--r-- | backend/ev-document-misc.c | 6 | ||||
-rw-r--r-- | backend/ev-document-misc.h | 3 |
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 |