[glom/modification: 27/33] debug corrections.
- From: Murray Cumming <murrayc src gnome org>
- To: svn-commits-list gnome org
- Subject: [glom/modification: 27/33] debug corrections.
- Date: Thu, 4 Jun 2009 17:01:35 -0400 (EDT)
commit ff2c711fa562dded60240dcc61401626b66f99be
Author: Murray Cumming <murrayc murrayc com>
Date: Sun May 10 15:05:52 2009 +0200
debug corrections.
---
glom/utility_widgets/db_adddel/db_adddel.cc | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/glom/utility_widgets/db_adddel/db_adddel.cc b/glom/utility_widgets/db_adddel/db_adddel.cc
index 8b35679..ecf45c7 100644
--- a/glom/utility_widgets/db_adddel/db_adddel.cc
+++ b/glom/utility_widgets/db_adddel/db_adddel.cc
@@ -874,7 +874,7 @@ void DbAddDel::construct_specified_columns()
}
}
- m_FieldsShown = fields; //Needed by Base_DB_Table_Data::record_new().
+ m_FieldsShown = fields; //Needed by Base_DB_Table_Data::record_new_with_entered_data().
{
//Find the primary key:
@@ -2234,7 +2234,7 @@ void DbAddDel::user_changed(const Gtk::TreeModel::iterator& row, guint col)
//Update the field in the record (the record with this primary key):
const Gnome::Gda::Value field_value = get_value(row, layout_field);
- //std::cout << "Box_Data_List::on_adddel_user_changed(): field_value = " << field_value.to_string() << std::endl;
+ //std::cout << "DbAddDel::user_changed(): field_value = " << field_value.to_string() << std::endl;
//const sharedptr<const Field>& field = layout_field->m_field;
//const Glib::ustring strFieldName = layout_field->get_name();
@@ -2311,7 +2311,7 @@ void DbAddDel::user_changed(const Gtk::TreeModel::iterator& row, guint col)
else
{
//A field value was entered, but the record has not been added yet, because not enough information exists yet.
- g_warning("Box_Data_List::on_adddel_user_changed(): debug: record not yet added.");
+ g_warning("DbAddDel::user_changed(): debug: record not yet added.");
}
}
}
@@ -2382,7 +2382,7 @@ void DbAddDel::user_added(const Gtk::TreeModel::iterator& row)
if(m_find_mode)
return;
- const bool added = record_new(m_table_name, true /* use entered field data*/, primary_key_value);
+ const bool added = record_new_with_entered_data(primary_key_value);
if(added)
{
//Save the primary key value for later use:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]