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
This commit is contained in:

committed by
Arturo Espinosa

parent
550314f75b
commit
9e927267cd
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user