| <?xml version="1.0" encoding="UTF-8"?> |
| <interface> |
| <requires lib="gtk+" version="3.10"/> |
| <template class="CreateContactDialog" parent="GtkDialog"> |
| <property name="title" translatable="yes">Create New Contact</property> |
| <property name="type_hint">dialog</property> |
| <property name="modal">True</property> |
| <property name="destroy_with_parent">True</property> |
| <property name="window_position">center-on-parent</property> |
| <child internal-child="vbox"> |
| <object class="GtkBox" id="dialog-vbox1"> |
| <property name="orientation">vertical</property> |
| <property name="spacing">2</property> |
| <child internal-child="action_area"> |
| <object class="GtkButtonBox" id="dialog-action_area1"> |
| <property name="layout_style">end</property> |
| <child> |
| <object class="GtkButton" id="button_save"> |
| <property name="label" translatable="yes">Save</property> |
| <property name="visible">True</property> |
| <property name="can_focus">True</property> |
| <property name="receives_default">True</property> |
| </object> |
| <packing> |
| <property name="expand">True</property> |
| <property name="fill">True</property> |
| </packing> |
| </child> |
| <child> |
| <object class="GtkButton" id="button_cancel"> |
| <property name="label" translatable="yes">Cancel</property> |
| <property name="visible">True</property> |
| <property name="can_focus">True</property> |
| <property name="receives_default">True</property> |
| </object> |
| <packing> |
| <property name="expand">True</property> |
| <property name="fill">True</property> |
| </packing> |
| </child> |
| </object> |
| <packing> |
| <property name="expand">False</property> |
| <property name="fill">False</property> |
| </packing> |
| </child> |
| <child> |
| <object class="GtkGrid" id="grid_add_contact"> |
| <property name="visible">True</property> |
| <property name="row_spacing">10</property> |
| <property name="column_spacing">10</property> |
| <property name="border_width">10</property> |
| <child> |
| <object class="GtkLabel" id="label_addressbook"> |
| <property name="visible">True</property> |
| <property name="can_focus">False</property> |
| <property name="halign">end</property> |
| <property name="label" translatable="yes">Addressbook:</property> |
| <property name="mnemonic_widget">combobox_addressbook</property> |
| </object> |
| <packing> |
| <property name="left_attach">0</property> |
| <property name="top_attach">0</property> |
| </packing> |
| </child> |
| <child> |
| <object class="GtkComboBox" id="combobox_addressbook"> |
| <property name="visible">True</property> |
| <property name="can_focus">False</property> |
| </object> |
| <packing> |
| <property name="left_attach">1</property> |
| <property name="top_attach">0</property> |
| </packing> |
| </child> |
| <child> |
| <object class="GtkLabel" id="label_name"> |
| <property name="visible">True</property> |
| <property name="can_focus">False</property> |
| <property name="halign">end</property> |
| <property name="label" translatable="yes">Name:</property> |
| <property name="mnemonic_widget">entry_name</property> |
| </object> |
| <packing> |
| <property name="left_attach">0</property> |
| <property name="top_attach">1</property> |
| </packing> |
| </child> |
| <child> |
| <object class="GtkEntry" id="entry_name"> |
| <property name="visible">True</property> |
| <property name="can_focus">True</property> |
| <property name="hexpand">True</property> |
| </object> |
| <packing> |
| <property name="left_attach">1</property> |
| <property name="top_attach">1</property> |
| </packing> |
| </child> |
| <child> |
| <object class="GtkComboBox" id="combobox_detail"> |
| <property name="visible">True</property> |
| <property name="can_focus">False</property> |
| <property name="halign">end</property> |
| <property name="has_tooltip">True</property> |
| <property name="tooltip_text" translatable="yes">Select the detail which will be used for this number</property> |
| <child internal-child="accessible"> |
| <object class="AtkObject" id="comboboxtext_detail-atkobject"> |
| <property name="AtkObject::accessible-name" translatable="yes">Contact detail</property> |
| </object> |
| </child> |
| </object> |
| <packing> |
| <property name="left_attach">0</property> |
| <property name="top_attach">2</property> |
| </packing> |
| </child> |
| <child> |
| <object class="GtkEntry" id="entry_contactmethod"> |
| <property name="visible">True</property> |
| <property name="can_focus">True</property> |
| <property name="hexpand">True</property> |
| <property name="xalign">0.5</property> |
| <property name="editable">False</property> |
| <child internal-child="accessible"> |
| <object class="AtkObject" id="entry_contactmethod-atkobject"> |
| <property name="AtkObject::accessible-name" translatable="yes">Number or Ring ID</property> |
| </object> |
| </child> |
| </object> |
| <packing> |
| <property name="left_attach">1</property> |
| <property name="top_attach">2</property> |
| </packing> |
| </child> |
| </object> |
| <packing> |
| <property name="expand">True</property> |
| <property name="fill">True</property> |
| </packing> |
| </child> |
| </object> |
| </child> |
| </template> |
| </interface> |