glom r1603 - in trunk: . glom/mode_data



Author: murrayc
Date: Mon May  5 15:48:41 2008
New Revision: 1603
URL: http://svn.gnome.org/viewvc/glom?rev=1603&view=rev

Log:
2008-05-05  Murray Cumming  <murrayc murrayc com>

* glom/mode_data/box_data_list_related.cc: constructor:
Use add_view() to give the DbAddDel access to the document, to avoid 
the repeated warning about the unexpected field type

Modified:
   trunk/ChangeLog
   trunk/glom/mode_data/box_data_list_related.cc

Modified: trunk/glom/mode_data/box_data_list_related.cc
==============================================================================
--- trunk/glom/mode_data/box_data_list_related.cc	(original)
+++ trunk/glom/mode_data/box_data_list_related.cc	Mon May  5 15:48:41 2008
@@ -35,6 +35,7 @@
 
   m_AddDel.set_rules_hint(); //Use alternating row colors when the theme does that.
   m_Alignment.add(m_AddDel);
+  add_view(&m_AddDel); //Give it access to the document.
   m_AddDel.show();
   m_Alignment.show();
   



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]