1.6.8:

2008-02-04  Murray Cumming <murrayc@murrayc.com>

	* glom/mode_data/dialog_layout_details.cc: save_to_document(): 
	Set the sequence number later, to avoid it always being 1, which 
	causes layout groups with those duplicate sequence numbers to be ignored 
	and lost when reloading the document. This stopped people from adding 
	new groups.
	This fixes bug #513774 (Göran)

	Note that svn trunk does not need this fix because we no longer use 
	this explicit sequence number, because it was likely to lead to this 
	kind of problem.

2008-02-03  Murray Cumming  <murrayc@murrayc.com>

	* glom/layout_item_dialogs/box_formatting.cc: set_formatting(),
	* glom/layout_item_dialogs/dialog_field_layout.cc: set_field():
	Check for null RefPtrs to prevent crashes.

	* glom/layout_item_dialogs/dialog_field_summary.cc: on_button_field():
	Pass the correct parameter to avoid a use of an uninitialized value.
	* glom/libglom/data_structure/layout/report_parts/layoutitem_fields_summary.cc:
	Constructor: Initialize a member variable to avoid a use of an 
	uninitialized value.
	This fixed the crashes in bug #513927 (Göran)

2008-01-29  Murray Cumming  <murrayc@murrayc.com>

	* glom/mode_data/box_data_details.cc: on_flowtable_script_button_clicked():
	Make sure that we send the primary key value when refreshing after a button 
	was clicked. This fixes the bug that most of the fields were blanked after 
	clicking a button.