aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1998-09-30 13:51:35 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-09-30 13:51:35 +0800
commit9e927267cdd157e56c238ea131758ecaadbe6309 (patch)
tree17bd1c1da4a0f1afdac21efb95be328db36c7891
parent550314f75b3a94e468e5f1117b9425d6d3784161 (diff)
downloadgsoc2013-evolution-9e927267cdd157e56c238ea131758ecaadbe6309.tar.gz
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
-rw-r--r--widgets/misc/e-colors.c1
-rw-r--r--widgets/misc/e-colors.h2
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