Allow place type combobox to receive focus. Store custom place types in the metadata table.
445 lines
22 KiB
XML
445 lines
22 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<!-- Generated with glade 3.16.1 -->
|
||
<interface>
|
||
<requires lib="gtk+" version="3.0"/>
|
||
<!-- interface-requires grampswidgets 0.0 -->
|
||
<object class="GtkDialog" id="editplace">
|
||
<property name="can_focus">False</property>
|
||
<property name="type_hint">dialog</property>
|
||
<child internal-child="vbox">
|
||
<object class="GtkBox" id="dialog-vbox19">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<child internal-child="action_area">
|
||
<object class="GtkButtonBox" id="dialog-action_area19">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="layout_style">end</property>
|
||
<child>
|
||
<object class="GtkButton" id="cancel">
|
||
<property name="label">gtk-cancel</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="can_default">True</property>
|
||
<property name="receives_default">True</property>
|
||
<property name="use_stock">True</property>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">False</property>
|
||
<property name="position">0</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkButton" id="ok">
|
||
<property name="label">gtk-ok</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="can_default">True</property>
|
||
<property name="has_default">True</property>
|
||
<property name="receives_default">True</property>
|
||
<property name="use_stock">True</property>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">False</property>
|
||
<property name="position">1</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkButton" id="help">
|
||
<property name="label">gtk-help</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="can_default">True</property>
|
||
<property name="receives_default">True</property>
|
||
<property name="use_stock">True</property>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">False</property>
|
||
<property name="position">2</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">True</property>
|
||
<property name="pack_type">end</property>
|
||
<property name="position">0</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkVBox" id="vbox36">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<child>
|
||
<object class="GtkTable" id="table66">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="border_width">12</property>
|
||
<property name="n_rows">4</property>
|
||
<property name="n_columns">5</property>
|
||
<property name="column_spacing">6</property>
|
||
<property name="row_spacing">4</property>
|
||
<child>
|
||
<placeholder/>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel" id="label244">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="xalign">0</property>
|
||
<property name="label" translatable="yes">_Title:</property>
|
||
<property name="use_underline">True</property>
|
||
<property name="justify">center</property>
|
||
<property name="mnemonic_widget">place_title</property>
|
||
</object>
|
||
<packing>
|
||
<property name="x_options">GTK_FILL</property>
|
||
<property name="y_options"/>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel" id="label249">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="xalign">0</property>
|
||
<property name="label" translatable="yes">L_atitude:</property>
|
||
<property name="use_underline">True</property>
|
||
<property name="justify">center</property>
|
||
<property name="mnemonic_widget">lat_entry</property>
|
||
</object>
|
||
<packing>
|
||
<property name="top_attach">2</property>
|
||
<property name="bottom_attach">3</property>
|
||
<property name="x_options">GTK_FILL</property>
|
||
<property name="y_options"/>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel" id="label250">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="xalign">0</property>
|
||
<property name="label" translatable="yes">_Longitude:</property>
|
||
<property name="use_underline">True</property>
|
||
<property name="justify">center</property>
|
||
<property name="mnemonic_widget">lon_entry</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left_attach">2</property>
|
||
<property name="right_attach">3</property>
|
||
<property name="top_attach">2</property>
|
||
<property name="bottom_attach">3</property>
|
||
<property name="x_options">GTK_FILL</property>
|
||
<property name="y_options"/>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="UndoableEntry" id="place_title">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="tooltip_text" translatable="yes">Full title of this place.</property>
|
||
<property name="invisible_char">●</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left_attach">1</property>
|
||
<property name="right_attach">5</property>
|
||
<property name="y_options"/>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel" id="label655">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="xalign">0</property>
|
||
<property name="label" translatable="yes">_ID:</property>
|
||
<property name="use_underline">True</property>
|
||
<property name="mnemonic_widget">gid</property>
|
||
</object>
|
||
<packing>
|
||
<property name="top_attach">3</property>
|
||
<property name="bottom_attach">4</property>
|
||
<property name="x_options">GTK_FILL</property>
|
||
<property name="y_options"/>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="ValidatableMaskedEntry" id="lat_entry">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="tooltip_text" translatable="yes">Latitude (position above the Equator) of the place in decimal or degree notation.
|
||
Eg, valid values are 12.0154, 50°52′21.92″N, N50°52′21.92″ or 50:52:21.92
|
||
You can set these values via the Geography View by searching the place, or via a map service in the place view.</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="y_options"/>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="ValidatableMaskedEntry" id="lon_entry">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="tooltip_text" translatable="yes">Longitude (position relative to the Prime, or Greenwich, Meridian) of the place in decimal or degree notation.
|
||
Eg, valid values are -124.3647, 124°52′21.92″E, E124°52′21.92″ or 124:52:21.92
|
||
You can set these values via the Geography View by searching the place, or via a map service in the place view.</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"/>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkBox" id="box1">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="spacing">6</property>
|
||
<child>
|
||
<object class="UndoableEntry" id="gid">
|
||
<property name="width_request">75</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="tooltip_text" translatable="yes">A unique ID to identify the place</property>
|
||
<property name="invisible_char">●</property>
|
||
<property name="width_chars">6</property>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">0</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel" id="label5">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="xalign">0</property>
|
||
<property name="label" translatable="yes">Code:</property>
|
||
<property name="use_underline">True</property>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">1</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="UndoableEntry" id="code_entry">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="tooltip_text" translatable="yes">Code associated with this place. Eg Country Code or Postal Code.</property>
|
||
<property name="invisible_char">●</property>
|
||
<property name="width_chars">8</property>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">True</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">2</property>
|
||
</packing>
|
||
</child>
|
||
</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="y_options">GTK_FILL</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkToggleButton" id="private">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="receives_default">True</property>
|
||
<property name="relief">none</property>
|
||
<child>
|
||
<object class="GtkImage" id="image">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="icon_name">gtk-dialog-authentication</property>
|
||
<child internal-child="accessible">
|
||
<object class="AtkObject" id="image-atkobject">
|
||
<property name="AtkObject::accessible-description" translatable="yes">Privacy</property>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
<child internal-child="accessible">
|
||
<object class="AtkObject" id="private-atkobject">
|
||
<property name="AtkObject::accessible-name" translatable="yes">Private</property>
|
||
</object>
|
||
</child>
|
||
<accelerator key="p" signal="activate" modifiers="GDK_CONTROL_MASK"/>
|
||
</object>
|
||
<packing>
|
||
<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"/>
|
||
<property name="y_options"/>
|
||
</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="use_stock">True</property>
|
||
</object>
|
||
<packing>
|
||
<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"/>
|
||
<property name="y_options"/>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel" id="place_name_label">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="xalign">0</property>
|
||
<property name="label" translatable="yes">place|Name:</property>
|
||
</object>
|
||
<packing>
|
||
<property name="top_attach">1</property>
|
||
<property name="bottom_attach">2</property>
|
||
<property name="x_options">GTK_FILL</property>
|
||
<property name="y_options"/>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel" id="label4">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="xalign">0</property>
|
||
<property name="label" translatable="yes">Type:</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left_attach">2</property>
|
||
<property name="right_attach">3</property>
|
||
<property name="top_attach">1</property>
|
||
<property name="bottom_attach">2</property>
|
||
<property name="x_options">GTK_FILL</property>
|
||
<property name="y_options"/>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="UndoableEntry" id="name_entry">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="tooltip_text" translatable="yes">The name of this place.</property>
|
||
<property name="invisible_char">●</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left_attach">1</property>
|
||
<property name="right_attach">2</property>
|
||
<property name="top_attach">1</property>
|
||
<property name="bottom_attach">2</property>
|
||
<property name="y_options"/>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkComboBox" id="place_type">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="tooltip_text" translatable="yes">What type of place this is. Eg 'Country', 'City', ... .</property>
|
||
<property name="has_entry">True</property>
|
||
<child internal-child="entry">
|
||
<object class="GtkEntry" id="combobox-entry2">
|
||
<property name="can_focus">True</property>
|
||
<property name="overwrite_mode">True</property>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="left_attach">3</property>
|
||
<property name="right_attach">4</property>
|
||
<property name="top_attach">1</property>
|
||
<property name="bottom_attach">2</property>
|
||
<property name="y_options"/>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel" id="label2">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="xalign">0</property>
|
||
<property name="label" translatable="yes">Tags:</property>
|
||
</object>
|
||
<packing>
|
||
<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"/>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel" id="tag_label">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="xalign">0</property>
|
||
</object>
|
||
<packing>
|
||
<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="y_options"/>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">0</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkNotebook" id="notebook3">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<child>
|
||
<placeholder/>
|
||
</child>
|
||
<child type="tab">
|
||
<placeholder/>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">True</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">1</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">True</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">1</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
<action-widgets>
|
||
<action-widget response="-6">cancel</action-widget>
|
||
<action-widget response="-5">ok</action-widget>
|
||
<action-widget response="-11">help</action-widget>
|
||
</action-widgets>
|
||
</object>
|
||
</interface>
|