Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2005-08-06 18:14:24 (GMT)
committer Kristian Høgsberg <krh@src.gnome.org>2005-08-06 18:14:24 (GMT)
commit3f175f30d0eb1df7df8894c7ba0949e4cbd23e8f (patch)
treeaf5543846e9ba6b5a9ed52e590173334fc8f5c74 /backend
parent0bd2e2a6aa946088aebf75e899b1b209e6c64b40 (diff)
Change selection color on focus in and focus out events. Also, poppler now
2005-08-06 Kristian Høgsberg <krh@redhat.com> * backend/ev-selection.c: (ev_selection_render_selection): * backend/ev-selection.h: * pdf/ev-poppler.cc: * shell/ev-jobs.c: (ev_job_render_new): * shell/ev-jobs.h: * shell/ev-pixbuf-cache.c: (get_selection_colors), (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf): * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out), (ev_view_class_init): Change selection color on focus in and focus out events. Also, poppler now uses GdkColor for specifying the selection colors, so drop some awkward conversion code.
Diffstat (limited to 'backend')
-rw-r--r--backend/ev-selection.c4
-rw-r--r--backend/ev-selection.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/backend/ev-selection.c b/backend/ev-selection.c
index f9f73e0..36c32e3 100644
--- a/backend/ev-selection.c
+++ b/backend/ev-selection.c
@@ -62,8 +62,8 @@ ev_selection_render_selection (EvSelection *selection,
GdkPixbuf **pixbuf,
EvRectangle *points,
EvRectangle *old_points,
- guint text,
- guint base)
+ GdkColor *text,
+ GdkColor *base)
{
EvSelectionIface *iface = EV_SELECTION_GET_IFACE (selection);
diff --git a/backend/ev-selection.h b/backend/ev-selection.h
index 8ed416b..d081604 100644
--- a/backend/ev-selection.h
+++ b/backend/ev-selection.h
@@ -48,8 +48,8 @@ struct _EvSelectionIface
GdkPixbuf **pixbuf,
EvRectangle *points,
EvRectangle *old_points,
- guint text,
- guint base);
+ GdkColor *text,
+ GdkColor *base);
GdkRegion * (* get_selection_map) (EvSelection *selection,
EvRenderContext *rc);
GdkRegion * (* get_selection_region) (EvSelection *selection,
@@ -63,8 +63,8 @@ void ev_selection_render_selection (EvSelection *selection,
GdkPixbuf **pixbuf,
EvRectangle *points,
EvRectangle *old_points,
- guint text,
- guint base);
+ GdkColor *text,
+ GdkColor *base);
GdkRegion *ev_selection_get_selection_map (EvSelection *selection,
EvRenderContext *rc);
GdkRegion *ev_selection_get_selection_region (EvSelection *selection,