1.1.5: 2006-10-08 Murray Cumming * glom/mode_data/box_data_details.cc: on_flowtable_script_button_clicked(): Refresh the view after the script has run, in case the script changed the data, so we can see the new data. 2006-10-08 Murray Cumming * glom/mode_data/dialog_layout_list_related.cc: * glom/mode_data/dialog_layout_list_related.h: * glom/glom.glade: Related Records layout: Add a Navigation frame, allowing the user to choose the default navigation (based on the shown fields and whether their tables are hidden, or manually choosing a relationship. This is needed when the automatic choice is not appropriate, though it often is. * glom/libglom/data_structure/layout/layoutitem_portal.cc: * glom/libglom/data_structure/layout/layoutitem_portal.h: Added set/get_navigation_relationship_specific(). * glom/libglom/document/document_glom.cc: * glom/libglom/document/document_glom.h: Saved the extra portal information. * glom/base_db.cc: * glom/base_db.h: get_field_is_from_non_hidden_related_record(), get_field_identifies_non_hidden_related_record(): Move these here from Box_Data_List_Related. Added get_portal_navigation_relationship_automatic(), * glom/mode_data/box_data_list_related.cc: * glom/mode_data/box_data_list_related.h: get_suitable_record_to_view_details(): Use the specified relationship if appropriate, and reuse the methods used to show the automatic navigation choice in the layout dialog. * glom/mode_data/dialog_layout.cc: * glom/mode_data/dialog_layout.h: Added the make_sensitivity_depend_on_toggle_button() convenience method. 2006-10-06 Murray Cumming * glom/utility_widgets/db_adddel/Makefile.am: * glom/utility_widgets/imageglom.cc: Moved value->pixbuf conversion code from here to: * glom/libglom/data_structure/glomconversions.cc: * glom/libglom/data_structure/glomconversions.h: * glom/utility_widgets/db_adddel/cellrenderer_button.cc: * glom/utility_widgets/db_adddel/cellrenderer_button.h: renamed to * glom/utility_widgets/db_adddel/cellrenderer_buttonimage.cc: * glom/utility_widgets/db_adddel/cellrenderer_buttonimage.h: Added: * glom/utility_widgets/db_adddel/cellrenderer_buttontext.cc: * glom/utility_widgets/db_adddel/cellrenderer_buttontext.h: * glom/utility_widgets/db_adddel/db_adddel.cc: * glom/utility_widgets/db_adddel/db_adddel.h: add_column() now take a LayoutItem rather than only a LayoutItem_Field, so that the list can in future show other items, such as buttons. * glom/libglom/data_structure/layout/layoutgroup.cc: * glom/libglom/data_structure/layout/layoutitem.cc: * glom/libglom/data_structure/layout/layoutitem.h: * glom/libglom/data_structure/layout/layoutitem_field.cc: * glom/libglom/data_structure/layout/layoutitem_field.h: * glom/libglom/data_structure/layout/layoutitem_image.h: * glom/libglom/data_structure/layout/layoutitem_portal.cc: * glom/libglom/data_structure/layout/layoutitem_portal.h: * glom/libglom/utils.cc: * glom/mode_data/box_data.cc: * glom/mode_data/box_data_list.cc: * glom/mode_data/box_data_list.h: * glom/mode_data/box_data_list_related.cc: * glom/mode_data/box_data_list_related.h: Adapted. 2006-10-06 Murray Cumming * glom/utility_widgets/adddel/adddel.cc: * glom/utility_widgets/db_adddel/db_adddel.cc: append_column(): Use set_fixed_width(), followed by set_resizable(), instead of set_min_width, so columns can be made smaller too. 2006-10-06 Murray Cumming * glom/libglom/utils.cc: build_sql_select_with_where_clause(): Define the first-level relationship (via a LEFT OUTER JOIN) of a related relationship, even if no fields from the intermediate relationship are shown, to avoid a SQL error and subsequent crash.