Commit a92f62cc authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg
Browse files

Do redraws respans, and redimensions here.


2000-04-27  Jody Goldberg <jgoldberg@home.com>

	* src/workbook-format-toolbar.c (modify_cell_region) : Do redraws
	  respans, and redimensions here.

	* src/cell.c (cell_set_format) : Do not attempt to render or redraw
	  the value.
parent a010d82e
2000-04-27 Jody Goldberg <jgoldberg@home.com>
* src/workbook-format-toolbar.c (modify_cell_region) : Do redraws
respans, and redimensions here.
* src/cell.c (cell_set_format) : Do not attempt to render or redraw
the value.
2000-04-27 Jon K Hellan <hellan@acm.org>
* src/rendered-value.c (cell_rendered_height):
......
2000-04-27 Jody Goldberg <jgoldberg@home.com>
* src/workbook-format-toolbar.c (modify_cell_region) : Do redraws
respans, and redimensions here.
* src/cell.c (cell_set_format) : Do not attempt to render or redraw
the value.
2000-04-27 Jon K Hellan <hellan@acm.org>
* src/rendered-value.c (cell_rendered_height):
......
2000-04-27 Jody Goldberg <jgoldberg@home.com>
* src/workbook-format-toolbar.c (modify_cell_region) : Do redraws
respans, and redimensions here.
* src/cell.c (cell_set_format) : Do not attempt to render or redraw
the value.
2000-04-27 Jon K Hellan <hellan@acm.org>
* src/rendered-value.c (cell_rendered_height):
......
2000-04-27 Jody Goldberg <jgoldberg@home.com>
* src/workbook-format-toolbar.c (modify_cell_region) : Do redraws
respans, and redimensions here.
* src/cell.c (cell_set_format) : Do not attempt to render or redraw
the value.
2000-04-27 Jon K Hellan <hellan@acm.org>
* src/rendered-value.c (cell_rendered_height):
......
2000-04-27 Jody Goldberg <jgoldberg@home.com>
* src/workbook-format-toolbar.c (modify_cell_region) : Do redraws
respans, and redimensions here.
* src/cell.c (cell_set_format) : Do not attempt to render or redraw
the value.
2000-04-27 Jon K Hellan <hellan@acm.org>
* src/rendered-value.c (cell_rendered_height):
......
2000-04-27 Jody Goldberg <jgoldberg@home.com>
* src/workbook-format-toolbar.c (modify_cell_region) : Do redraws
respans, and redimensions here.
* src/cell.c (cell_set_format) : Do not attempt to render or redraw
the value.
2000-04-27 Jon K Hellan <hellan@acm.org>
* src/rendered-value.c (cell_rendered_height):
......
2000-04-27 Jody Goldberg <jgoldberg@home.com>
* src/workbook-format-toolbar.c (modify_cell_region) : Do redraws
respans, and redimensions here.
* src/cell.c (cell_set_format) : Do not attempt to render or redraw
the value.
2000-04-27 Jon K Hellan <hellan@acm.org>
* src/rendered-value.c (cell_rendered_height):
......
......@@ -695,6 +695,8 @@ cell_get_format (const Cell *cell)
*
* Changes the format for CELL to be FORMAT. FORMAT should be
* a number display format as specified on the manual
*
* Does not render, redraw, or respan.
*/
void
cell_set_format (Cell *cell, const char *format)
......@@ -705,11 +707,7 @@ cell_set_format (Cell *cell, const char *format)
mstyle_set_format (mstyle, format);
cell_set_mstyle (cell, mstyle);
/* re-render the cell text */
cell_render_value (cell);
cell_dirty (cell);
sheet_redraw_cell (cell);
}
/*
......
......@@ -245,10 +245,17 @@ modify_cell_region (Sheet *sheet,
int end_col, int end_row,
void *closure)
{
Range r;
r.start.col = start_col;
r.start.row = start_row;
r.end.col = end_col;
r.end.row = end_row;
sheet_cell_foreach_range (
sheet, TRUE,
start_col, start_row, end_col, end_row,
modify_cell_format, closure);
sheet_range_calc_spans (sheet, r, SPANCALC_RE_RENDER|SPANCALC_RESIZE);
}
/*
......
2000-04-27 Jody Goldberg <jgoldberg@home.com>
* Makefile.am : Install glade files in properly versioned directory.
2000-04-11 Michael Meeks <michael@helixcode.com>
* graphic-context.c: update include & make some functions static.
......
......@@ -7,9 +7,17 @@
# the WIZARD_PLUGIN variable
#
wizarddir = $(libdir)/gnumeric/wizards/$(VERSION)
if BONOBO
gnumeric_version="$(VERSION)-bonobo"
else
gnumeric_version="$(VERSION)"
endif
gnumeric_libdir = $(libdir)/gnumeric/$(gnumeric_version)
gnumeric_datadir = $(datadir)/gnumeric/$(gnumeric_version)
wizarddir = $(gnumeric_libdir)/wizard
gladedir = $(gnumeric_datadir)/glade
iconsdir = $(datadir)/pixmaps/gnumeric
gladedir = $(datadir)/gnumeric/glade
glade_DATA = graphics.glade
......@@ -31,7 +39,6 @@ libwizard_graphics_a_SOURCES = \
INCLUDES = \
-I$(top_srcdir)/libglade \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
-DGNUMERIC_GLADEDIR=\""$(gladedir)"\" \
-DGNUMERIC_ICONSDIR=\""$(iconsdir)"\" \
-I$(includedir) \
-I$(top_srcdir)/src \
......
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