Commit bcdc766d authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

Use needs_name flag rather than checking the filename. All books now have

1999-11-21  Jody Goldberg <jgoldberg@home.com>

	* src/file.c (workbook_save) : Use needs_name flag rather than
	  checking the filename.  All books now have file names.

	* src/workbook.c (workbook_new_with_sheets) : Move default name
	  assignment.
	(workbook_new) : Here.  Make the default name end in .gnumeric.
	  Add a needs_name flag marking this name as auto generated.
	(workbook_set_filename) : Clear the needs_name flag.
parent 1b3d8b37
......@@ -23,7 +23,7 @@
/* Sizes for column/row headers */
#define COLUMN_HEADER_HEIGHT 20
#define ROW_HEADER_WIDTH 60
#define ROW_HEADER_WIDTH 50
static GtkTableClass *sheet_view_parent_class;
......
......@@ -23,7 +23,7 @@
/* Sizes for column/row headers */
#define COLUMN_HEADER_HEIGHT 20
#define ROW_HEADER_WIDTH 60
#define ROW_HEADER_WIDTH 50
static GtkTableClass *sheet_view_parent_class;
......
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