Commit 1ac0e438 authored by Jody Goldberg's avatar Jody Goldberg
Browse files

- Improve handling of VALUE_EMPTY.

- Re-enable error box explaining why a module load failed.
parent fdf3310e
1999-09-25 Jody Goldberg <jgoldberg@home.com>
* src/plugin.c (plugin_load) : Enable the error box when
loading a plugin fails.
* src/item-grid.c (item_grid_draw) : Paint an empty
only if the cell does not exist. VALUE_EMPTY cells should be
treated as std cells when drawing the background.
1999-09-24 Morten Welinder <terra@diku.dk>
* src/widgets/gtk-combo-box.c (gtk_combo_box_finalize): Plug leak.
......
1999-09-25 Jody Goldberg <jgoldberg@home.com>
* src/plugin.c (plugin_load) : Enable the error box when
loading a plugin fails.
* src/item-grid.c (item_grid_draw) : Paint an empty
only if the cell does not exist. VALUE_EMPTY cells should be
treated as std cells when drawing the background.
1999-09-24 Morten Welinder <terra@diku.dk>
* src/widgets/gtk-combo-box.c (gtk_combo_box_finalize): Plug leak.
......
......@@ -439,7 +439,8 @@ item_grid_draw (GnomeCanvasItem *item, GdkDrawable *drawable, int x, int y, int
cell = sheet_cell_get (sheet, col, row);
if (cell_is_blank (cell)){
/* If the cell does not exist paint it as an empty cell */
if (cell == NULL){
item_grid_paint_empty_cell (
drawable, item_grid, ci, ri,
col, row, x_paint, y_paint);
......
......@@ -33,9 +33,10 @@ plugin_load (Workbook *wb, const gchar *modfile)
data->handle = g_module_open (modfile, 0);
if (!data->handle) {
#if 0
g_free (data);
return NULL;
#if 0
#else
char *str;
str = g_strconcat(_("unable to open module file: "), g_module_error(), NULL);
gnumeric_notice (wb, GNOME_MESSAGE_BOX_ERROR, str);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment