[glom] Update the example files for the portal rows count change.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Update the example files for the portal rows count change.
- Date: Tue, 11 Oct 2011 21:17:10 +0000 (UTC)
commit 3610baf55b29ecf9b0e469d5837d8b8726e7dd86
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Oct 11 22:41:10 2011 +0200
Update the example files for the portal rows count change.
* examples/example_film_manager.glom:
* examples/example_music_collection.glom:
* examples/example_project_manager.glom:
* examples/example_smallbusiness.glom: Adapt to new document structure.
ChangeLog | 9 +++++++++
examples/example_film_manager.glom | 32 ++++++++++++++++----------------
examples/example_music_collection.glom | 6 +++---
examples/example_project_manager.glom | 8 ++++----
examples/example_smallbusiness.glom | 2 +-
5 files changed, 33 insertions(+), 24 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 94c566c..844237d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2011-10-11 Murray Cumming <murrayc murrayc com>
+ Update the example files for the portal rows count change.
+
+ * examples/example_film_manager.glom:
+ * examples/example_music_collection.glom:
+ * examples/example_project_manager.glom:
+ * examples/example_smallbusiness.glom: Adapt to new document structure.
+
+2011-10-11 Murray Cumming <murrayc murrayc com>
+
Related Records Portals: Change rows count to min and max counts.
* glom/glom_document.dtd: Adapted.
diff --git a/examples/example_film_manager.glom b/examples/example_film_manager.glom
index 6c21b24..260f7ed 100644
--- a/examples/example_film_manager.glom
+++ b/examples/example_film_manager.glom
@@ -446,7 +446,7 @@
<formatting/>
</data_layout_item>
</data_layout_group>
- <data_layout_portal relationship="scenes" portal_rows_count="6">
+ <data_layout_portal relationship="scenes" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="scene_id" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2"/>
</data_layout_item>
@@ -522,7 +522,7 @@
</data_layout_item>
</data_layout_group>
<data_layout_group name="scenes">
- <data_layout_portal relationship="scenes" portal_rows_count="6">
+ <data_layout_portal relationship="scenes" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="scene_id" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2"/>
</data_layout_item>
@@ -747,7 +747,7 @@
</data_layout_item>
</data_layout_group>
<data_layout_group name="others">
- <data_layout_portal relationship="staff" portal_rows_count="6">
+ <data_layout_portal relationship="staff" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="contact_id" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2"/>
</data_layout_item>
@@ -1326,7 +1326,7 @@
</data_layout_group>
</data_layout_notebook>
<data_layout_notebook name="notebook_related">
- <data_layout_portal relationship="crew" portal_rows_count="6">
+ <data_layout_portal relationship="crew" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="crew_id" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2"/>
</data_layout_item>
@@ -1334,7 +1334,7 @@
<formatting/>
</data_layout_item>
</data_layout_portal>
- <data_layout_portal relationship="cast" portal_rows_count="6">
+ <data_layout_portal relationship="cast" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="character_id" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2"/>
</data_layout_item>
@@ -1679,7 +1679,7 @@
</data_layout_item>
</data_layout_group>
</data_layout_group>
- <data_layout_portal relationship="scenes" portal_rows_count="6">
+ <data_layout_portal relationship="scenes" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="scene_id" use_default_formatting="true" column_width="90">
<formatting format_thousands_separator="true" format_decimal_places="2"/>
</data_layout_item>
@@ -2089,7 +2089,7 @@
<trans loc="de_DE" val="Details"/>
<trans loc="en_GB" val="Details"/>
</trans_set>
- <data_layout_portal relationship="department_crew" portal_rows_count="6">
+ <data_layout_portal relationship="department_crew" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="crew_id" editable="true" use_default_formatting="true">
<title_custom/>
<formatting format_thousands_separator="true" format_decimal_places="2"/>
@@ -2215,7 +2215,7 @@
<data_layout_item name="description" editable="true" use_default_formatting="true">
<formatting/>
</data_layout_item>
- <data_layout_portal relationship="scenes" portal_rows_count="6">
+ <data_layout_portal relationship="scenes" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="scene_id" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2"/>
</data_layout_item>
@@ -2565,7 +2565,7 @@
</data_layout_group>
</data_layout_group>
<data_layout_group name="more">
- <data_layout_portal relationship="scenes" portal_rows_count="6">
+ <data_layout_portal relationship="scenes" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="date" editable="true" use_default_formatting="true">
<formatting/>
</data_layout_item>
@@ -3653,7 +3653,7 @@ else:
</data_layout_group>
<data_layout_group name="details_lower">
<data_layout_notebook name="notebook">
- <data_layout_portal relationship="scene_cast" portal_rows_count="6">
+ <data_layout_portal relationship="scene_cast" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="cast_id" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2"/>
</data_layout_item>
@@ -3668,7 +3668,7 @@ else:
<formatting/>
</data_layout_item>
</data_layout_portal>
- <data_layout_portal relationship="scene_extras" portal_rows_count="6" column_line_color="#000000000000" line_color="#000000000000">
+ <data_layout_portal relationship="scene_extras" portal_rows_count_min="6" portal_rows_count_max="6" column_line_color="#000000000000" line_color="#000000000000">
<data_layout_item name="contact_id" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2"/>
</data_layout_item>
@@ -3679,7 +3679,7 @@ else:
<formatting/>
</data_layout_item>
</data_layout_portal>
- <data_layout_portal relationship="scene_props" portal_rows_count="6" column_line_color="#000000000000" line_color="#000000000000">
+ <data_layout_portal relationship="scene_props" portal_rows_count_min="6" portal_rows_count_max="6" column_line_color="#000000000000" line_color="#000000000000">
<data_layout_item name="prop_id" editable="true" use_default_formatting="true" column_width="40">
<formatting format_thousands_separator="true" format_decimal_places="2"/>
</data_layout_item>
@@ -3690,7 +3690,7 @@ else:
<formatting/>
</data_layout_item>
</data_layout_portal>
- <data_layout_portal relationship="scene_costume" portal_rows_count="6" column_line_color="#000000000000" line_color="#000000000000">
+ <data_layout_portal relationship="scene_costume" portal_rows_count_min="6" portal_rows_count_max="6" column_line_color="#000000000000" line_color="#000000000000">
<data_layout_item name="costume_id" editable="true" use_default_formatting="true" column_width="40">
<formatting format_thousands_separator="true" format_decimal_places="2"/>
</data_layout_item>
@@ -3701,7 +3701,7 @@ else:
<formatting/>
</data_layout_item>
</data_layout_portal>
- <data_layout_portal relationship="scene_crew" portal_rows_count="6">
+ <data_layout_portal relationship="scene_crew" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="department_id" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2"/>
</data_layout_item>
@@ -3712,7 +3712,7 @@ else:
<formatting/>
</data_layout_item>
</data_layout_portal>
- <data_layout_portal relationship="scene_equipment" portal_rows_count="6">
+ <data_layout_portal relationship="scene_equipment" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="equipment_id" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2"/>
</data_layout_item>
@@ -3723,7 +3723,7 @@ else:
<formatting/>
</data_layout_item>
</data_layout_portal>
- <data_layout_portal relationship="scene_makeup" portal_rows_count="6" column_line_color="#000000000000" line_color="#000000000000">
+ <data_layout_portal relationship="scene_makeup" portal_rows_count_min="6" portal_rows_count_max="6" column_line_color="#000000000000" line_color="#000000000000">
<portal_navigation_relationship navigation_type="none"/>
<data_layout_item name="description" editable="true" use_default_formatting="true" column_width="103">
<formatting/>
diff --git a/examples/example_music_collection.glom b/examples/example_music_collection.glom
index 0ee5106..7ccb764 100644
--- a/examples/example_music_collection.glom
+++ b/examples/example_music_collection.glom
@@ -132,7 +132,7 @@
<data_layout_item name="year" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2" choices_related_show_all="true"/>
</data_layout_item>
- <data_layout_portal relationship="songs" portal_rows_count="6">
+ <data_layout_portal relationship="songs" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="name" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2" format_text_multiline_height_lines="6" choices_related_show_all="true"/>
</data_layout_item>
@@ -283,7 +283,7 @@
<data_layout_item name="description" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2" format_text_multiline_height_lines="6" choices_related_show_all="true"/>
</data_layout_item>
- <data_layout_portal relationship="albums" portal_rows_count="6">
+ <data_layout_portal relationship="albums" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="name" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2" format_text_multiline_height_lines="6" choices_related_show_all="true"/>
</data_layout_item>
@@ -372,7 +372,7 @@
<data_layout_item name="comments" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2" format_text_multiline_height_lines="6" choices_related_show_all="true"/>
</data_layout_item>
- <data_layout_portal relationship="albums" portal_rows_count="6">
+ <data_layout_portal relationship="albums" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="album_id" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2" choices_related_show_all="true"/>
</data_layout_item>
diff --git a/examples/example_project_manager.glom b/examples/example_project_manager.glom
index 7a32450..527ffa3 100644
--- a/examples/example_project_manager.glom
+++ b/examples/example_project_manager.glom
@@ -413,7 +413,7 @@
</data_layout_item>
</data_layout_group>
</data_layout_notebook>
- <data_layout_portal relationship="team_members" portal_rows_count="6">
+ <data_layout_portal relationship="team_members" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="team_id" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2" choices_related_show_all="true"/>
</data_layout_item>
@@ -636,7 +636,7 @@ if __name__ == "__main__":
</data_layout_item>
</data_layout_group>
<data_layout_group name="others">
- <data_layout_portal relationship="teams" portal_rows_count="6">
+ <data_layout_portal relationship="teams" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="team_id" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2" choices_related_show_all="true"/>
</data_layout_item>
@@ -927,7 +927,7 @@ if __name__ == "__main__":
</data_layout_item>
</data_layout_group>
<data_layout_group name="other">
- <data_layout_portal relationship="members" portal_rows_count="6">
+ <data_layout_portal relationship="members" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="contact_id" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2" choices_related_show_all="true"/>
</data_layout_item>
@@ -938,7 +938,7 @@ if __name__ == "__main__":
<formatting format_thousands_separator="true" format_decimal_places="2" format_text_multiline_height_lines="6" choices_related_show_all="true"/>
</data_layout_item>
</data_layout_portal>
- <data_layout_portal relationship="projects" portal_rows_count="6">
+ <data_layout_portal relationship="projects" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="project_id" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2" choices_related_show_all="true"/>
</data_layout_item>
diff --git a/examples/example_smallbusiness.glom b/examples/example_smallbusiness.glom
index 38b5a00..c1daa71 100644
--- a/examples/example_smallbusiness.glom
+++ b/examples/example_smallbusiness.glom
@@ -945,7 +945,7 @@ if __name__ == "__main__":
<formatting format_thousands_separator="true" format_decimal_places="2" format_text_multiline_height_lines="6" choices_related_show_all="true"/>
</data_layout_item>
</data_layout_group>
- <data_layout_portal relationship="invoice_lines" portal_rows_count="6">
+ <data_layout_portal relationship="invoice_lines" portal_rows_count_min="6" portal_rows_count_max="6">
<data_layout_item name="product_id" editable="true" use_default_formatting="true">
<formatting format_thousands_separator="true" format_decimal_places="2" choices_related_show_all="true"/>
</data_layout_item>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]