diff options
author | Miguel de Icaza <miguel@nuclecu.unam.mx> | 1998-09-30 13:51:35 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-09-30 13:51:35 +0800 |
commit | 9e927267cdd157e56c238ea131758ecaadbe6309 (patch) | |
tree | 17bd1c1da4a0f1afdac21efb95be328db36c7891 /widgets | |
parent | 550314f75b3a94e468e5f1117b9425d6d3784161 (diff) | |
download | gsoc2013-evolution-9e927267cdd157e56c238ea131758ecaadbe6309.tar gsoc2013-evolution-9e927267cdd157e56c238ea131758ecaadbe6309.tar.gz gsoc2013-evolution-9e927267cdd157e56c238ea131758ecaadbe6309.tar.bz2 gsoc2013-evolution-9e927267cdd157e56c238ea131758ecaadbe6309.tar.lz gsoc2013-evolution-9e927267cdd157e56c238ea131758ecaadbe6309.tar.xz gsoc2013-evolution-9e927267cdd157e56c238ea131758ecaadbe6309.tar.zst gsoc2013-evolution-9e927267cdd157e56c238ea131758ecaadbe6309.zip |
New routine to paint a little red triangle if the cell hsa notes.
1998-09-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/cell.c (cell_draw_comment): New routine to paint a little
red triangle if the cell hsa notes.
* src/cell.c (cell_destroy): Destroy the comment.
(str_trim_spaces): New routine. Trims the spaces on a string.
(cell_draw): Trim the leading and trailing spaces on every string
of a multi-line text.
* src/color.c (color_init): Allocate a red for tagging the
spreadhseet notes.
* src/dialog-cell-format.c (format_list_fill): Apply the
traslation when adding the format.
* doc/tranlating.sgml: New document that describes how to
internationalize and localize Gnumeric properly.
* src/workbook.c (recalc_cmd): Provide a way to force a recomputation.
(insert_current_time_cmd): New function. insert the current time.
(insert_current_date_cmd): New function. insert the current date.
(insert_at_cursor): New utility function.
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet): Handle control-home
svn path=/trunk/; revision=414
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-colors.c | 1 | ||||
-rw-r--r-- | widgets/misc/e-colors.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/widgets/misc/e-colors.c b/widgets/misc/e-colors.c index d47a2af899..c8f88bbe61 100644 --- a/widgets/misc/e-colors.c +++ b/widgets/misc/e-colors.c @@ -64,6 +64,7 @@ color_init (void) color_alloc_name ("gray60", &gs_light_gray); color_alloc_name ("gray20", &gs_dark_gray); + color_alloc_name ("red", &gs_red); color_inited = 1; } diff --git a/widgets/misc/e-colors.h b/widgets/misc/e-colors.h index 738d0aec55..0381871e5e 100644 --- a/widgets/misc/e-colors.h +++ b/widgets/misc/e-colors.h @@ -9,6 +9,6 @@ void color_alloc_name (char *name, GdkColor *color); void color_alloc_gdk (GdkColor *color); /* Colors used by any GnumericSheet item */ -extern GdkColor gs_white, gs_light_gray, gs_dark_gray, gs_black; +extern GdkColor gs_white, gs_light_gray, gs_dark_gray, gs_black, gs_red; #endif |