0.8.37: 2005-07-26 Murray Cumming * glom/document/document_glom.cc: fill_layout_field_details(): Handle portals, so we do not lose field information for portals when editing the whole layout. * glom/mode_data/box_data_list_related.cc: * glom/mode_data/dialog_layout_details.cc: Dialog_Layout_Details::fill_group(): Handle portals. * glom/utility_widgets/flowtablewithfields.cc: 2005-07-25 Murray Cumming * configure.in: Depend on latest libgdamm. * glom/utility_widgets/imageglom.cc: * glom/data_structure/field.cc: Change for latest libgdamm API change. * glom/document/document_glom.cc: * glom/document/document_glom.h: Remove unused set_relationship_data_layout_groups(). * glom/mode_data/box_data_details.cc: on_flowtable_layout_changed(): Actually save the new layout in the document. For instance, really save portal layout changes. 2005-07-25 Murray Cumming * glom/utility_widgets/db_adddel/cellrenderer_button.cc: * glom/utility_widgets/db_adddel/cellrenderer_button.h: signal_clicked(): Add path parameter, so we know what row was clicked. * glom/utility_widgets/db_adddel/db_adddel.cc: * glom/utility_widgets/db_adddel/db_adddel.h: Open the clicked row, not just the selected row. * glom/document/document_glom.cc: * glom/document/document_glom.h: * glom/mode_data/box_data_details.cc: * glom/mode_data/box_data_details.h: * glom/utility_widgets/datawidget.cc: * glom/utility_widgets/datawidget.h: * glom/utility_widgets/flowtablewithfields.cc: * glom/utility_widgets/flowtablewithfields.h: Add an Open button next to foreign keys, when a unique non-hidden record is indicated. 2005-07-22 Murray Cumming * 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: Added virtual enable_buttons(), and moved some code there to stop the base class from making the Open button visible again for hidden-table related records. * glom/utility_widgets/db_adddel/db_adddel_withbuttons.cc: * glom/utility_widgets/db_adddel/db_adddel_withbuttons.h: Added a show_all_vfunc() implementation in case a show_all() would show the hidden buttons. 2005-07-22 Murray Cumming * glom/utility_widgets/db_adddel/cellrenderer_button.cc: Constructor: Use the OPEN stock item instead of EDIT for viewing details. Set mode to activatable so it actually responds to clicks. 2005-07-22 Murray Cumming * glom/mode_data/box_data_list.cc: Call DbAddDel::set_allow_view_details() so we get the open button and the row open button. * glom/mode_data/box_data_list_related.cc: * glom/utility_widgets/db_adddel/db_adddel.cc: * glom/utility_widgets/db_adddel/db_adddel.h: Change *use_row_button to *allow_view_details. on_button_press_event_Popup(): Do not handle double-click on the row to open the details, because it is too easy to double-click when single-clicking to edit a cell. * glom/utility_widgets/db_adddel/db_adddel_withbuttons.cc: setup_buttons(): Just hide the buttons when necessary, instead of adding and removing them. 2005-07-22 Murray Cumming * glom/document/document_glom.cc: * glom/document/document_glom.h: Added get_table_is_hidden(). * glom/frame_glom.cc: * glom/frame_glom.h: Handle signal_record_details_requested on the Notebook_Data, to show a specific record in another table. * glom/mode_data/box_data_details.cc: * glom/mode_data/box_data_details.h: Added signal_requested_related_details, emitted when a FlowTable emits its own signal_requested_related_details. * glom/utility_widgets/db_adddel/db_adddel.cc: * glom/utility_widgets/db_adddel/db_adddel.h: Added set_use_row_button(). * glom/mode_data/box_data_list_related.cc: init_db_details(): If the related table is not hidden, then add a button on each row, to navigate to the related record. * glom/mode_data/notebook_data.cc: * glom/mode_data/notebook_data.h: Catch the signal from Box_Data_Details, and emit signal_details_requested signal_record_details_requested. Added show_details(), so the parent Frame can specify a record. * glom/utility_widgets/db_adddel/Makefile.am: * glom/utility_widgets/db_adddel/cellrenderer_button.cc: * glom/utility_widgets/db_adddel/cellrenderer_button.h: New derived CellRenderer, which is just an icon at the moment. * glom/utility_widgets/flowtablewithfields.cc: * glom/utility_widgets/flowtablewithfields.h: Added signal_requested_related_details.