From 88a322f15d8ce9c152cce75630b302b8b3ca1c08 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 15 Mar 2002 23:16:01 +0000 Subject: Check for a style_set signal on all the contained GnomeCanvasItems. 2002-03-15 Christopher James Lahey * gal/widgets/e-canvas.c (e_canvas_style_set): Check for a style_set signal on all the contained GnomeCanvasItems. From gal/e-table/ChangeLog: 2002-03-15 Christopher James Lahey * e-cell-toggle.c: Clear the pixmap cache in e_cell_style_set. * e-cell.c, e-cell.h (e_cell_style_set): Added this virtual method. * e-table-item.c, e-table-item.h: Call e_cell_style_set in out style_set signal. svn path=/trunk/; revision=16180 --- widgets/table/e-cell.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'widgets/table/e-cell.h') diff --git a/widgets/table/e-cell.h b/widgets/table/e-cell.h index d0f0f196a3..bc04f32f58 100644 --- a/widgets/table/e-cell.h +++ b/widgets/table/e-cell.h @@ -113,6 +113,8 @@ typedef struct { int (*max_width_by_row) (ECellView *ecell_view, int model_col, int view_col, int row); void (*show_tooltip) (ECellView *ecell_view, int model_col, int view_col, int row, int col_width, ETableTooltip *tooltip); gchar *(*get_bg_color) (ECellView *ecell_view, int row); + + void (*style_set) (ECellView *ecell_view, GtkStyle *previous_style); } ECellClass; GtkType e_cell_get_type (void); @@ -172,6 +174,9 @@ void e_cell_show_tooltip (ECellView *ecell_view, ETableTooltip *tooltip); gchar *e_cell_get_bg_color (ECellView *ecell_view, int row); +void e_cell_style_set (ECellView *ecell_view, + GtkStyle *previous_style); + void e_cell_focus (ECellView *ecell_view, int model_col, int view_col, -- cgit v1.2.3