-
Murray Cumming authored
2006-01-12 Murray Cumming <murrayc@murrayc.com> * glom/utility_widgets/db_adddel/db_adddel.cc: * glom/utility_widgets/db_adddel/db_adddel.h: * glom/utility_widgets/db_adddel/glom_db_treemodel.cc: * glom/utility_widgets/db_adddel/glom_db_treemodel.h: Define the placeholder row as the last row, whose existance we cause just by increasing the number of rows, so that iter_next_vfunc() gives one more row, instead of marking a boolean. This simplifies things and prevents extra placeholder rows being generated. * glom/base_db.cc: * glom/frame_glom.cc: * glom/mode_data/box_data.cc: * glom/mode_data/box_data.h: * glom/mode_data/box_data_details.cc: * glom/mode_data/box_data_details.h: * glom/mode_data/box_data_list.cc: * glom/mode_data/box_data_list_related.cc: * glom/mode_data/box_data_list_related.h: * glom/mode_data/notebook_data.cc: * glom/mode_find/box_data_list_find.cc: * glom/utility_widgets/flowtablewithfields.cc: * glom/utility_widgets/imageglom.cc: Adapt to new API. And some changes to ensure that find results are shown in the appropriate view depending on whether there are >1 records found.
90c26844