CVSROOT: /cvs/gnome
Module name: gnumeric
Changes by: mortenw 06/02/26 11:46:29
Modified files:
. : ChangeLog NEWS
plugins/corba : corba-workbook.c
plugins/dif : dif.c
plugins/html : html_read.c
plugins/lotus-123: lotus.c
plugins/mps : mps.c
plugins/python-loader: py-gnumeric.c
src : application.c cell.c commands.c session.c
sheet-object-widget.c sheet.c sheet.h
test-pango.c wbcg-actions.c
workbook-control-gui.c workbook-control-priv.h
workbook-control.c workbook-control.h
workbook-priv.h workbook-view.c workbook.c
workbook.h
src/dialogs : dialog-sheet-order.c dialog-summary.c
Log message:
2006-02-26 Morten Welinder <[EMAIL PROTECTED]>
* src/workbook-control-gui.c (wbcg_create): Attach to notify::uri
and notify::dirty in order to control window title.
* src/workbook-control.c (wb_control_update_title): Remove.
* src/workbook-control-priv.h (WorkbookControl): Remove
"set_title" member.
* src/commands.c (GnmCommand): Add "workbook_modified_before_do"
member.
(command_undo): If !workbook_modified_before_do, mark the workbook
not modified after undo.
(command_push_undo, command_redo): Setup
workbook_modified_before_do.
* src/workbook-priv.h: Add "pristine" member.
* src/sheet.h (Sheet): Remove "modified" and "pristine" members.
* src/sheet.c (sheet_mark_dirty): Renamed from sheet_set_dirty.
Always mark dirty, so kill last argument. All callers changed.
* src/workbook.c (workbook_get_property, workbook_set_property):
New functions.
(workbook_class_init): Install workbook_get_property and
workbook_set_property. Install new properties "uri" and "dirty".
Remove FILENAME_CHANGED signal and fix callers to use notify::uri.
(workbook_sheet_add): Drop dirty argument. Adding a sheet always
dirties the workbook. All callers changed.
(workbook_mark_not_modified): New function.
(workbook_set_dirty, workbook_is_dirty): Maintain a simply
"modified" flag.
(workbook_is_pristine): Maintain a simple workbook-level
"pristine" flag.
(workbook_set_placeholder, workbook_is_placeholder): Remove.
(workbook_new_with_sheets): After adding sheets, mark workbook not
modified and pristine.
(workbook_sheet_attach_at_pos): Mark workbook dirty.
(workbook_sheet_delete): Except during workbook destruction, mark
workbook dirty.
URL :
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnumeric&who=mortenw&date=explicit&mindate=2006-02-26%2011:45&maxdate=2006-02-26%2011:47
_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list