Commit 3660764b authored by Jon K Hellan's avatar Jon K Hellan Committed by Jon Kåre Hellan
Browse files

Re-enable autosave timer on cancel.

2000-01-20  Jon K Hellan  <hellan@acm.org>

	* src/dialogs/dialog-autosave.c (dialog_autosave): Re-enable
	autosave timer on cancel.
parent 74cd9dde
2000-01-20 Jon K Hellan <hellan@acm.org>
* src/dialogs/dialog-autosave.c (dialog_autosave): Re-enable
autosave timer on cancel.
2000-01-19 Jon K Hellan <hellan@acm.org>
* src/workbook.c (workbook_do_destroy): Remove autosave timer.
......
2000-01-20 Jon K Hellan <hellan@acm.org>
* src/dialogs/dialog-autosave.c (dialog_autosave): Re-enable
autosave timer on cancel.
2000-01-19 Jon K Hellan <hellan@acm.org>
* src/workbook.c (workbook_do_destroy): Remove autosave timer.
......
......@@ -132,15 +132,15 @@ loop:
gtk_widget_grab_focus (minutes);
goto loop;
}
wb->autosave_timer =
gtk_timeout_add(wb->autosave_minutes*60000,
(GtkFunction) dialog_autosave_callback, wb);
} else {
wb->autosave = old_autosave;
wb->autosave_prompt = old_prompt;
wb->autosave_minutes = old_minutes;
}
wb->autosave_timer =
gtk_timeout_add(wb->autosave_minutes*60000,
(GtkFunction) dialog_autosave_callback, wb);
if (v != -1)
gtk_object_destroy (GTK_OBJECT (dia));
......
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