-
Chema Celorio authored
2000-12-09 Chema Celorio <chema@celorio.com> * dialog-define-names.c: add NameGuruScope enums (name_guru_warn): warn when deleting a name that is beein used (name_guru_scope_change): handle scope changes (name_guru_set_expr): implement. (name_guru_clear_selection): implement (name_guru_in_list): implement (name_guru_update_sensitivity): implement. (cb_name_guru_select_name): clean (name_guru_scope_get): implement (cb_name_guru_add): fix (name_guru_init): conect sensitivy after (see coment on code) 2000-12-09 Chema Celorio <chema@celorio.com> * src/xml-io.c (xml_write_names): Always wrinte a <Names> node, even if it is empty. (See coment on code for details) * src/sheet.c (sheet_new): make sheet->names NULL. (sheet_clone_names): free the list with g_list_free not g_free (sheet_clone_names): add a warning about not duplicating names yet. * src/expr-name.h (expr_name_wb2sheet): add prototypes for wb2sheet & sheet2wb * src/expr-name.c (expr_name_unlink): new funct. Code form expr_name_remove (expr_name_remove): call expr_name_unlink (expr_name_invalidate_refs_name): add a warning about this function not beeing implemented (expr_name_invalidate_refs_sheet): ditto (expr_name_invalidate_refs_wb): ditto (expr_name_sheet2wb): new funct. changed the scope of a NamedExpression from sheet to workbook. (expr_name_wb2sheet): not implemented yet. Workbook to sheet scope change
d069b117