more compact edit person dialog
svn: r16143
This commit is contained in:
		| @@ -1,4 +1,4 @@ | ||||
| <?xml version="1.0"?> | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <interface> | ||||
|   <!-- interface-requires gtk+ 2.12 --> | ||||
|   <!-- interface-requires grampswidgets 0.0 --> | ||||
| @@ -7,7 +7,6 @@ | ||||
|     <property name="has_focus">True</property> | ||||
|     <property name="default_height">500</property> | ||||
|     <property name="type_hint">dialog</property> | ||||
|     <property name="has_separator">False</property> | ||||
|     <signal name="delete_event" handler="on_delete_event"/> | ||||
|     <child internal-child="vbox"> | ||||
|       <object class="GtkVBox" id="vbox"> | ||||
| @@ -22,15 +21,15 @@ | ||||
|                 <child> | ||||
|                   <object class="GtkTable" id="table3"> | ||||
|                     <property name="visible">True</property> | ||||
|                     <property name="n_rows">11</property> | ||||
|                     <property name="n_columns">8</property> | ||||
|                     <property name="n_rows">9</property> | ||||
|                     <property name="n_columns">10</property> | ||||
|                     <property name="column_spacing">6</property> | ||||
|                     <property name="row_spacing">6</property> | ||||
|                     <child> | ||||
|                       <object class="GtkLabel" id="label21"> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="xalign">0</property> | ||||
|                         <property name="xpad">6</property> | ||||
|                         <property name="ypad">3</property> | ||||
|                         <property name="label" translatable="yes">_Given:</property> | ||||
|                         <property name="use_underline">True</property> | ||||
|                         <property name="justify">center</property> | ||||
| @@ -50,15 +49,16 @@ | ||||
|                         <property name="can_default">True</property> | ||||
|                         <property name="has_default">True</property> | ||||
|                         <property name="tooltip_text" translatable="yes">The person's given names</property> | ||||
|                         <property name="invisible_char">●</property> | ||||
|                         <property name="invisible_char">●</property> | ||||
|                         <signal name="focus_out_event" handler="on_given_focus_out"/> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">1</property> | ||||
|                         <property name="right_attach">4</property> | ||||
|                         <property name="right_attach">6</property> | ||||
|                         <property name="top_attach">1</property> | ||||
|                         <property name="bottom_attach">2</property> | ||||
|                         <property name="y_options"></property> | ||||
|                         <property name="y_padding">3</property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
| @@ -70,8 +70,8 @@ | ||||
|                         <property name="mnemonic_widget">call</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">4</property> | ||||
|                         <property name="right_attach">5</property> | ||||
|                         <property name="left_attach">6</property> | ||||
|                         <property name="right_attach">7</property> | ||||
|                         <property name="top_attach">1</property> | ||||
|                         <property name="bottom_attach">2</property> | ||||
|                         <property name="x_options">GTK_FILL</property> | ||||
| @@ -80,16 +80,18 @@ | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="ValidatableMaskedEntry" id="call"> | ||||
|                         <property name="width_request">75</property> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="can_focus">True</property> | ||||
|                         <property name="tooltip_text" translatable="yes">Part of the Given name that is the normally used name.</property> | ||||
|                         <property name="invisible_char">●</property> | ||||
|                         <property name="invisible_char">●</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">5</property> | ||||
|                         <property name="right_attach">6</property> | ||||
|                         <property name="left_attach">7</property> | ||||
|                         <property name="right_attach">8</property> | ||||
|                         <property name="top_attach">1</property> | ||||
|                         <property name="bottom_attach">2</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
| @@ -97,6 +99,7 @@ | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="xalign">0</property> | ||||
|                         <property name="xpad">6</property> | ||||
|                         <property name="ypad">3</property> | ||||
|                         <property name="label" translatable="yes">T_itle:</property> | ||||
|                         <property name="use_underline">True</property> | ||||
|                         <property name="mnemonic_widget">title</property> | ||||
| @@ -110,16 +113,20 @@ | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="UndoableEntry" id="title"> | ||||
|                         <property name="width_request">35</property> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="can_focus">True</property> | ||||
|                         <property name="tooltip_text" translatable="yes">A title used to refer to the person, such as 'Dr.' or 'Rev.'</property> | ||||
|                         <property name="invisible_char">●</property> | ||||
|                         <property name="invisible_char">●</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">1</property> | ||||
|                         <property name="right_attach">2</property> | ||||
|                         <property name="top_attach">2</property> | ||||
|                         <property name="bottom_attach">3</property> | ||||
|                         <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> | ||||
|                         <property name="y_options"></property> | ||||
|                         <property name="y_padding">3</property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
| @@ -141,16 +148,18 @@ | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="UndoableEntry" id="suffix"> | ||||
|                         <property name="width_request">35</property> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="can_focus">True</property> | ||||
|                         <property name="tooltip_text" translatable="yes">An optional suffix to the name, such as "Jr." or "III"</property> | ||||
|                         <property name="invisible_char">●</property> | ||||
|                         <property name="invisible_char">●</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">3</property> | ||||
|                         <property name="right_attach">4</property> | ||||
|                         <property name="top_attach">2</property> | ||||
|                         <property name="bottom_attach">3</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
| @@ -162,8 +171,8 @@ | ||||
|                         <property name="mnemonic_widget">nickname</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">4</property> | ||||
|                         <property name="right_attach">5</property> | ||||
|                         <property name="left_attach">6</property> | ||||
|                         <property name="right_attach">7</property> | ||||
|                         <property name="top_attach">2</property> | ||||
|                         <property name="bottom_attach">3</property> | ||||
|                         <property name="x_options">GTK_FILL</property> | ||||
| @@ -172,21 +181,24 @@ | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="UndoableEntry" id="nickname"> | ||||
|                         <property name="width_request">75</property> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="can_focus">True</property> | ||||
|                         <property name="tooltip_text" translatable="yes">A descriptive name given in place of or in addition to the official given name.</property> | ||||
|                         <property name="invisible_char">●</property> | ||||
|                         <property name="invisible_char">●</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">5</property> | ||||
|                         <property name="right_attach">6</property> | ||||
|                         <property name="left_attach">7</property> | ||||
|                         <property name="right_attach">8</property> | ||||
|                         <property name="top_attach">2</property> | ||||
|                         <property name="bottom_attach">3</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="GtkFrame" id="frame5"> | ||||
|                         <property name="width_request">124</property> | ||||
|                         <property name="width_request">114</property> | ||||
|                         <property name="height_request">114</property> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="label_xalign">2.2351741291171123e-10</property> | ||||
|                         <child> | ||||
| @@ -194,9 +206,8 @@ | ||||
|                             <property name="visible">True</property> | ||||
|                             <child> | ||||
|                               <object class="GtkImage" id="personPix"> | ||||
|                                 <property name="width_request">120</property> | ||||
|                                 <property name="height_request">100</property> | ||||
|                                 <property name="visible">True</property> | ||||
|                                 <property name="yalign">0</property> | ||||
|                               </object> | ||||
|                             </child> | ||||
|                           </object> | ||||
| @@ -210,53 +221,63 @@ | ||||
|                         </child> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">6</property> | ||||
|                         <property name="right_attach">8</property> | ||||
|                         <property name="left_attach">8</property> | ||||
|                         <property name="right_attach">10</property> | ||||
|                         <property name="bottom_attach">5</property> | ||||
|                         <property name="x_options"></property> | ||||
|                         <property name="y_options">GTK_FILL</property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="GtkLabel" id="prefixlabel"> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="xalign">0</property> | ||||
|                         <property name="xpad">6</property> | ||||
|                         <property name="label" translatable="yes">_Prefix:</property> | ||||
|                         <property name="use_underline">True</property> | ||||
|                         <property name="mnemonic_widget">prefix</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="top_attach">4</property> | ||||
|                         <property name="bottom_attach">5</property> | ||||
|                         <property name="left_attach">2</property> | ||||
|                         <property name="right_attach">3</property> | ||||
|                         <property name="top_attach">3</property> | ||||
|                         <property name="bottom_attach">4</property> | ||||
|                         <property name="x_options">GTK_FILL</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="UndoableEntry" id="prefix"> | ||||
|                         <property name="width_request">35</property> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="can_focus">True</property> | ||||
|                         <property name="tooltip_text" translatable="yes">An optional prefix for the family that is not used in sorting, such as "de" or "van".</property> | ||||
|                         <property name="invisible_char">●</property> | ||||
|                         <property name="invisible_char">●</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">1</property> | ||||
|                         <property name="right_attach">2</property> | ||||
|                         <property name="top_attach">4</property> | ||||
|                         <property name="bottom_attach">5</property> | ||||
|                         <property name="left_attach">3</property> | ||||
|                         <property name="right_attach">4</property> | ||||
|                         <property name="top_attach">3</property> | ||||
|                         <property name="bottom_attach">4</property> | ||||
|                         <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> | ||||
|                         <property name="y_options"></property> | ||||
|                         <property name="y_padding">3</property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="GtkLabel" id="surnamelabel"> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="xalign">0</property> | ||||
|                         <property name="xpad">6</property> | ||||
|                         <property name="label" translatable="yes">_Surname:</property> | ||||
|                         <property name="use_underline">True</property> | ||||
|                         <property name="mnemonic_widget">surname</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="top_attach">5</property> | ||||
|                         <property name="bottom_attach">6</property> | ||||
|                         <property name="left_attach">4</property> | ||||
|                         <property name="right_attach">5</property> | ||||
|                         <property name="top_attach">3</property> | ||||
|                         <property name="bottom_attach">4</property> | ||||
|                         <property name="x_options">GTK_FILL</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
| @@ -264,13 +285,13 @@ | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="can_focus">True</property> | ||||
|                         <property name="tooltip_text" translatable="yes">Part of a person's name indicating the family to which the person belongs</property> | ||||
|                         <property name="invisible_char">●</property> | ||||
|                         <property name="invisible_char">●</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">1</property> | ||||
|                         <property name="right_attach">4</property> | ||||
|                         <property name="top_attach">5</property> | ||||
|                         <property name="bottom_attach">6</property> | ||||
|                         <property name="left_attach">5</property> | ||||
|                         <property name="right_attach">6</property> | ||||
|                         <property name="top_attach">3</property> | ||||
|                         <property name="bottom_attach">4</property> | ||||
|                         <property name="x_options">GTK_FILL</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
| @@ -279,16 +300,18 @@ | ||||
|                       <object class="GtkLabel" id="label269"> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="xalign">0</property> | ||||
|                         <property name="xpad">6</property> | ||||
|                         <property name="label" translatable="yes">_Type:</property> | ||||
|                         <property name="use_underline">True</property> | ||||
|                         <property name="justify">center</property> | ||||
|                         <property name="mnemonic_widget">ntype</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="top_attach">3</property> | ||||
|                         <property name="bottom_attach">4</property> | ||||
|                         <property name="left_attach">4</property> | ||||
|                         <property name="right_attach">5</property> | ||||
|                         <property name="top_attach">2</property> | ||||
|                         <property name="bottom_attach">3</property> | ||||
|                         <property name="x_options">GTK_FILL</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
| @@ -297,10 +320,11 @@ | ||||
|                         <property name="tooltip_text" translatable="yes">An identification of what type of Name this is, eg. Birth Name, Married Name.</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">1</property> | ||||
|                         <property name="right_attach">2</property> | ||||
|                         <property name="top_attach">3</property> | ||||
|                         <property name="bottom_attach">4</property> | ||||
|                         <property name="left_attach">5</property> | ||||
|                         <property name="right_attach">6</property> | ||||
|                         <property name="top_attach">2</property> | ||||
|                         <property name="bottom_attach">3</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
| @@ -313,25 +337,28 @@ | ||||
|                         <property name="mnemonic_widget">gender</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="top_attach">9</property> | ||||
|                         <property name="bottom_attach">10</property> | ||||
|                         <property name="top_attach">7</property> | ||||
|                         <property name="bottom_attach">8</property> | ||||
|                         <property name="x_options">GTK_FILL</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="UndoableEntry" id="gid"> | ||||
|                         <property name="width_request">35</property> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="can_focus">True</property> | ||||
|                         <property name="tooltip_text" translatable="yes">A unique ID for the person.</property> | ||||
|                         <property name="invisible_char">●</property> | ||||
|                         <property name="invisible_char">●</property> | ||||
|                         <property name="width_chars">6</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">3</property> | ||||
|                         <property name="right_attach">4</property> | ||||
|                         <property name="top_attach">9</property> | ||||
|                         <property name="bottom_attach">10</property> | ||||
|                         <property name="top_attach">7</property> | ||||
|                         <property name="bottom_attach">8</property> | ||||
|                         <property name="y_options"></property> | ||||
|                         <property name="y_padding">3</property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
| @@ -345,13 +372,15 @@ | ||||
|                       <packing> | ||||
|                         <property name="left_attach">2</property> | ||||
|                         <property name="right_attach">3</property> | ||||
|                         <property name="top_attach">9</property> | ||||
|                         <property name="bottom_attach">10</property> | ||||
|                         <property name="top_attach">7</property> | ||||
|                         <property name="bottom_attach">8</property> | ||||
|                         <property name="x_options">GTK_SHRINK | GTK_FILL</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="GtkComboBox" id="gender"> | ||||
|                         <property name="width_request">35</property> | ||||
|                         <property name="visible">True</property> | ||||
|                         <child> | ||||
|                           <object class="GtkCellRendererText" id="cellrenderertext2"/> | ||||
| @@ -363,10 +392,10 @@ | ||||
|                       <packing> | ||||
|                         <property name="left_attach">1</property> | ||||
|                         <property name="right_attach">2</property> | ||||
|                         <property name="top_attach">9</property> | ||||
|                         <property name="bottom_attach">10</property> | ||||
|                         <property name="x_options">GTK_FILL</property> | ||||
|                         <property name="y_options">GTK_FILL</property> | ||||
|                         <property name="top_attach">7</property> | ||||
|                         <property name="bottom_attach">8</property> | ||||
|                         <property name="x_options">GTK_SHRINK | GTK_FILL</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
| @@ -381,11 +410,13 @@ | ||||
|                         </child> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="right_attach">8</property> | ||||
|                         <property name="top_attach">7</property> | ||||
|                         <property name="bottom_attach">8</property> | ||||
|                         <property name="right_attach">10</property> | ||||
|                         <property name="top_attach">5</property> | ||||
|                         <property name="bottom_attach">6</property> | ||||
|                         <property name="x_options">GTK_FILL</property> | ||||
|                         <property name="y_options">GTK_SHRINK</property> | ||||
|                         <property name="x_padding">6</property> | ||||
|                         <property name="y_padding">3</property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
| @@ -397,27 +428,62 @@ | ||||
|                         <property name="mnemonic_widget">cmborigin</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">4</property> | ||||
|                         <property name="right_attach">5</property> | ||||
|                         <property name="top_attach">5</property> | ||||
|                         <property name="bottom_attach">6</property> | ||||
|                         <property name="left_attach">6</property> | ||||
|                         <property name="right_attach">7</property> | ||||
|                         <property name="top_attach">3</property> | ||||
|                         <property name="bottom_attach">4</property> | ||||
|                         <property name="x_options">GTK_FILL</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="GtkComboBoxEntry" id="cmborigin"> | ||||
|                         <property name="width_request">75</property> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="tooltip_text" translatable="yes">The origin of this family name for this family, eg 'Inherited' or 'Patronymic'.</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">5</property> | ||||
|                         <property name="right_attach">6</property> | ||||
|                         <property name="top_attach">5</property> | ||||
|                         <property name="bottom_attach">6</property> | ||||
|                         <property name="left_attach">7</property> | ||||
|                         <property name="right_attach">8</property> | ||||
|                         <property name="top_attach">3</property> | ||||
|                         <property name="bottom_attach">4</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="GtkButton" id="multsurnamebtn"> | ||||
|                         <property name="label" translatable="yes">_Multiple Surnames</property> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="can_focus">True</property> | ||||
|                         <property name="receives_default">True</property> | ||||
|                         <property name="tooltip_text" translatable="yes">Indicate that the surname consists of different parts. Every surname has it's own prefix and a possible connector to the next surname. Eg., the surname Ramón y Cajal can be stored as Ramón, which is inherited from the father, the connector y, and Cajal, which is inherited from the mother.</property> | ||||
|                         <property name="use_underline">True</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="right_attach">2</property> | ||||
|                         <property name="top_attach">3</property> | ||||
|                         <property name="bottom_attach">4</property> | ||||
|                         <property name="x_options">GTK_FILL</property> | ||||
|                         <property name="y_options"></property> | ||||
|                         <property name="x_padding">6</property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="GtkLabel" id="surnlabel"> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="xalign">0</property> | ||||
|                         <property name="label" translatable="yes"><b>Multiple Surnames</b></property> | ||||
|                         <property name="use_markup">True</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="right_attach">2</property> | ||||
|                         <property name="top_attach">4</property> | ||||
|                         <property name="bottom_attach">5</property> | ||||
|                         <property name="x_options">GTK_FILL</property> | ||||
|                         <property name="y_options">GTK_SHRINK</property> | ||||
|                         <property name="y_padding">3</property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="GtkLabel" id="label1"> | ||||
|                         <property name="visible">True</property> | ||||
| @@ -426,42 +492,64 @@ | ||||
|                         <property name="label" translatable="yes">Tags:</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="top_attach">10</property> | ||||
|                         <property name="bottom_attach">11</property> | ||||
|                         <property name="left_attach">4</property> | ||||
|                         <property name="right_attach">5</property> | ||||
|                         <property name="top_attach">7</property> | ||||
|                         <property name="bottom_attach">8</property> | ||||
|                         <property name="x_options">GTK_FILL</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="GtkLabel" id="label2"> | ||||
|                       <object class="GtkHBox" id="hbox2"> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="xalign">0</property> | ||||
|                         <property name="label" translatable="yes"><b>Preferred Name </b></property> | ||||
|                         <property name="use_markup">True</property> | ||||
|                         <child> | ||||
|                           <object class="GtkLabel" id="tag_label"> | ||||
|                             <property name="visible">True</property> | ||||
|                           </object> | ||||
|                           <packing> | ||||
|                             <property name="position">0</property> | ||||
|                           </packing> | ||||
|                         </child> | ||||
|                         <child> | ||||
|                           <object class="GtkButton" id="tag_button"> | ||||
|                             <property name="visible">True</property> | ||||
|                             <property name="can_focus">True</property> | ||||
|                             <property name="receives_default">True</property> | ||||
|                             <property name="tooltip_text" translatable="yes">Edit the tag list</property> | ||||
|                             <property name="xalign">1</property> | ||||
|                           </object> | ||||
|                           <packing> | ||||
|                             <property name="expand">False</property> | ||||
|                             <property name="fill">False</property> | ||||
|                             <property name="pack_type">end</property> | ||||
|                             <property name="position">1</property> | ||||
|                           </packing> | ||||
|                         </child> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="right_attach">2</property> | ||||
|                         <property name="x_options">GTK_FILL</property> | ||||
|                         <property name="left_attach">5</property> | ||||
|                         <property name="right_attach">10</property> | ||||
|                         <property name="top_attach">7</property> | ||||
|                         <property name="bottom_attach">8</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="GtkLabel" id="tag_label"> | ||||
|                         <property name="visible">True</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">1</property> | ||||
|                         <property name="right_attach">7</property> | ||||
|                         <property name="top_attach">10</property> | ||||
|                         <property name="bottom_attach">11</property> | ||||
|                         <property name="x_options">GTK_FILL</property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="GtkHBox" id="hbox1"> | ||||
|                         <property name="visible">True</property> | ||||
|                         <child> | ||||
|                           <placeholder/> | ||||
|                           <object class="GtkLabel" id="label3"> | ||||
|                             <property name="visible">True</property> | ||||
|                             <property name="xalign">0</property> | ||||
|                             <property name="ypad">3</property> | ||||
|                             <property name="label" translatable="yes"><b>General</b></property> | ||||
|                             <property name="use_markup">True</property> | ||||
|                           </object> | ||||
|                           <packing> | ||||
|                             <property name="expand">False</property> | ||||
|                             <property name="position">0</property> | ||||
|                           </packing> | ||||
|                         </child> | ||||
|                         <child> | ||||
|                           <object class="GtkToggleButton" id="private"> | ||||
| @@ -481,105 +569,51 @@ | ||||
|                         </child> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">7</property> | ||||
|                         <property name="right_attach">8</property> | ||||
|                         <property name="top_attach">9</property> | ||||
|                         <property name="bottom_attach">10</property> | ||||
|                         <property name="right_attach">2</property> | ||||
|                         <property name="top_attach">6</property> | ||||
|                         <property name="bottom_attach">7</property> | ||||
|                         <property name="x_options">GTK_FILL</property> | ||||
|                         <property name="y_options">GTK_FILL</property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="GtkHBox" id="hbox2"> | ||||
|                       <object class="GtkHBox" id="hbox3"> | ||||
|                         <property name="visible">True</property> | ||||
|                         <child> | ||||
|                           <placeholder/> | ||||
|                           <object class="GtkLabel" id="label2"> | ||||
|                             <property name="visible">True</property> | ||||
|                             <property name="xalign">0</property> | ||||
|                             <property name="ypad">3</property> | ||||
|                             <property name="label" translatable="yes"><b>Preferred Name </b></property> | ||||
|                             <property name="use_markup">True</property> | ||||
|                           </object> | ||||
|                           <packing> | ||||
|                             <property name="position">0</property> | ||||
|                           </packing> | ||||
|                         </child> | ||||
|                         <child> | ||||
|                           <object class="GtkButton" id="tag_button"> | ||||
|                           <object class="GtkButton" id="editnamebtn"> | ||||
|                             <property name="label" translatable="yes">More Name Details</property> | ||||
|                             <property name="visible">True</property> | ||||
|                             <property name="can_focus">True</property> | ||||
|                             <property name="receives_default">True</property> | ||||
|                             <property name="tooltip_text" translatable="yes">Edit the tag list</property> | ||||
|                             <property name="xalign">1</property> | ||||
|                             <property name="image">image1</property> | ||||
|                             <signal name="clicked" handler="on_edit_name_clicked"/> | ||||
|                           </object> | ||||
|                           <packing> | ||||
|                             <property name="expand">False</property> | ||||
|                             <property name="fill">False</property> | ||||
|                             <property name="pack_type">end</property> | ||||
|                             <property name="position">1</property> | ||||
|                           </packing> | ||||
|                         </child> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">7</property> | ||||
|                         <property name="right_attach">8</property> | ||||
|                         <property name="top_attach">10</property> | ||||
|                         <property name="bottom_attach">11</property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="GtkButton" id="editnamebtn"> | ||||
|                         <property name="label" translatable="yes">More Name Details</property> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="can_focus">True</property> | ||||
|                         <property name="receives_default">True</property> | ||||
|                         <property name="tooltip_text" translatable="yes">Open the name editor to edit the preferred name in detail. This allows to set eg. Family Nick Name, Date, ...</property> | ||||
|                         <property name="image">image1</property> | ||||
|                         <signal name="clicked" handler="on_edit_name_clicked"/> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">5</property> | ||||
|                         <property name="right_attach">6</property> | ||||
|                         <property name="top_attach">3</property> | ||||
|                         <property name="bottom_attach">4</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="GtkButton" id="multsurnamebtn"> | ||||
|                         <property name="label" translatable="yes">Use _Multiple Surnames</property> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="can_focus">True</property> | ||||
|                         <property name="receives_default">True</property> | ||||
|                         <property name="tooltip_text" translatable="yes">Indicate that the surname consists of different parts. Every surname has it's own prefix and a possible connector to the next surname. Eg., the surname Ramón y Cajal can be stored as Ramón, which is inherited from the father, the connector y, and Cajal, which is inherited from the mother.</property> | ||||
|                         <property name="use_underline">True</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="left_attach">5</property> | ||||
|                         <property name="right_attach">6</property> | ||||
|                         <property name="top_attach">4</property> | ||||
|                         <property name="bottom_attach">5</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="GtkLabel" id="label3"> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="xalign">0</property> | ||||
|                         <property name="label" translatable="yes"><b>General</b></property> | ||||
|                         <property name="use_markup">True</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="right_attach">2</property> | ||||
|                         <property name="top_attach">8</property> | ||||
|                         <property name="bottom_attach">9</property> | ||||
|                         <property name="right_attach">4</property> | ||||
|                         <property name="x_options">GTK_FILL</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <object class="GtkLabel" id="surnlabel"> | ||||
|                         <property name="visible">True</property> | ||||
|                         <property name="xalign">0</property> | ||||
|                         <property name="label" translatable="yes"><b>Multiple Surnames</b></property> | ||||
|                         <property name="use_markup">True</property> | ||||
|                       </object> | ||||
|                       <packing> | ||||
|                         <property name="right_attach">2</property> | ||||
|                         <property name="top_attach">6</property> | ||||
|                         <property name="bottom_attach">7</property> | ||||
|                         <property name="x_options">GTK_FILL</property> | ||||
|                         <property name="y_options"></property> | ||||
|                       </packing> | ||||
|                       <placeholder/> | ||||
|                     </child> | ||||
|                     <child> | ||||
|                       <placeholder/> | ||||
|   | ||||
| @@ -728,7 +728,7 @@ class EditPerson(EditPrimary): | ||||
|                         i = i.subpixbuf(sub_x, sub_y, sub_width, sub_height) | ||||
|  | ||||
|                 ratio = float(max(i.get_height(), i.get_width())) | ||||
|                 scale = float(100.0)/ratio | ||||
|                 scale = float(110.0)/ratio | ||||
|                 x = int(scale*(i.get_width())) | ||||
|                 y = int(scale*(i.get_height())) | ||||
|                 i = i.scale_simple(x, y, gtk.gdk.INTERP_BILINEAR) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user