[glom] Combo Choices: Extra fields dialog: Fix the title.



commit 33ed49cc93dd2e9bb0f2c0667e1fc17ee3b7dbd7
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Oct 4 18:51:14 2010 +0200

    Combo Choices: Extra fields dialog: Fix the title.
    
    * glom/glom_developer.glade: dialog_fieldslist: Remove the title, which
    was the old title left over from when this was just for secondary sort fields.
    * glom/mode_design/layout/layout_item_dialogs/box_formatting.cc:
    * glom/mode_design/layout/layout_item_dialogs/dialog_group_by.cc:
    Set the title manually so it is appropriate to each use.

 ChangeLog                                          |   10 ++++++++++
 glom/glom_developer.glade                          |    2 +-
 .../layout/layout_item_dialogs/box_formatting.cc   |    1 +
 .../layout/layout_item_dialogs/dialog_group_by.cc  |    1 +
 4 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3ff6520..37470c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,16 @@
 
 2010-10-04  Murray Cumming  <murrayc murrayc com>
 
+	Combo Choices: Extra fields dialog: Fix the title. 
+
+	* glom/glom_developer.glade: dialog_fieldslist: Remove the title, which 
+	was the old title left over from when this was just for secondary sort fields.
+	* glom/mode_design/layout/layout_item_dialogs/box_formatting.cc:
+	* glom/mode_design/layout/layout_item_dialogs/dialog_group_by.cc:
+	Set the title manually so it is appropriate to each use.
+
+2010-10-04  Murray Cumming  <murrayc murrayc com>
+
 	CellRendererDbList: Show related choices.
 
 	* glom/mode_data/datawidget/combochoiceswithtreemodel.[h|cc]: 
diff --git a/glom/glom_developer.glade b/glom/glom_developer.glade
index c5bada8..911e192 100644
--- a/glom/glom_developer.glade
+++ b/glom/glom_developer.glade
@@ -5742,7 +5742,7 @@ Which user should be added to this group?</property>
     </action-widgets>
   </object>
   <object class="GtkDialog" id="dialog_fieldslist">
-    <property name="title" translatable="yes">Group By - Secondary Fields</property>
+    <property name="title" translatable="no"></property>
     <property name="type_hint">dialog</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox8">
diff --git a/glom/mode_design/layout/layout_item_dialogs/box_formatting.cc b/glom/mode_design/layout/layout_item_dialogs/box_formatting.cc
index 2f46482..04cfc0a 100644
--- a/glom/mode_design/layout/layout_item_dialogs/box_formatting.cc
+++ b/glom/mode_design/layout/layout_item_dialogs/box_formatting.cc
@@ -156,6 +156,7 @@ Box_Formatting::Box_Formatting(BaseObjectType* cobject, const Glib::RefPtr<Gtk::
   {
     Utils::get_glade_widget_derived_with_warning(m_dialog_choices_extra_fields);
     add_view(m_dialog_choices_extra_fields); //Give it access to the document.
+    m_dialog_choices_extra_fields->set_title(_("Extra Fields"));
   }
 
   show_all_children();
diff --git a/glom/mode_design/layout/layout_item_dialogs/dialog_group_by.cc b/glom/mode_design/layout/layout_item_dialogs/dialog_group_by.cc
index 147b550..a81de44 100644
--- a/glom/mode_design/layout/layout_item_dialogs/dialog_group_by.cc
+++ b/glom/mode_design/layout/layout_item_dialogs/dialog_group_by.cc
@@ -158,6 +158,7 @@ void Dialog_GroupBy::on_button_secondary_fields()
   {
     Utils::get_glade_widget_derived_with_warning(m_dialog_choose_secondary_fields);
     add_view(m_dialog_choose_secondary_fields); //Give it access to the document.
+    m_dialog_choose_secondary_fields->set_title(_("Group By - Secondary Fields"));
   }
 
   if(m_dialog_choose_secondary_fields)



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