diff options
author | Damon Chaplin <damon@helixcode.com> | 2000-07-23 19:03:28 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2000-07-23 19:03:28 +0800 |
commit | 171288a34a38acd6e8d26626235aa3ad65c61b05 (patch) | |
tree | c9db264b4da9dbd1298da78c98da92454c1f064f /widgets/table/e-cell-text.h | |
parent | 130d4fbee5807e4bcb43e190301eb161ce308bec (diff) | |
download | gsoc2013-evolution-171288a34a38acd6e8d26626235aa3ad65c61b05.tar.gz gsoc2013-evolution-171288a34a38acd6e8d26626235aa3ad65c61b05.tar.zst gsoc2013-evolution-171288a34a38acd6e8d26626235aa3ad65c61b05.zip |
added a color_column where the color can be specified as a string, e.g.
2000-07-23 Damon Chaplin <damon@helixcode.com>
* e-cell-text.c: added a color_column where the color can be specified
as a string, e.g. "red" or "rgb:F/0/0".
* e-cell-text.c (ect_leave_edit): don't call unbuild_current_cell()
since the CellEdit struct has been freed in ect_stop_editing() and so
has the text.
* e-cell-text.c (unbuild_current_cell): set cell->text to NULL to make
sure we don't try to free it again.
svn path=/trunk/; revision=4279
Diffstat (limited to 'widgets/table/e-cell-text.h')
-rw-r--r-- | widgets/table/e-cell-text.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/widgets/table/e-cell-text.h b/widgets/table/e-cell-text.h index f1fc55c1f7..e0296998b3 100644 --- a/widgets/table/e-cell-text.h +++ b/widgets/table/e-cell-text.h @@ -54,7 +54,15 @@ typedef struct { int strikeout_column; int bold_column; + /* This column in the ETable should return a string specifying a color, + either a color name like "red" or a color spec like "rgb:F/0/0". + See the XParseColor man page for the formats available. */ + int color_column; + ECellTextFilter filter; + + /* This stores the colors we have allocated. */ + GHashTable *colors; } ECellText; typedef struct { |