Update filters and plugins for new place objects
svn: r347
This commit is contained in:
parent
7c083dee98
commit
604e035bfa
@ -44,7 +44,7 @@ class EventPlace(Filter.Filter):
|
|||||||
list.append(person.getBirth())
|
list.append(person.getBirth())
|
||||||
list.append(person.getDeath())
|
list.append(person.getDeath())
|
||||||
for event in list:
|
for event in list:
|
||||||
if self.regexp.search(event.getPlace()):
|
if self.regexp.search(event.getPlace().get_title()):
|
||||||
val = 1
|
val = 1
|
||||||
break
|
break
|
||||||
return val
|
return val
|
||||||
|
@ -15,40 +15,30 @@
|
|||||||
</project>
|
</project>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GnomeDialog</class>
|
<class>GtkDialog</class>
|
||||||
<name>placeEditor</name>
|
<name>placeEditor</name>
|
||||||
<title>Gramps - Place Editor</title>
|
<title>Gramps - Place Editor</title>
|
||||||
<type>GTK_WINDOW_TOPLEVEL</type>
|
<type>GTK_WINDOW_TOPLEVEL</type>
|
||||||
<position>GTK_WIN_POS_CENTER</position>
|
<position>GTK_WIN_POS_NONE</position>
|
||||||
<modal>False</modal>
|
<modal>False</modal>
|
||||||
<allow_shrink>False</allow_shrink>
|
<allow_shrink>True</allow_shrink>
|
||||||
<allow_grow>False</allow_grow>
|
<allow_grow>True</allow_grow>
|
||||||
<auto_shrink>False</auto_shrink>
|
<auto_shrink>False</auto_shrink>
|
||||||
<auto_close>False</auto_close>
|
|
||||||
<hide_on_close>False</hide_on_close>
|
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkVBox</class>
|
<class>GtkVBox</class>
|
||||||
<child_name>GnomeDialog:vbox</child_name>
|
<child_name>Dialog:vbox</child_name>
|
||||||
<name>dialog-vbox11</name>
|
<name>dialog-vbox12</name>
|
||||||
<homogeneous>False</homogeneous>
|
<homogeneous>False</homogeneous>
|
||||||
<spacing>8</spacing>
|
<spacing>0</spacing>
|
||||||
<child>
|
|
||||||
<padding>4</padding>
|
|
||||||
<expand>True</expand>
|
|
||||||
<fill>True</fill>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkHButtonBox</class>
|
<class>GtkHBox</class>
|
||||||
<child_name>GnomeDialog:action_area</child_name>
|
<child_name>Dialog:action_area</child_name>
|
||||||
<name>dialog-action_area11</name>
|
<name>dialog-action_area12</name>
|
||||||
<layout_style>GTK_BUTTONBOX_END</layout_style>
|
<border_width>10</border_width>
|
||||||
<spacing>8</spacing>
|
<homogeneous>True</homogeneous>
|
||||||
<child_min_width>85</child_min_width>
|
<spacing>5</spacing>
|
||||||
<child_min_height>27</child_min_height>
|
|
||||||
<child_ipad_x>7</child_ipad_x>
|
|
||||||
<child_ipad_y>0</child_ipad_y>
|
|
||||||
<child>
|
<child>
|
||||||
<padding>0</padding>
|
<padding>0</padding>
|
||||||
<expand>False</expand>
|
<expand>False</expand>
|
||||||
@ -57,37 +47,55 @@
|
|||||||
</child>
|
</child>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkButton</class>
|
<class>GtkHButtonBox</class>
|
||||||
<name>button88</name>
|
<name>hbuttonbox25</name>
|
||||||
<can_default>True</can_default>
|
<layout_style>GTK_BUTTONBOX_END</layout_style>
|
||||||
<can_focus>True</can_focus>
|
<spacing>8</spacing>
|
||||||
<signal>
|
<child_min_width>85</child_min_width>
|
||||||
<name>clicked</name>
|
<child_min_height>27</child_min_height>
|
||||||
<handler>on_apply_clicked</handler>
|
<child_ipad_x>7</child_ipad_x>
|
||||||
<object>placeEditor</object>
|
<child_ipad_y>0</child_ipad_y>
|
||||||
<last_modification_time>Sat, 18 Aug 2001 17:26:41 GMT</last_modification_time>
|
<child>
|
||||||
</signal>
|
<padding>0</padding>
|
||||||
<stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
|
<expand>True</expand>
|
||||||
</widget>
|
<fill>True</fill>
|
||||||
|
</child>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkButton</class>
|
<class>GtkButton</class>
|
||||||
<name>button90</name>
|
<name>button126</name>
|
||||||
<can_default>True</can_default>
|
<can_default>True</can_default>
|
||||||
<can_focus>True</can_focus>
|
<can_focus>True</can_focus>
|
||||||
<signal>
|
<signal>
|
||||||
<name>clicked</name>
|
<name>clicked</name>
|
||||||
<handler>destroy_passed_object</handler>
|
<handler>on_apply_clicked</handler>
|
||||||
<object>placeEditor</object>
|
<object>placeEditor</object>
|
||||||
<last_modification_time>Thu, 18 Jan 2001 02:52:48 GMT</last_modification_time>
|
<last_modification_time>Sat, 18 Aug 2001 17:26:41 GMT</last_modification_time>
|
||||||
</signal>
|
</signal>
|
||||||
<stock_button>GNOME_STOCK_BUTTON_CANCEL</stock_button>
|
<stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
|
||||||
|
<relief>GTK_RELIEF_NORMAL</relief>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkButton</class>
|
||||||
|
<name>button127</name>
|
||||||
|
<can_default>True</can_default>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<signal>
|
||||||
|
<name>clicked</name>
|
||||||
|
<handler>destroy_passed_object</handler>
|
||||||
|
<object>placeEditor</object>
|
||||||
|
<last_modification_time>Thu, 18 Jan 2001 02:52:48 GMT</last_modification_time>
|
||||||
|
</signal>
|
||||||
|
<stock_button>GNOME_STOCK_BUTTON_CANCEL</stock_button>
|
||||||
|
<relief>GTK_RELIEF_NORMAL</relief>
|
||||||
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkVBox</class>
|
<class>GtkVBox</class>
|
||||||
<name>vbox26</name>
|
<name>vbox36</name>
|
||||||
<homogeneous>False</homogeneous>
|
<homogeneous>False</homogeneous>
|
||||||
<spacing>0</spacing>
|
<spacing>0</spacing>
|
||||||
<child>
|
<child>
|
||||||
@ -98,7 +106,7 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
<name>placeEditorTitle</name>
|
<name>label262</name>
|
||||||
<signal>
|
<signal>
|
||||||
<name>clicked</name>
|
<name>clicked</name>
|
||||||
<handler>on_lupdatesource_clicked</handler>
|
<handler>on_lupdatesource_clicked</handler>
|
||||||
@ -120,7 +128,7 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkHSeparator</class>
|
<class>GtkHSeparator</class>
|
||||||
<name>hseparator12</name>
|
<name>hseparator13</name>
|
||||||
<child>
|
<child>
|
||||||
<padding>0</padding>
|
<padding>0</padding>
|
||||||
<expand>True</expand>
|
<expand>True</expand>
|
||||||
@ -130,7 +138,7 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkNotebook</class>
|
<class>GtkNotebook</class>
|
||||||
<name>notebook2</name>
|
<name>notebook3</name>
|
||||||
<width>450</width>
|
<width>450</width>
|
||||||
<height>350</height>
|
<height>350</height>
|
||||||
<can_focus>True</can_focus>
|
<can_focus>True</can_focus>
|
||||||
@ -155,7 +163,7 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkTable</class>
|
<class>GtkTable</class>
|
||||||
<name>table17</name>
|
<name>table19</name>
|
||||||
<rows>8</rows>
|
<rows>8</rows>
|
||||||
<columns>3</columns>
|
<columns>3</columns>
|
||||||
<homogeneous>False</homogeneous>
|
<homogeneous>False</homogeneous>
|
||||||
@ -164,7 +172,7 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
<name>label165</name>
|
<name>label244</name>
|
||||||
<label>Title</label>
|
<label>Title</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
@ -190,7 +198,7 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
<name>label166</name>
|
<name>label245</name>
|
||||||
<label>City</label>
|
<label>City</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
@ -216,7 +224,7 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
<name>label167</name>
|
<name>label246</name>
|
||||||
<label>State</label>
|
<label>State</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
@ -242,7 +250,7 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
<name>label232</name>
|
<name>label247</name>
|
||||||
<label>County</label>
|
<label>County</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
@ -268,7 +276,7 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
<name>label233</name>
|
<name>label248</name>
|
||||||
<label>Country</label>
|
<label>Country</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
@ -294,7 +302,7 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
<name>label234</name>
|
<name>label249</name>
|
||||||
<label>Longitude</label>
|
<label>Longitude</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
@ -320,7 +328,7 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
<name>label235</name>
|
<name>label250</name>
|
||||||
<label>Latitude</label>
|
<label>Latitude</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
@ -346,7 +354,7 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
<name>label236</name>
|
<name>label251</name>
|
||||||
<label>Source</label>
|
<label>Source</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
@ -372,7 +380,7 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkEntry</class>
|
<class>GtkEntry</class>
|
||||||
<name>entry5</name>
|
<name>entry6</name>
|
||||||
<can_focus>True</can_focus>
|
<can_focus>True</can_focus>
|
||||||
<editable>False</editable>
|
<editable>False</editable>
|
||||||
<text_visible>True</text_visible>
|
<text_visible>True</text_visible>
|
||||||
@ -564,7 +572,7 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkButton</class>
|
<class>GtkButton</class>
|
||||||
<name>button114</name>
|
<name>button119</name>
|
||||||
<sensitive>False</sensitive>
|
<sensitive>False</sensitive>
|
||||||
<can_focus>True</can_focus>
|
<can_focus>True</can_focus>
|
||||||
<label>Select</label>
|
<label>Select</label>
|
||||||
@ -589,7 +597,7 @@
|
|||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
<child_name>Notebook:tab</child_name>
|
<child_name>Notebook:tab</child_name>
|
||||||
<name>label204</name>
|
<name>label252</name>
|
||||||
<label>General</label>
|
<label>General</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
@ -601,7 +609,7 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkScrolledWindow</class>
|
<class>GtkScrolledWindow</class>
|
||||||
<name>scrolledwindow23</name>
|
<name>scrolledwindow27</name>
|
||||||
<hscrollbar_policy>GTK_POLICY_NEVER</hscrollbar_policy>
|
<hscrollbar_policy>GTK_POLICY_NEVER</hscrollbar_policy>
|
||||||
<vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
|
<vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
|
||||||
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
|
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
|
||||||
@ -610,6 +618,7 @@
|
|||||||
<widget>
|
<widget>
|
||||||
<class>GtkText</class>
|
<class>GtkText</class>
|
||||||
<name>place_note</name>
|
<name>place_note</name>
|
||||||
|
<width>500</width>
|
||||||
<can_focus>True</can_focus>
|
<can_focus>True</can_focus>
|
||||||
<editable>True</editable>
|
<editable>True</editable>
|
||||||
<text></text>
|
<text></text>
|
||||||
@ -619,7 +628,7 @@
|
|||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
<child_name>Notebook:tab</child_name>
|
<child_name>Notebook:tab</child_name>
|
||||||
<name>label205</name>
|
<name>label253</name>
|
||||||
<label>Note</label>
|
<label>Note</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
@ -631,7 +640,7 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkScrolledWindow</class>
|
<class>GtkScrolledWindow</class>
|
||||||
<name>scrolledwindow25</name>
|
<name>scrolledwindow28</name>
|
||||||
<hscrollbar_policy>GTK_POLICY_NEVER</hscrollbar_policy>
|
<hscrollbar_policy>GTK_POLICY_NEVER</hscrollbar_policy>
|
||||||
<vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
|
<vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
|
||||||
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
|
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
|
||||||
@ -639,18 +648,18 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkViewport</class>
|
<class>GtkViewport</class>
|
||||||
<name>viewport1</name>
|
<name>viewport2</name>
|
||||||
<shadow_type>GTK_SHADOW_IN</shadow_type>
|
<shadow_type>GTK_SHADOW_IN</shadow_type>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkVBox</class>
|
<class>GtkVBox</class>
|
||||||
<name>vbox34</name>
|
<name>vbox37</name>
|
||||||
<homogeneous>False</homogeneous>
|
<homogeneous>False</homogeneous>
|
||||||
<spacing>0</spacing>
|
<spacing>0</spacing>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GnomeIconList</class>
|
<class>GnomeIconList</class>
|
||||||
<name>photolist</name>
|
<name>photo_list</name>
|
||||||
<can_focus>True</can_focus>
|
<can_focus>True</can_focus>
|
||||||
<signal>
|
<signal>
|
||||||
<name>select_icon</name>
|
<name>select_icon</name>
|
||||||
@ -680,7 +689,7 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkHButtonBox</class>
|
<class>GtkHButtonBox</class>
|
||||||
<name>hbuttonbox21</name>
|
<name>hbuttonbox23</name>
|
||||||
<layout_style>GTK_BUTTONBOX_SPREAD</layout_style>
|
<layout_style>GTK_BUTTONBOX_SPREAD</layout_style>
|
||||||
<spacing>30</spacing>
|
<spacing>30</spacing>
|
||||||
<child_min_width>85</child_min_width>
|
<child_min_width>85</child_min_width>
|
||||||
@ -695,13 +704,13 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkButton</class>
|
<class>GtkButton</class>
|
||||||
<name>add_photo</name>
|
<name>button120</name>
|
||||||
<can_default>True</can_default>
|
<can_default>True</can_default>
|
||||||
<can_focus>True</can_focus>
|
<can_focus>True</can_focus>
|
||||||
<signal>
|
<signal>
|
||||||
<name>clicked</name>
|
<name>clicked</name>
|
||||||
<handler>on_addphoto_clicked</handler>
|
<handler>on_addphoto_clicked</handler>
|
||||||
<object>sourceEditor</object>
|
<object>placeEditor</object>
|
||||||
<last_modification_time>Thu, 31 May 2001 14:39:32 GMT</last_modification_time>
|
<last_modification_time>Thu, 31 May 2001 14:39:32 GMT</last_modification_time>
|
||||||
</signal>
|
</signal>
|
||||||
<label>Add Image</label>
|
<label>Add Image</label>
|
||||||
@ -710,13 +719,13 @@
|
|||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkButton</class>
|
<class>GtkButton</class>
|
||||||
<name>delete_photo</name>
|
<name>button121</name>
|
||||||
<can_default>True</can_default>
|
<can_default>True</can_default>
|
||||||
<can_focus>True</can_focus>
|
<can_focus>True</can_focus>
|
||||||
<signal>
|
<signal>
|
||||||
<name>clicked</name>
|
<name>clicked</name>
|
||||||
<handler>on_deletephoto_clicked</handler>
|
<handler>on_deletephoto_clicked</handler>
|
||||||
<object>sourceEditor</object>
|
<object>placeEditor</object>
|
||||||
<last_modification_time>Thu, 31 May 2001 14:39:16 GMT</last_modification_time>
|
<last_modification_time>Thu, 31 May 2001 14:39:16 GMT</last_modification_time>
|
||||||
</signal>
|
</signal>
|
||||||
<label>Delete Image</label>
|
<label>Delete Image</label>
|
||||||
@ -730,7 +739,7 @@
|
|||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
<child_name>Notebook:tab</child_name>
|
<child_name>Notebook:tab</child_name>
|
||||||
<name>label206</name>
|
<name>label254</name>
|
||||||
<label>Gallery</label>
|
<label>Gallery</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
@ -739,6 +748,303 @@
|
|||||||
<xpad>0</xpad>
|
<xpad>0</xpad>
|
||||||
<ypad>0</ypad>
|
<ypad>0</ypad>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkVBox</class>
|
||||||
|
<name>vbox38</name>
|
||||||
|
<homogeneous>False</homogeneous>
|
||||||
|
<spacing>0</spacing>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkFrame</class>
|
||||||
|
<name>frame2</name>
|
||||||
|
<border_width>5</border_width>
|
||||||
|
<label>Internet Addresses</label>
|
||||||
|
<label_xalign>0</label_xalign>
|
||||||
|
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
|
||||||
|
<child>
|
||||||
|
<padding>5</padding>
|
||||||
|
<expand>False</expand>
|
||||||
|
<fill>False</fill>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkTable</class>
|
||||||
|
<name>table20</name>
|
||||||
|
<rows>2</rows>
|
||||||
|
<columns>2</columns>
|
||||||
|
<homogeneous>False</homogeneous>
|
||||||
|
<row_spacing>0</row_spacing>
|
||||||
|
<column_spacing>0</column_spacing>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<name>label255</name>
|
||||||
|
<label>Description</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>1</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<child>
|
||||||
|
<left_attach>0</left_attach>
|
||||||
|
<right_attach>1</right_attach>
|
||||||
|
<top_attach>1</top_attach>
|
||||||
|
<bottom_attach>2</bottom_attach>
|
||||||
|
<xpad>0</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<xexpand>False</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<name>label256</name>
|
||||||
|
<label>Web Address</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>1</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>5</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<child>
|
||||||
|
<left_attach>0</left_attach>
|
||||||
|
<right_attach>1</right_attach>
|
||||||
|
<top_attach>0</top_attach>
|
||||||
|
<bottom_attach>1</bottom_attach>
|
||||||
|
<xpad>0</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<xexpand>False</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<name>label257</name>
|
||||||
|
<label>:</label>
|
||||||
|
<justify>GTK_JUSTIFY_LEFT</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>0</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>0</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<child>
|
||||||
|
<left_attach>1</left_attach>
|
||||||
|
<right_attach>2</right_attach>
|
||||||
|
<top_attach>1</top_attach>
|
||||||
|
<bottom_attach>2</bottom_attach>
|
||||||
|
<xpad>3</xpad>
|
||||||
|
<ypad>3</ypad>
|
||||||
|
<xexpand>False</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>False</yfill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkHBox</class>
|
||||||
|
<name>hbox2</name>
|
||||||
|
<homogeneous>False</homogeneous>
|
||||||
|
<spacing>0</spacing>
|
||||||
|
<child>
|
||||||
|
<left_attach>1</left_attach>
|
||||||
|
<right_attach>2</right_attach>
|
||||||
|
<top_attach>0</top_attach>
|
||||||
|
<bottom_attach>1</bottom_attach>
|
||||||
|
<xpad>3</xpad>
|
||||||
|
<ypad>3</ypad>
|
||||||
|
<xexpand>True</xexpand>
|
||||||
|
<yexpand>False</yexpand>
|
||||||
|
<xshrink>False</xshrink>
|
||||||
|
<yshrink>False</yshrink>
|
||||||
|
<xfill>True</xfill>
|
||||||
|
<yfill>True</yfill>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<name>label258</name>
|
||||||
|
<label>:</label>
|
||||||
|
<justify>GTK_JUSTIFY_LEFT</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>0</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>0</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
<child>
|
||||||
|
<padding>0</padding>
|
||||||
|
<expand>True</expand>
|
||||||
|
<fill>True</fill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkButton</class>
|
||||||
|
<name>button122</name>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<signal>
|
||||||
|
<name>clicked</name>
|
||||||
|
<handler>on_browse_clicked</handler>
|
||||||
|
<object>url_addr</object>
|
||||||
|
<last_modification_time>Tue, 24 Apr 2001 14:16:09 GMT</last_modification_time>
|
||||||
|
</signal>
|
||||||
|
<label>Go</label>
|
||||||
|
<relief>GTK_RELIEF_NORMAL</relief>
|
||||||
|
<child>
|
||||||
|
<padding>5</padding>
|
||||||
|
<expand>False</expand>
|
||||||
|
<fill>False</fill>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkScrolledWindow</class>
|
||||||
|
<name>scrolledwindow29</name>
|
||||||
|
<hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
|
||||||
|
<vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
|
||||||
|
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
|
||||||
|
<vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
|
||||||
|
<child>
|
||||||
|
<padding>0</padding>
|
||||||
|
<expand>True</expand>
|
||||||
|
<fill>True</fill>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkCList</class>
|
||||||
|
<name>web_list</name>
|
||||||
|
<width>500</width>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<signal>
|
||||||
|
<name>select_row</name>
|
||||||
|
<handler>on_web_list_select_row</handler>
|
||||||
|
<last_modification_time>Tue, 24 Apr 2001 14:12:50 GMT</last_modification_time>
|
||||||
|
</signal>
|
||||||
|
<columns>2</columns>
|
||||||
|
<column_widths>273,80</column_widths>
|
||||||
|
<selection_mode>GTK_SELECTION_SINGLE</selection_mode>
|
||||||
|
<show_titles>True</show_titles>
|
||||||
|
<shadow_type>GTK_SHADOW_IN</shadow_type>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<child_name>CList:title</child_name>
|
||||||
|
<name>label259</name>
|
||||||
|
<label>Web Address</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>0.5</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>0</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<child_name>CList:title</child_name>
|
||||||
|
<name>label260</name>
|
||||||
|
<label>Description</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>0.5</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>0</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkHButtonBox</class>
|
||||||
|
<name>hbuttonbox24</name>
|
||||||
|
<layout_style>GTK_BUTTONBOX_SPREAD</layout_style>
|
||||||
|
<spacing>30</spacing>
|
||||||
|
<child_min_width>85</child_min_width>
|
||||||
|
<child_min_height>27</child_min_height>
|
||||||
|
<child_ipad_x>7</child_ipad_x>
|
||||||
|
<child_ipad_y>0</child_ipad_y>
|
||||||
|
<child>
|
||||||
|
<padding>0</padding>
|
||||||
|
<expand>False</expand>
|
||||||
|
<fill>True</fill>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkButton</class>
|
||||||
|
<name>button123</name>
|
||||||
|
<can_default>True</can_default>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<signal>
|
||||||
|
<name>clicked</name>
|
||||||
|
<handler>on_add_url_clicked</handler>
|
||||||
|
<object>web_list</object>
|
||||||
|
<last_modification_time>Tue, 24 Apr 2001 13:49:05 GMT</last_modification_time>
|
||||||
|
</signal>
|
||||||
|
<label>Add</label>
|
||||||
|
<relief>GTK_RELIEF_NORMAL</relief>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkButton</class>
|
||||||
|
<name>button124</name>
|
||||||
|
<can_default>True</can_default>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<signal>
|
||||||
|
<name>clicked</name>
|
||||||
|
<handler>on_update_url_clicked</handler>
|
||||||
|
<object>web_list</object>
|
||||||
|
<last_modification_time>Tue, 24 Apr 2001 13:49:14 GMT</last_modification_time>
|
||||||
|
</signal>
|
||||||
|
<label>Edit</label>
|
||||||
|
<relief>GTK_RELIEF_NORMAL</relief>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkButton</class>
|
||||||
|
<name>button125</name>
|
||||||
|
<can_default>True</can_default>
|
||||||
|
<can_focus>True</can_focus>
|
||||||
|
<signal>
|
||||||
|
<name>clicked</name>
|
||||||
|
<handler>on_delete_url_clicked</handler>
|
||||||
|
<object>web_list</object>
|
||||||
|
<last_modification_time>Tue, 24 Apr 2001 13:55:39 GMT</last_modification_time>
|
||||||
|
</signal>
|
||||||
|
<label>Delete</label>
|
||||||
|
<relief>GTK_RELIEF_NORMAL</relief>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkLabel</class>
|
||||||
|
<child_name>Notebook:tab</child_name>
|
||||||
|
<name>label261</name>
|
||||||
|
<label>Internet</label>
|
||||||
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
|
<wrap>False</wrap>
|
||||||
|
<xalign>0.5</xalign>
|
||||||
|
<yalign>0.5</yalign>
|
||||||
|
<xpad>0</xpad>
|
||||||
|
<ypad>0</ypad>
|
||||||
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
@ -102,8 +102,8 @@ class AncestorReport:
|
|||||||
N = person.getPrimaryName().getName()
|
N = person.getPrimaryName().getName()
|
||||||
b = person.getBirth().getDate()
|
b = person.getBirth().getDate()
|
||||||
d = person.getDeath().getDate()
|
d = person.getDeath().getDate()
|
||||||
B = person.getBirth().getPlace()
|
B = person.getBirth().getPlace().get_title()
|
||||||
D = person.getDeath().getPlace()
|
D = person.getDeath().getPlace().get_title()
|
||||||
i = "%s" % person.getId()
|
i = "%s" % person.getId()
|
||||||
A = Config.attr_name
|
A = Config.attr_name
|
||||||
a = ""
|
a = ""
|
||||||
|
@ -170,7 +170,7 @@ class AncestorReport:
|
|||||||
birth = person.getBirth()
|
birth = person.getBirth()
|
||||||
if birth:
|
if birth:
|
||||||
date = birth.getDateObj().get_start_date()
|
date = birth.getDateObj().get_start_date()
|
||||||
place = birth.getPlace()
|
place = birth.getPlace().get_title()
|
||||||
if place[-1:] == '.':
|
if place[-1:] == '.':
|
||||||
place = place[:-1]
|
place = place[:-1]
|
||||||
if date.getDate() != "" or place != "":
|
if date.getDate() != "" or place != "":
|
||||||
@ -199,7 +199,7 @@ class AncestorReport:
|
|||||||
|
|
||||||
if death:
|
if death:
|
||||||
date = death.getDateObj().get_start_date()
|
date = death.getDateObj().get_start_date()
|
||||||
place = death.getPlace()
|
place = death.getPlace().get_title()
|
||||||
if place[-1:] == '.':
|
if place[-1:] == '.':
|
||||||
place = place[:-1]
|
place = place[:-1]
|
||||||
if date.getDate() != "" or place != "":
|
if date.getDate() != "" or place != "":
|
||||||
@ -240,7 +240,7 @@ class AncestorReport:
|
|||||||
|
|
||||||
if buried:
|
if buried:
|
||||||
date = buried.getDateObj().get_start_date()
|
date = buried.getDateObj().get_start_date()
|
||||||
place = buried.getPlace()
|
place = buried.getPlace().get_title()
|
||||||
if place[-1:] == '.':
|
if place[-1:] == '.':
|
||||||
place = place[:-1]
|
place = place[:-1]
|
||||||
if date.getDate() != "" or place != "":
|
if date.getDate() != "" or place != "":
|
||||||
|
@ -295,7 +295,7 @@ class EventComparison:
|
|||||||
added = 0
|
added = 0
|
||||||
if first:
|
if first:
|
||||||
tlist = [name,birth.getDate(),death.getDate()]
|
tlist = [name,birth.getDate(),death.getDate()]
|
||||||
blist = ["",birth.getPlace(),death.getPlace()]
|
blist = ["",birth.getPlace().get_title(),death.getPlace().get_title()]
|
||||||
else:
|
else:
|
||||||
tlist = ["","",""]
|
tlist = ["","",""]
|
||||||
blist = ["","",""]
|
blist = ["","",""]
|
||||||
@ -305,7 +305,7 @@ class EventComparison:
|
|||||||
event = mylist[0]
|
event = mylist[0]
|
||||||
del mylist[0]
|
del mylist[0]
|
||||||
tlist.append(event.getDate())
|
tlist.append(event.getDate())
|
||||||
blist.append(event.getPlace())
|
blist.append(event.getPlace().get_title())
|
||||||
added = 1
|
added = 1
|
||||||
else:
|
else:
|
||||||
tlist.append("")
|
tlist.append("")
|
||||||
@ -396,8 +396,8 @@ class EventComparison:
|
|||||||
while done == 0:
|
while done == 0:
|
||||||
added = 0
|
added = 0
|
||||||
if first:
|
if first:
|
||||||
tlist = [name,birth.getDate(),death.getDate()]
|
tlist = [name,birth.getDate(),death.getDate().get_title()]
|
||||||
blist = ["",birth.getPlace(),death.getPlace()]
|
blist = ["",birth.getPlace(),death.getPlace().get_title()]
|
||||||
else:
|
else:
|
||||||
tlist = ["","",""]
|
tlist = ["","",""]
|
||||||
blist = ["","",""]
|
blist = ["","",""]
|
||||||
@ -407,7 +407,7 @@ class EventComparison:
|
|||||||
event = mylist[0]
|
event = mylist[0]
|
||||||
del mylist[0]
|
del mylist[0]
|
||||||
tlist.append(event.getDate())
|
tlist.append(event.getDate())
|
||||||
blist.append(event.getPlace())
|
blist.append(event.getPlace().get_title())
|
||||||
added = 1
|
added = 1
|
||||||
else:
|
else:
|
||||||
tlist.append("")
|
tlist.append("")
|
||||||
|
@ -164,7 +164,7 @@ class FamilyGroup:
|
|||||||
self.doc.end_cell()
|
self.doc.end_cell()
|
||||||
self.doc.start_cell("TextContentsEnd")
|
self.doc.start_cell("TextContentsEnd")
|
||||||
self.doc.start_paragraph('Normal')
|
self.doc.start_paragraph('Normal')
|
||||||
self.doc.write_text(birth.getPlace())
|
self.doc.write_text(birth.getPlace().get_title())
|
||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
self.doc.end_cell()
|
self.doc.end_cell()
|
||||||
self.doc.end_row()
|
self.doc.end_row()
|
||||||
@ -182,7 +182,7 @@ class FamilyGroup:
|
|||||||
self.doc.end_cell()
|
self.doc.end_cell()
|
||||||
self.doc.start_cell("TextContentsEnd")
|
self.doc.start_cell("TextContentsEnd")
|
||||||
self.doc.start_paragraph('Normal')
|
self.doc.start_paragraph('Normal')
|
||||||
self.doc.write_text(death.getPlace())
|
self.doc.write_text(death.getPlace().get_title())
|
||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
self.doc.end_cell()
|
self.doc.end_cell()
|
||||||
self.doc.end_row()
|
self.doc.end_row()
|
||||||
@ -228,7 +228,7 @@ class FamilyGroup:
|
|||||||
def dump_child_event(self,text,name,event):
|
def dump_child_event(self,text,name,event):
|
||||||
if event:
|
if event:
|
||||||
date = event.getDate()
|
date = event.getDate()
|
||||||
place = event.getPlace()
|
place = event.getPlace().get_title()
|
||||||
else:
|
else:
|
||||||
date = ""
|
date = ""
|
||||||
place = ""
|
place = ""
|
||||||
|
@ -348,7 +348,7 @@ def print_event(html,name,event):
|
|||||||
return
|
return
|
||||||
|
|
||||||
date = event.getDate()
|
date = event.getDate()
|
||||||
place = event.getPlace()
|
place = event.getPlace().get_title()
|
||||||
|
|
||||||
if date != "" or place != "":
|
if date != "" or place != "":
|
||||||
html.write("<H2>%s</H2>\n" % name)
|
html.write("<H2>%s</H2>\n" % name)
|
||||||
@ -465,7 +465,7 @@ def dump_person(person,prefix,templateTop,templateBottom,targetDir):
|
|||||||
|
|
||||||
marriage = family.getMarriage()
|
marriage = family.getMarriage()
|
||||||
if marriage and not alive and not spouse_alive:
|
if marriage and not alive and not spouse_alive:
|
||||||
place = marriage.getPlace()
|
place = marriage.getPlace().get_title()
|
||||||
date = marriage.getDate()
|
date = marriage.getDate()
|
||||||
if place:
|
if place:
|
||||||
txt = _("Marriage place")
|
txt = _("Marriage place")
|
||||||
|
@ -113,7 +113,7 @@ class IndivSummary:
|
|||||||
return
|
return
|
||||||
name = event.getName()
|
name = event.getName()
|
||||||
date = event.getDate()
|
date = event.getDate()
|
||||||
place = event.getPlace()
|
place = event.getPlace().get_title()
|
||||||
description = event.getDescription()
|
description = event.getDescription()
|
||||||
if date == "":
|
if date == "":
|
||||||
if place == "":
|
if place == "":
|
||||||
|
@ -479,15 +479,15 @@ class Merge:
|
|||||||
|
|
||||||
name1 = person1.getPrimaryName().getName()
|
name1 = person1.getPrimaryName().getName()
|
||||||
death1 = person1.getDeath().getDate()
|
death1 = person1.getDeath().getDate()
|
||||||
dplace1 = person1.getDeath().getPlace()
|
dplace1 = person1.getDeath().getPlace().get_title()
|
||||||
birth1 = person1.getBirth().getDate()
|
birth1 = person1.getBirth().getDate()
|
||||||
bplace1 = person1.getBirth().getPlace()
|
bplace1 = person1.getBirth().getPlace().get_title()
|
||||||
|
|
||||||
name2 = person2.getPrimaryName().getName()
|
name2 = person2.getPrimaryName().getName()
|
||||||
death2 = person2.getDeath().getDate()
|
death2 = person2.getDeath().getDate()
|
||||||
dplace2 = person2.getDeath().getPlace()
|
dplace2 = person2.getDeath().getPlace().get_title()
|
||||||
birth2 = person2.getBirth().getDate()
|
birth2 = person2.getBirth().getDate()
|
||||||
bplace2 = person2.getBirth().getPlace()
|
bplace2 = person2.getBirth().getPlace().get_title()
|
||||||
|
|
||||||
if f2 and not f1:
|
if f2 and not f1:
|
||||||
self.topDialog.get_widget("bfather2").set_active(1)
|
self.topDialog.get_widget("bfather2").set_active(1)
|
||||||
|
@ -616,7 +616,7 @@ class GedcomParser:
|
|||||||
elif matches[1] == "BIRT":
|
elif matches[1] == "BIRT":
|
||||||
event = Event()
|
event = Event()
|
||||||
if self.person.getBirth().getDate() != "" or \
|
if self.person.getBirth().getDate() != "" or \
|
||||||
self.person.getBirth().getPlace() != "":
|
self.person.getBirth().getPlace().get_title() != "":
|
||||||
event.setName("Alternate Birth")
|
event.setName("Alternate Birth")
|
||||||
self.person.addEvent(event)
|
self.person.addEvent(event)
|
||||||
else:
|
else:
|
||||||
@ -631,7 +631,7 @@ class GedcomParser:
|
|||||||
elif matches[1] == "DEAT":
|
elif matches[1] == "DEAT":
|
||||||
event = Event()
|
event = Event()
|
||||||
if self.person.getDeath().getDate() != "" or \
|
if self.person.getDeath().getDate() != "" or \
|
||||||
self.person.getDeath().getPlace() != "":
|
self.person.getDeath().getPlace().get_title() != "":
|
||||||
event.setName("Alternate Death")
|
event.setName("Alternate Death")
|
||||||
self.person.addEvent(event)
|
self.person.addEvent(event)
|
||||||
else:
|
else:
|
||||||
|
@ -300,7 +300,7 @@ class IndividualPage:
|
|||||||
continue
|
continue
|
||||||
name = _(event.getName())
|
name = _(event.getName())
|
||||||
date = event.getDate()
|
date = event.getDate()
|
||||||
place = event.getPlace()
|
place = event.getPlace().get_title()
|
||||||
description = event.getDescription()
|
description = event.getDescription()
|
||||||
if date == "":
|
if date == "":
|
||||||
if place == "":
|
if place == "":
|
||||||
@ -346,7 +346,7 @@ class IndividualPage:
|
|||||||
return
|
return
|
||||||
name = event.getName()
|
name = event.getName()
|
||||||
date = event.getDate()
|
date = event.getDate()
|
||||||
place = event.getPlace()
|
place = event.getPlace().get_title()
|
||||||
description = event.getDescription()
|
description = event.getDescription()
|
||||||
if date == "":
|
if date == "":
|
||||||
if place == "":
|
if place == "":
|
||||||
|
@ -262,8 +262,8 @@ def write_long_text(g,tag,level,note):
|
|||||||
def dump_event_stats(g,event):
|
def dump_event_stats(g,event):
|
||||||
if event.getSaveDate() != "":
|
if event.getSaveDate() != "":
|
||||||
g.write("2 DATE %s\n" % cnvtxt(event.getSaveDate()))
|
g.write("2 DATE %s\n" % cnvtxt(event.getSaveDate()))
|
||||||
if event.getPlace() != "":
|
if event.getPlace().get_title() != "":
|
||||||
g.write("2 PLAC %s\n" % cnvtxt(event.getPlace()))
|
g.write("2 PLAC %s\n" % cnvtxt(event.getPlace().get_title()))
|
||||||
if event.getNote() != "":
|
if event.getNote() != "":
|
||||||
write_long_text(g,"NOTE",2,event.getNote())
|
write_long_text(g,"NOTE",2,event.getNote())
|
||||||
if event.getSourceRef() != None:
|
if event.getSourceRef() != None:
|
||||||
@ -368,13 +368,13 @@ def write_person(g,person):
|
|||||||
|
|
||||||
birth = person.getBirth()
|
birth = person.getBirth()
|
||||||
if not (private and birth.getPrivacy()):
|
if not (private and birth.getPrivacy()):
|
||||||
if birth.getSaveDate() != "" or birth.getPlace() != "":
|
if birth.getSaveDate() != "" or birth.getPlace().get_title() != "":
|
||||||
g.write("1 BIRT\n")
|
g.write("1 BIRT\n")
|
||||||
dump_event_stats(g,birth)
|
dump_event_stats(g,birth)
|
||||||
|
|
||||||
death = person.getDeath()
|
death = person.getDeath()
|
||||||
if not (private and death.getPrivacy()):
|
if not (private and death.getPrivacy()):
|
||||||
if death.getSaveDate() != "" or death.getPlace() != "":
|
if death.getSaveDate() != "" or death.getPlace().get_title() != "":
|
||||||
g.write("1 DEAT\n")
|
g.write("1 DEAT\n")
|
||||||
dump_event_stats(g,death)
|
dump_event_stats(g,death)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user