[glom] Notebook properties dialog: Fix a probable crash.



commit 39b359c8d87607bead59aedeb64b85aaec03b4b0
Author: Murray Cumming <murrayc murrayc com>
Date:   Sat Apr 10 09:41:50 2010 +0200

    Notebook properties dialog: Fix a probable crash.
    
    * glom/base_db.cc: :offer_notebook(): Fix a typo in the glade ID.
    I'm working on code to prevent these kinds of errors, to apply when we branch.

 ChangeLog       |    7 +++++++
 glom/base_db.cc |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 494abd9..17c906a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-04-10  Murray Cumming  <murrayc murrayc com>
+
+  Notebook properties dialog: Fix a probable crash.
+  
+	* glom/base_db.cc: :offer_notebook(): Fix a typo in the glade ID.
+	I'm working on code to prevent these kinds of errors, to apply when we branch.
+
 2010-04-09  Daniel Borgmann  <danielb openismus com>
 
 	Update NEWS file.
diff --git a/glom/base_db.cc b/glom/base_db.cc
index fffd102..20889e2 100644
--- a/glom/base_db.cc
+++ b/glom/base_db.cc
@@ -2062,7 +2062,7 @@ sharedptr<LayoutItem_Notebook> Base_DB::offer_notebook(const sharedptr<LayoutIte
 
   try
   {
-    Glib::RefPtr<Gtk::Builder> refXml = Gtk::Builder::create_from_file(Utils::get_glade_file_path("glom_developer.glade"), "box_formatting");
+    Glib::RefPtr<Gtk::Builder> refXml = Gtk::Builder::create_from_file(Utils::get_glade_file_path("glom_developer.glade"), "dialog_notebook");
 
     Dialog_Notebook* dialog = 0;
     refXml->get_widget_derived("dialog_notebook", dialog);



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