[anjal] Make it colorful. Move closer to what the visual wireframe
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjal] Make it colorful. Move closer to what the visual wireframe
- Date: Wed, 20 May 2009 02:16:31 -0400 (EDT)
commit d7b66253acdb071a5a72ebb685abaa7f048c8ebb
Author: Srinivasa Ragavan <sragavan novell com>
Date: Wed May 20 11:51:21 2009 +0530
Make it colorful. Move closer to what the visual wireframe
---
src/custom-cell-renderer-hbox.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/custom-cell-renderer-hbox.c b/src/custom-cell-renderer-hbox.c
index 3a6a972..bf557fc 100644
--- a/src/custom-cell-renderer-hbox.c
+++ b/src/custom-cell-renderer-hbox.c
@@ -476,9 +476,10 @@ custom_cell_renderer_hbox_render (GtkCellRenderer *cell,
gtk_cell_renderer_get_size (child, widget, cell_area, &cx, &cy, &cw, &ch);
cell_area->x = cell_area->x - cw - (child->xpad);
if (custom && cw >20) {
- extern GdkColor *pcolor_sel;
- cr = gdk_cairo_create (window);
- gdk_cairo_set_source_color (cr, pcolor_sel);
+ GdkColor col;
+ gdk_color_parse ("#f57900", &col);
+ cr = gdk_cairo_create (window);
+ gdk_cairo_set_source_color (cr, &col);
draw_rounded_rectangle (cr, cell_area->x, cell_area->y+cy+(1*cell->ypad), cw, ch);
cairo_fill(cr);
gtk_cell_renderer_render (child, window, widget, background_area, cell_area, expose_area, flags);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]