CVSROOT: /cvs/gnome Module name: glom Changes by: murrayc 05/04/23 15:48:28
Modified files: . : ChangeLog examples : example_smallbusiness.glom glom : base_db.cc base_db.h box_db_table.cc box_db_table.h glom/mode_data : box_data.cc box_data.h box_data_details.cc box_data_list.cc box_data_list.h box_data_list_related.cc box_data_list_related.h notebook_data.cc notebook_data.h glom/mode_design/fields: box_db_table_definition.cc glom/mode_find : box_data_list_find.cc glom/utility_widgets: flowtablewithfields.cc glom/utility_widgets/db_adddel: db_adddel.cc Log message: 2005-04-23 Murray Cumming<[EMAIL PROTECTED]> * glom/box_db_table.cc: * glom/box_db_table.h: Remove fill_fields(). It has no use here. Its equivalent is the new fill_database_layout() in Box_Data, a derived class. * glom/mode_data/box_data.cc: * glom/mode_data/box_data.h: Add virtual fill_database_layout() so the derived implementations can be called from init_db_details(). * glom/mode_data/box_data_details.cc: fill_database_layout() is now called by the base class, at the appropriate time, so we do not need to call it from fill_database(). refresh_db_details(): Call fill_from_database() instead of init_db_details() so we do not unnecessarily rebuild the whole layout UI. * glom/mode_data/box_data_list.cc: * glom/mode_data/box_data_list.h: fill_fields(): Rename to fill_database_layout(), which is now called from the base class. fill_from_database(): Do not call fill_fields/ fill_database_layout() unnecessarily here. * glom/mode_data/notebook_data.cc: * glom/mode_data/notebook_data.h: Rename on_Details_user_requested_details() to on_list_user_requested_details() because that it is a signal on list, not details. * glom/mode_design/fields/box_db_table_definition.cc: fill_from_database(): Call fill_fields() because the base class does not call it anymore. * glom/utility_widgets/flowtablewithfields.cc: add_layout_item_at_position(). When adding a Box_Data_List_Related portal, call add_view() before init_db_details() because the latter needs the document. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=glom&who=murrayc&date=explicit&mindate=2005-04-23%2015:47&maxdate=2005-04-23%2015:49 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list