<?xml version="1.0"?>
<!--*- mode: xml -*-->
<interface>
  <object class="GtkDialog" id="dialog">
    <property name="visible">True</property>
    <property name="border_width">6</property>
    <property name="title" translatable="yes">Contact List Editor</property>
    <property name="window_position">GTK_WIN_POS_CENTER</property>
    <property name="icon_name">stock_contact-list</property>
    <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
    <signal handler="contact_list_editor_delete_event_cb" name="delete_event"/>
    <child internal-child="vbox">
      <object class="GtkVBox" id="dialog-vbox">
        <property name="visible">True</property>
        <child>
          <object class="GtkTable" id="table">
            <property name="visible">True</property>
            <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
            <property name="border_width">6</property>
            <property name="n_rows">2</property>
            <property name="n_columns">2</property>
            <property name="column_spacing">12</property>
            <property name="row_spacing">12</property>
            <child>
              <object class="GtkImage" id="image">
                <property name="visible">True</property>
                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                <property name="icon_size">6</property>
                <property name="icon_name">x-office-address-book</property>
              </object>
              <packing>
                <property name="left_attach">1</property>
                <property name="right_attach">2</property>
                <property name="x_options"/>
                <property name="y_options"/>
              </packing>
            </child>
            <child>
              <object class="GtkTable" id="source-table">
                <property name="visible">True</property>
                <property name="n_rows">2</property>
                <property name="n_columns">2</property>
                <property name="column_spacing">6</property>
                <property name="row_spacing">6</property>
                <child>
                  <object class="GtkLabel" id="list-name-label">
                    <property name="visible">True</property>
                    <property name="xalign">1</property>
                    <property name="label" translatable="yes">_List name:</property>
                    <property name="use_underline">True</property>
                    <property name="mnemonic_widget">list-name-entry</property>
                  </object>
                  <packing>
                    <property name="x_options">GTK_FILL</property>
                    <property name="y_options"/>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="source-label">
                    <property name="visible">True</property>
                    <property name="xalign">1</property>
                    <property name="label" translatable="yes">_Where:</property>
                    <property name="use_underline">True</property>
		    <property name="mnemonic_widget">source-combo-box</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="GtkEntry" id="list-name-entry">
                    <property name="visible">True</property>
                    <signal handler="contact_list_editor_list_name_entry_changed_cb" name="changed"/>
                  </object>
                  <packing>
                    <property name="left_attach">1</property>
                    <property name="right_attach">2</property>
                    <property name="y_options"/>
                  </packing>
                </child>
                <child>
                  <object class="ESourceComboBox" type-func="e_source_combo_box_get_type" id="source-combo-box">
                    <property name="extension-name">Address Book</property>
                    <property name="show-colors">False</property>
                    <property name="visible">True</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="x_options">GTK_FILL</property>
                    <property name="y_options">GTK_FILL</property>
                  </packing>
                </child>
              </object>
              <packing>
                <property name="y_options"/>
              </packing>
            </child>
            <child>
              <object class="GtkVBox" id="members-vbox">
                <property name="visible">True</property>
                <property name="spacing">6</property>
                <child>
                  <object class="GtkLabel" id="members-label">
                    <property name="visible">True</property>
                    <property name="xalign">0</property>
                    <property name="label" translatable="yes">Members</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="fill">False</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkAlignment" id="members-alignment">
                    <property name="visible">True</property>
                    <property name="left_padding">12</property>
                    <child>
                      <object class="GtkTable" id="members-table">
                        <property name="visible">True</property>
                        <property name="n_rows">4</property>
                        <property name="n_columns">2</property>
                        <property name="column_spacing">6</property>
                        <property name="row_spacing">6</property>
                        <child>
                          <placeholder/>
                        </child>
                        <child>
                          <placeholder/>
                        </child>
                        <child>
                          <placeholder/>
                        </child>
                        <child>
                          <object class="GtkLabel" id="members-instructions">
                            <property name="visible">True</property>
                            <property name="xalign">0</property>
                            <property name="label" translatable="yes">_Type an email address or drag a contact into the list below:</property>
                            <property name="use_underline">True</property>
                            <property name="justify">GTK_JUSTIFY_CENTER</property>
                          </object>
                          <packing>
                            <property name="y_options"/>
                          </packing>
                        </child>
                        <child>
                          <object class="GtkEntry" id="email-entry">
                            <property name="visible">True</property>
                          </object>
                          <packing>
                            <property name="top_attach">1</property>
                            <property name="bottom_attach">2</property>
                            <property name="y_options"/>
                          </packing>
                        </child>
                        <child>
                          <object class="GtkScrolledWindow" id="scrolled-window">
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
                            <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
                            <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
                            <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
                            <child>
                              <object class="GtkTreeView" id="tree-view">
                                <property name="visible">True</property>
                                <property name="headers_visible">False</property>
                                <property name="search_column">0</property>
                                <signal handler="contact_list_editor_tree_view_key_press_event_cb" name="key_press_event"/>
                                <signal handler="contact_list_editor_drag_data_received_cb" name="drag_data_received"/>
                              </object>
                            </child>
                          </object>
                          <packing>
                            <property name="top_attach">2</property>
                            <property name="bottom_attach">3</property>
                          </packing>
                        </child>
                        <child>
                          <object class="GtkCheckButton" id="check-button">
                            <property name="visible">True</property>
                            <property name="is_focus">True</property>
                            <property name="label" translatable="yes">_Hide addresses when sending mail to this list</property>
                            <property name="use_underline">True</property>
                            <signal handler="contact_list_editor_check_button_toggled_cb" name="toggled"/>
                          </object>
                          <packing>
                            <property name="top_attach">3</property>
                            <property name="bottom_attach">4</property>
                            <property name="y_options"/>
                          </packing>
                        </child>
                        <child>
                          <object class="GtkVBox" id="members-buttons">
                            <property name="visible">True</property>
                            <property name="spacing">6</property>
                            <child>
                              <object class="GtkButton" id="add-button">
                                <property name="visible">True</property>
                                <property name="sensitive">False</property>
                                <property name="is_focus">True</property>
                                <property name="can_default">True</property>
                                <property name="has_tooltip">True</property>
                                <property name="tooltip_text" translatable="yes">Add an email to the List</property>
                                <property name="label">gtk-add</property>
                                <property name="use_stock">True</property>
                                <property name="xalign">0</property>
                                <signal handler="contact_list_editor_add_button_clicked_cb" name="clicked"/>
                              </object>
                              <packing>
                                <property name="expand">False</property>
                                <property name="fill">False</property>
                              </packing>
                            </child>
                            <child>
                              <object class="GtkButton" id="remove-button">
                                <property name="visible">True</property>
                                <property name="sensitive">False</property>
                                <property name="is_focus">True</property>
                                <property name="can_default">True</property>
                                <property name="has_tooltip">True</property>
                                <property name="tooltip_text" translatable="yes">Remove an email address from the List</property>
                                <property name="label">gtk-remove</property>
                                <property name="use_stock">True</property>
                                <property name="xalign">0</property>
                                <signal handler="contact_list_editor_remove_button_clicked_cb" name="clicked"/>
                              </object>
                              <packing>
                                <property name="expand">False</property>
                                <property name="fill">False</property>
                                <property name="position">1</property>
                              </packing>
                            </child>
                            <child>
                              <object class="GtkButton" id="select-button">
                                <property name="visible">True</property>
                                <property name="is_focus">True</property>
                                <property name="can_default">True</property>
                                <property name="has_default">True</property>
				<property name="use_underline">True</property>
                                <property name="has_tooltip">True</property>
                                <property name="tooltip_text" translatable="yes">Insert email addresses from Address Book</property>
                                <property name="label" translatable="yes">_Select...</property>
                                <signal name="clicked" handler="contact_list_editor_select_button_clicked_cb"/>
                              </object>
                              <packing>
                                <property name="expand">False</property>
                                <property name="fill">False</property>
                                <property name="position">2</property>
                              </packing>
                            </child>
                            <child>
                              <object class="GtkButton" id="top-button">
                                <property name="visible">True</property>
                                <property name="is_focus">True</property>
                                <property name="can_default">True</property>
                                <property name="has_default">True</property>
			        <property name="use_underline">True</property>
				<property name="label">gtk-goto-top</property>
				<property name="use-stock">True</property>
				<property name="sensitive">False</property>
				<signal name="clicked" handler="contact_list_editor_top_button_clicked_cb"/>
			      </object>
			      <packing>
			        <property name="expand">False</property>
			        <property name="fill">False</property>
			        <property name="position">3</property>
			      </packing>
			    </child>
			    <child>
			      <object class="GtkButton" id="up-button">
			        <property name="visible">True</property>
			        <property name="is_focus">True</property>
			        <property name="can_default">True</property>
			        <property name="has_default">True</property>
			        <property name="use_underline">True</property>
			        <property name="label">gtk-go-up</property>
			        <property name="use-stock">True</property>
			        <property name="sensitive">False</property>
			        <signal name="clicked" handler="contact_list_editor_up_button_clicked_cb"/>
			      </object>
			      <packing>
			        <property name="expand">False</property>
			        <property name="fill">False</property>
			        <property name="position">4</property>
			      </packing>
			    </child>
			    <child>
			      <object class="GtkButton" id="down-button">
			        <property name="visible">True</property>
			        <property name="is_focus">True</property>
			        <property name="has_focus">True</property>
			        <property name="use_underline">True</property>
			        <property name="label">gtk-go-down</property>
			        <property name="use-stock">True</property>
			        <property name="sensitive">False</property>
			        <signal name="clicked" handler="contact_list_editor_down_button_clicked_cb"/>
			      </object>
			      <packing>
			        <property name="expand">False</property>
			        <property name="fill">False</property>
			        <property name="position">5</property>
			      </packing>
			    </child>
			    <child>
			      <object class="GtkButton" id="bottom-button">
			        <property name="visible">True</property>
			        <property name="is_focus">True</property>
			        <property name="has_focus">True</property>
			        <property name="use_underline">True</property>
			        <property name="label">gtk-goto-bottom</property>
			        <property name="use-stock">True</property>
			        <property name="sensitive">False</property>
			        <signal name="clicked" handler="contact_list_editor_bottom_button_clicked_cb"/>
			      </object>
			      <packing>
			        <property name="expand">False</property>
			        <property name="fill">False</property>
			        <property name="position">6</property>
			      </packing>
			    </child>
                            <child>
                              <object class="GtkAlignment" id="members-buttons-alignment">
                                <property name="visible">True</property>
                                <child>
                                  <placeholder/>
                                </child>
                              </object>
                              <packing>
                                <property name="position">3</property>
                              </packing>
                            </child>
                          </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"/>
                          </packing>
                        </child>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="position">1</property>
                  </packing>
                </child>
              </object>
              <packing>
                <property name="right_attach">2</property>
                <property name="top_attach">1</property>
                <property name="bottom_attach">2</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="position">1</property>
          </packing>
        </child>
        <child internal-child="action_area">
          <object class="GtkHButtonBox" id="dialog-action-area">
            <property name="visible">True</property>
            <property name="layout_style">GTK_BUTTONBOX_END</property>
            <child>
              <object class="GtkButton" id="cancel-button">
                <property name="visible">True</property>
                <property name="is_focus">True</property>
                <property name="can_default">True</property>
                <property name="label">gtk-cancel</property>
                <property name="use_stock">True</property>
                <signal handler="contact_list_editor_cancel_button_clicked_cb" name="clicked"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="ok-button">
                <property name="visible">True</property>
                <property name="can_default">True</property>
                <property name="label">gtk-save</property>
                <property name="use_stock">True</property>
                <accelerator key="s" modifiers="GDK_CONTROL_MASK" signal="clicked"/>
                <signal handler="contact_list_editor_ok_button_clicked_cb" name="clicked"/>
              </object>
              <packing>
                <property name="position">1</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="pack_type">GTK_PACK_END</property>
          </packing>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">check-button</action-widget>
      <action-widget response="0">add-button</action-widget>
      <action-widget response="0">remove-button</action-widget>
      <action-widget response="0">select-button</action-widget>
      <action-widget response="0">cancel-button</action-widget>
      <action-widget response="0">ok-button</action-widget>
    </action-widgets>
  </object>
</interface>
