Commit 912ae5b5 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

Mark the changed cell for status update.


2000-05-09  Jody Goldberg <jgoldberg@home.com>

	* src/commands.c (cmd_set_date_time_{undo,redo}) : Mark the changed cell for
	  status update.

	* src/Makefile.am (INCLUDES) : Remove extra '/' at end.

	* src/workbook.c (insert_current_time_cmd) : fix cut-n-paste-o.
parent 2e5a294b
2000-05-09 Jody Goldberg <jgoldberg@home.com>
* src/commands.c (cmd_set_date_time_{undo,redo}) : Mark the changed cell for
status update.
* src/Makefile.am (INCLUDES) : Remove extra '/' at end.
* src/workbook.c (insert_current_time_cmd) : fix cut-n-paste-o.
2000-05-09 Valek Filippov <frob@df.ru>
* src/functions/fn-financial.c: changed "NUM!" to "#NUM!".
......
2000-05-09 Jody Goldberg <jgoldberg@home.com>
* src/commands.c (cmd_set_date_time_{undo,redo}) : Mark the changed cell for
status update.
* src/Makefile.am (INCLUDES) : Remove extra '/' at end.
* src/workbook.c (insert_current_time_cmd) : fix cut-n-paste-o.
2000-05-09 Valek Filippov <frob@df.ru>
* src/functions/fn-financial.c: changed "NUM!" to "#NUM!".
......
2000-05-09 Jody Goldberg <jgoldberg@home.com>
* src/commands.c (cmd_set_date_time_{undo,redo}) : Mark the changed cell for
status update.
* src/Makefile.am (INCLUDES) : Remove extra '/' at end.
* src/workbook.c (insert_current_time_cmd) : fix cut-n-paste-o.
2000-05-09 Valek Filippov <frob@df.ru>
* src/functions/fn-financial.c: changed "NUM!" to "#NUM!".
......
2000-05-09 Jody Goldberg <jgoldberg@home.com>
* src/commands.c (cmd_set_date_time_{undo,redo}) : Mark the changed cell for
status update.
* src/Makefile.am (INCLUDES) : Remove extra '/' at end.
* src/workbook.c (insert_current_time_cmd) : fix cut-n-paste-o.
2000-05-09 Valek Filippov <frob@df.ru>
* src/functions/fn-financial.c: changed "NUM!" to "#NUM!".
......
2000-05-09 Jody Goldberg <jgoldberg@home.com>
* src/commands.c (cmd_set_date_time_{undo,redo}) : Mark the changed cell for
status update.
* src/Makefile.am (INCLUDES) : Remove extra '/' at end.
* src/workbook.c (insert_current_time_cmd) : fix cut-n-paste-o.
2000-05-09 Valek Filippov <frob@df.ru>
* src/functions/fn-financial.c: changed "NUM!" to "#NUM!".
......
2000-05-09 Jody Goldberg <jgoldberg@home.com>
* src/commands.c (cmd_set_date_time_{undo,redo}) : Mark the changed cell for
status update.
* src/Makefile.am (INCLUDES) : Remove extra '/' at end.
* src/workbook.c (insert_current_time_cmd) : fix cut-n-paste-o.
2000-05-09 Valek Filippov <frob@df.ru>
* src/functions/fn-financial.c: changed "NUM!" to "#NUM!".
......
2000-05-09 Jody Goldberg <jgoldberg@home.com>
* src/commands.c (cmd_set_date_time_{undo,redo}) : Mark the changed cell for
status update.
* src/Makefile.am (INCLUDES) : Remove extra '/' at end.
* src/workbook.c (insert_current_time_cmd) : fix cut-n-paste-o.
2000-05-09 Valek Filippov <frob@df.ru>
* src/functions/fn-financial.c: changed "NUM!" to "#NUM!".
......
......@@ -26,8 +26,8 @@ endif
INCLUDES = \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
-DGNUMERIC_DATADIR=\""$(gnumeric_datadir)/"\" \
-DGNUMERIC_LIBDIR=\""$(gnumeric_libdir)/"\" \
-DGNUMERIC_DATADIR=\""$(gnumeric_datadir)"\" \
-DGNUMERIC_LIBDIR=\""$(gnumeric_libdir)"\" \
-I$(includedir) \
-I$(top_srcdir)/ \
-I$(srcdir)/ \
......
......@@ -1256,6 +1256,10 @@ cmd_set_date_time_undo (GnumericCommand *cmd, CommandContext *context)
} else
sheet_cell_remove (sheet, cell, TRUE);
/* see if we need to update status */
sheet_flag_status_update_cell (me->pos.sheet,
me->pos.eval.col, me->pos.eval.row);
sheet_set_dirty (sheet, TRUE);
workbook_recalc (sheet->workbook);
sheet_update (sheet);
......@@ -1300,6 +1304,10 @@ cmd_set_date_time_redo (GnumericCommand *cmd, CommandContext *context)
sheet_cell_set_value (cell, v, prefered_format+1);
/* see if we need to update status */
sheet_flag_status_update_cell (me->pos.sheet,
me->pos.eval.col, me->pos.eval.row);
sheet_set_dirty (me->pos.sheet, TRUE);
workbook_recalc (me->pos.sheet->workbook);
sheet_update (me->pos.sheet);
......@@ -1811,7 +1819,8 @@ cmd_colrow_resize_destroy (GtkObject *cmd)
gnumeric_command_destroy (cmd);
}
gboolean
/* Disable until finished */
static gboolean
cmd_colrow_resize (CommandContext *context,
gboolean is_cols,
GSList *colrows,
......
......@@ -922,7 +922,7 @@ static void
insert_current_time_cmd (GtkWidget *widget, Workbook *wb)
{
Sheet *sheet = wb->current_sheet;
cmd_set_date_time (workbook_command_context_gui (wb), TRUE,
cmd_set_date_time (workbook_command_context_gui (wb), FALSE,
sheet, &sheet->cursor.edit_pos);
}
......
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