[glom] Dialog_NewRecord: Hide the layout toolbar.



commit cb16f59be6ba6beec1f3e19fdf930408932f1aeb
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Dec 30 10:09:05 2011 +0100

    Dialog_NewRecord: Hide the layout toolbar.
    
    * glom/mode_data/datawidget/dialog_new_record.cc: setup(): The toolbar is
    useless here.

 ChangeLog                                      |    7 +++++++
 glom/mode_data/datawidget/dialog_new_record.cc |    1 +
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6eda327..f4ed5e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-12-30  Murray Cumming  <murrayc murrayc com>
 
+	Dialog_NewRecord: Hide the layout toolbar.
+
+	* glom/mode_data/datawidget/dialog_new_record.cc: setup(): The toolbar is 
+	useless here.
+
+2011-12-30  Murray Cumming  <murrayc murrayc com>
+
 	Cut menu: Prevent cutting from non-editable GtkTextViews.
 
 	* glom/bakery/app_withdoc_gtk.cc: on_menu_edit_cut_activate():
diff --git a/glom/mode_data/datawidget/dialog_new_record.cc b/glom/mode_data/datawidget/dialog_new_record.cc
index f6f987b..88ebf35 100644
--- a/glom/mode_data/datawidget/dialog_new_record.cc
+++ b/glom/mode_data/datawidget/dialog_new_record.cc
@@ -56,6 +56,7 @@ Dialog_NewRecord::~Dialog_NewRecord()
 
 void Dialog_NewRecord::setup()
 {
+  m_box_details.show_layout_toolbar(false);
   m_alignment_parent->add(m_box_details);
 
   //Fill composite view:



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