]> www.fi.muni.cz Git - evince.git/commitdiff
Pass colors to poppler_page_render_selection().
authorKristian Høgsberg <krh@redhat.com>
Fri, 5 Aug 2005 20:45:46 +0000 (20:45 +0000)
committerKristian Høgsberg <krh@src.gnome.org>
Fri, 5 Aug 2005 20:45:46 +0000 (20:45 +0000)
2005-08-05  Kristian Høgsberg  <krh@redhat.com>

        * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
        to poppler_page_render_selection().

ChangeLog
pdf/ev-poppler.cc

index 251a426042a40ab7e67bf7f00c76e708657266c2..858f9afdc8bea4d591e8cd0417ddca49c126d244 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-05  Kristian Høgsberg  <krh@redhat.com>
+
+       * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
+       to poppler_page_render_selection().
+
 2005-08-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
 
        * ps/ps-document.c: (save_page_list): Use
index 07f1028c2be053e6c5c5b8828ea8507a18f29a10..2c5b5265b3a4e2263948602db7ba3cb9bd397034 100644 (file)
@@ -1191,10 +1191,14 @@ pdf_selection_render_selection (EvSelection      *selection,
                                           width, height);
        }
        
+       /* FIXME: Hardcoded clearlooks selection color.  We should
+        * track theme color changes and focus out event and update
+        * selection color accordingly. */
        poppler_page_render_selection (poppler_page,
                                       rc->scale, *pixbuf,
                                       (PopplerRectangle *)points,
-                                      (PopplerRectangle *)old_points);
+                                      (PopplerRectangle *)old_points,
+                                      0x00ffffff, 0x007c99ad);
        g_object_unref (poppler_page);
 
 }