<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.1 -->
<interface>
  <requires lib="gtk+" version="3.15"/>
  <template class="GcalSourceDialog" parent="GtkDialog">
    <property name="width_request">450</property>
    <property name="can_focus">False</property>
    <property name="border_width">0</property>
    <property name="default_width">550</property>
    <property name="default_height">500</property>
    <property name="type_hint">dialog</property>
    <property name="modal">True</property>
    <property name="destroy_with_parent">True</property>
    <property name="modal">True</property>
    <signal name="response" handler="response_signal" object="GcalSourceDialog" swapped="no"/>
    <child internal-child="vbox">
      <object class="GtkBox" id="vbox">
        <property name="orientation">vertical</property>
        <property name="border_width">0</property>
        <child>
          <object class="GtkOverlay" id="overlay">
            <property name="visible">True</property>
            <child type="overlay">
              <object class="GtkRevealer" id="notification">
                <property name="visible">True</property>
                <property name="halign">center</property>
                <property name="valign">start</property>
                <property name="transition_duration">100</property>
                <signal name="notify::child-revealed" handler="notification_child_revealed_changed" object="GcalSourceDialog" swapped="no"/>
                <child>
                  <object class="GtkFrame">
                    <property name="visible">True</property>
                    <child>
                      <object class="GtkGrid">
                        <property name="visible">True</property>
                        <property name="margin_start">12</property>
                        <property name="margin_end">12</property>
                        <property name="margin_top">2</property>
                        <property name="margin_bottom">2</property>
                        <property name="column_spacing">12</property>
                        <child>
                          <object class="GtkLabel" id="notification_label">
                            <property name="visible">True</property>
                            <property name="use_markup">True</property>
                          </object>
                          <packing>
                            <property name="left_attach">0</property>
                            <property name="top_attach">0</property>
                          </packing>
                        </child>
                        <child>
                          <object class="GtkButton" id="notification_action_button">
                            <property name="label" translatable="yes">Undo</property>
                            <property name="visible">True</property>
                            <property name="can_focus">True</property>
                            <property name="receives_default">True</property>
                            <property name="no_show_all">True</property>
                            <signal name="clicked" handler="undo_remove_action" object="GcalSourceDialog" swapped="no"/>
                            <style>
                              <class name="text-button"/>
                            </style>
                          </object>
                          <packing>
                            <property name="left_attach">1</property>
                            <property name="top_attach">0</property>
                          </packing>
                        </child>
                        <child>
                          <object class="GtkButton" id="notification_close_button">
                            <property name="visible">True</property>
                            <property name="can_focus">True</property>
                            <property name="receives_default">True</property>
                            <property name="relief">none</property>
                            <property name="focus_on_click">False</property>
                            <signal name="clicked" handler="hide_notification" object="GcalSourceDialog" swapped="yes"/>
                            <child>
                              <object class="GtkImage">
                                <property name="visible">True</property>
                                <property name="icon_name">window-close-symbolic</property>
                                <property name="icon_size">2</property>
                              </object>
                            </child>
                            <style>
                              <class name="image-button"/>
                            </style>
                          </object>
                          <packing>
                            <property name="left_attach">2</property>
                            <property name="top_attach">0</property>
                          </packing>
                        </child>
                      </object>
                    </child>
                    <style>
                      <class name="app-notification"/>
                    </style>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkStack" id="stack">
                <property name="visible">True</property>
                <property name="hexpand">True</property>
                <property name="vexpand">True</property>
                <property name="vhomogeneous">False</property>
                <property name="transition_type">crossfade</property>
                <signal name="notify::visible-child-name" handler="stack_visible_child_name_changed" object="GcalSourceDialog" swapped="no"/>
                <child>
                  <object class="GtkScrolledWindow" id="main_scrolledwindow">
                    <property name="visible">True</property>
                    <property name="can_focus">True</property>
                    <property name="hscrollbar_policy">never</property>
                    <child>
                      <object class="GtkViewport" id="main_viewport">
                        <property name="visible">True</property>
                        <property name="shadow_type">none</property>
                        <child>
                          <object class="GtkBox" id="main_box">
                            <property name="visible">True</property>
                            <property name="hexpand">True</property>
                            <property name="vexpand">True</property>
                            <property name="border_width">18</property>
                            <property name="orientation">vertical</property>
                            <property name="spacing">18</property>
                            <child>
                              <object class="GtkGrid" id="online_account_main_grid">
                                <property name="visible">True</property>
                                <property name="row_spacing">12</property>
                                <property name="column_spacing">12</property>
                                <child>
                                  <object class="GtkLabel" id="online_account_label">
                                    <property name="visible">True</property>
                                    <property name="hexpand">True</property>
                                    <property name="label" translatable="yes">Online Accounts</property>
                                    <property name="xalign">0</property>
                                    <attributes>
                                      <attribute name="weight" value="bold"/>
                                    </attributes>
                                  </object>
                                  <packing>
                                    <property name="left_attach">0</property>
                                    <property name="top_attach">0</property>
                                  </packing>
                                </child>
                                <child>
                                  <object class="GtkButton" id="online_accounts_settings_button">
                                    <property name="visible">True</property>
                                    <property name="can_focus">True</property>
                                    <property name="receives_default">True</property>
                                    <property name="tooltip_text" translatable="yes">Open online account settings</property>
                                    <signal name="clicked" handler="online_accounts_settings_button_clicked" object="GcalSourceDialog" swapped="no"/>
                                    <child>
                                      <object class="GtkImage" id="online_accounts_settings_button_image">
                                        <property name="visible">True</property>
                                        <property name="icon_name">emblem-system-symbolic</property>
                                      </object>
                                    </child>
                                  </object>
                                  <packing>
                                    <property name="left_attach">1</property>
                                    <property name="top_attach">0</property>
                                  </packing>
                                </child>
                                <child>
                                  <object class="GtkFrame" id="online_accounts_main_frame">
                                    <property name="visible">True</property>
                                    <child>
                                      <object class="GtkListBox" id="online_accounts_listbox">
                                        <property name="visible">True</property>
                                        <property name="selection_mode">none</property>
                                        <signal name="row-activated" handler="online_accounts_listbox_row_activated" object="GcalSourceDialog" swapped="no"/>
                                        <child>
                                          <object class="GtkListBoxRow" id="google_stub_row">
                                            <property name="visible">True</property>
                                            <property name="can_focus">True</property>
                                            <child>
                                              <object class="GtkGrid" id="google_stub_grid">
                                                <property name="visible">True</property>
                                                <property name="border_width">6</property>
                                                <property name="margin_end">18</property>
                                                <property name="column_spacing">12</property>
                                                <child>
                                                  <object class="GtkImage" id="google_account_image">
                                                    <property name="visible">True</property>
                                                    <property name="pixel_size">32</property>
                                                    <property name="icon_name">goa-account-google</property>
                                                  </object>
                                                  <packing>
                                                    <property name="left_attach">0</property>
                                                    <property name="top_attach">0</property>
                                                    <property name="height">2</property>
                                                  </packing>
                                                </child>
                                                <child>
                                                  <object class="GtkLabel" id="google_account_label">
                                                    <property name="visible">True</property>
                                                    <property name="label" translatable="yes">Google</property>
                                                    <property name="xalign">0</property>
                                                  </object>
                                                  <packing>
                                                    <property name="left_attach">1</property>
                                                    <property name="top_attach">0</property>
                                                  </packing>
                                                </child>
                                                <child>
                                                  <object class="GtkLabel" id="google_account_config_label">
                                                    <property name="visible">True</property>
                                                    <property name="label" translatable="yes">Click to set up</property>
                                                    <property name="xalign">0</property>
                                                    <style>
                                                      <class name="dim-label"/>
                                                    </style>
                                                  </object>
                                                  <packing>
                                                    <property name="left_attach">1</property>
                                                    <property name="top_attach">1</property>
                                                  </packing>
                                                </child>
                                              </object>
                                            </child>
                                          </object>
                                        </child>
                                        <child>
                                          <object class="GtkListBoxRow" id="owncloud_stub_row">
                                            <property name="visible">True</property>
                                            <property name="can_focus">True</property>
                                            <child>
                                              <object class="GtkGrid" id="owncloud_stub_grid">
                                                <property name="visible">True</property>
                                                <property name="border_width">6</property>
                                                <property name="margin_end">18</property>
                                                <property name="column_spacing">12</property>
                                                <child>
                                                  <object class="GtkImage" id="owncloud_account_image">
                                                    <property name="visible">True</property>
                                                    <property name="pixel_size">32</property>
                                                    <property name="icon_name">goa-account-owncloud</property>
                                                  </object>
                                                  <packing>
                                                    <property name="left_attach">0</property>
                                                    <property name="top_attach">0</property>
                                                    <property name="height">2</property>
                                                  </packing>
                                                </child>
                                                <child>
                                                  <object class="GtkLabel" id="owncloud_account_label">
                                                    <property name="visible">True</property>
                                                    <property name="label" translatable="yes">ownCloud</property>
                                                    <property name="xalign">0</property>
                                                  </object>
                                                  <packing>
                                                    <property name="left_attach">1</property>
                                                    <property name="top_attach">0</property>
                                                  </packing>
                                                </child>
                                                <child>
                                                  <object class="GtkLabel" id="owncloud_account_config_label">
                                                    <property name="visible">True</property>
                                                    <property name="label" translatable="yes">Click to set up</property>
                                                    <property name="xalign">0</property>
                                                    <style>
                                                      <class name="dim-label"/>
                                                    </style>
                                                  </object>
                                                  <packing>
                                                    <property name="left_attach">1</property>
                                                    <property name="top_attach">1</property>
                                                  </packing>
                                                </child>
                                              </object>
                                            </child>
                                          </object>
                                        </child>
                                        <child>
                                          <object class="GtkListBoxRow" id="exchange_stub_row">
                                            <property name="visible">True</property>
                                            <property name="can_focus">True</property>
                                            <child>
                                              <object class="GtkGrid" id="exchange_stub_grid">
                                                <property name="visible">True</property>
                                                <property name="border_width">6</property>
                                                <property name="margin_end">18</property>
                                                <property name="column_spacing">12</property>
                                                <child>
                                                  <object class="GtkImage" id="exchange_account_image">
                                                    <property name="visible">True</property>
                                                    <property name="pixel_size">32</property>
                                                    <property name="icon_name">goa-account</property>
                                                  </object>
                                                  <packing>
                                                    <property name="left_attach">0</property>
                                                    <property name="top_attach">0</property>
                                                    <property name="height">2</property>
                                                  </packing>
                                                </child>
                                                <child>
                                                  <object class="GtkLabel" id="exchange_account_label">
                                                    <property name="visible">True</property>
                                                    <property name="label" translatable="yes">Microsoft Exchange</property>
                                                    <property name="xalign">0</property>
                                                  </object>
                                                  <packing>
                                                    <property name="left_attach">1</property>
                                                    <property name="top_attach">0</property>
                                                  </packing>
                                                </child>
                                                <child>
                                                  <object class="GtkLabel" id="exchange_account_config_label">
                                                    <property name="visible">True</property>
                                                    <property name="label" translatable="yes">Click to set up</property>
                                                    <property name="xalign">0</property>
                                                    <style>
                                                      <class name="dim-label"/>
                                                    </style>
                                                  </object>
                                                  <packing>
                                                    <property name="left_attach">1</property>
                                                    <property name="top_attach">1</property>
                                                  </packing>
                                                </child>
                                              </object>
                                            </child>
                                          </object>
                                        </child>
                                      </object>
                                    </child>
                                  </object>
                                  <packing>
                                    <property name="left_attach">0</property>
                                    <property name="top_attach">1</property>
                                    <property name="width">2</property>
                                  </packing>
                                </child>
                              </object>
                            </child>
                            <child>
                              <object class="GtkGrid" id="other_calendars_main_grid">
                                <property name="visible">True</property>
                                <property name="row_spacing">12</property>
                                <property name="column_spacing">12</property>
                                <child>
                                  <object class="GtkLabel" id="calendars_header_label">
                                    <property name="visible">True</property>
                                    <property name="hexpand">True</property>
                                    <property name="label" translatable="yes">Calendars</property>
                                    <property name="xalign">0</property>
                                    <attributes>
                                      <attribute name="weight" value="bold"/>
                                    </attributes>
                                  </object>
                                  <packing>
                                    <property name="left_attach">0</property>
                                    <property name="top_attach">0</property>
                                  </packing>
                                </child>
                                <child>
                                  <object class="GtkFrame" id="other_calendars_main_frame">
                                    <property name="visible">True</property>
                                    <child>
                                      <object class="GtkListBox" id="calendars_listbox">
                                        <property name="visible">True</property>
                                        <property name="selection_mode">none</property>
                                        <signal name="row-activated" handler="calendar_listbox_row_activated" object="GcalSourceDialog" swapped="no"/>
                                        <style>
                                          <class name="calendars-list"/>
                                        </style>
                                      </object>
                                    </child>
                                  </object>
                                  <packing>
                                    <property name="left_attach">0</property>
                                    <property name="top_attach">1</property>
                                    <property name="width">2</property>
                                  </packing>
                                </child>
                                <child>
                                  <object class="GtkMenuButton" id="add_calendar_menu_button">
                                    <property name="visible">True</property>
                                    <property name="can_focus">True</property>
                                    <property name="receives_default">True</property>
                                    <child>
                                      <object class="GtkBox" id="add_calendar_button_box">
                                        <property name="visible">True</property>
                                        <property name="spacing">6</property>
                                        <child>
                                          <object class="GtkLabel" id="add_calendar_button">
                                            <property name="visible">True</property>
                                            <property name="label" translatable="yes">Add</property>
                                          </object>
                                        </child>
                                        <child>
                                          <object class="GtkImage" id="add_calendar_button_image">
                                            <property name="visible">True</property>
                                            <property name="icon_name">pan-down-symbolic</property>
                                          </object>
                                          <packing>
                                            <property name="position">1</property>
                                          </packing>
                                        </child>
                                      </object>
                                    </child>
                                  </object>
                                  <packing>
                                    <property name="left_attach">1</property>
                                    <property name="top_attach">0</property>
                                  </packing>
                                </child>
                              </object>
                              <packing>
                                <property name="position">1</property>
                              </packing>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="name">main</property>
                    <property name="title" translatable="yes">Overview</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkGrid" id="edit_grid">
                    <property name="visible">True</property>
                    <property name="hexpand">True</property>
                    <property name="vexpand">True</property>
                    <property name="border_width">18</property>
                    <property name="row_spacing">12</property>
                    <property name="column_spacing">12</property>
                    <child>
                      <object class="GtkCheckButton" id="default_check">
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="draw_indicator">True</property>
                        <signal name="notify::active" handler="default_check_toggled" object="GcalSourceDialog" swapped="no"/>
                        <child>
                          <object class="GtkLabel" id="default_check_label">
                            <property name="visible">True</property>
                            <property name="label" translatable="yes">Add new events to this calendar by default</property>
                            <property name="xalign">0</property>
                          </object>
                        </child>
                      </object>
                      <packing>
                        <property name="left_attach">0</property>
                        <property name="top_attach">5</property>
                        <property name="width">2</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkButton" id="remove_button">
                        <property name="label" translatable="yes">Remove Calendar</property>
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="receives_default">True</property>
                        <property name="halign">end</property>
                        <property name="valign">end</property>
                        <property name="margin_top">6</property>
                        <property name="hexpand">True</property>
                        <property name="vexpand">True</property>
                        <signal name="clicked" handler="remove_button_clicked" object="GcalSourceDialog" swapped="no"/>
                        <style>
                          <class name="destructive-action"/>
                        </style>
                      </object>
                      <packing>
                        <property name="left_attach">0</property>
                        <property name="top_attach">6</property>
                        <property name="width">2</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="calendar_visible_check">
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="draw_indicator">True</property>
                        <signal name="notify::active" handler="calendar_visible_check_toggled" object="GcalSourceDialog" swapped="no"/>
                        <child>
                          <object class="GtkLabel" id="display_calendar_check_label">
                            <property name="visible">True</property>
                            <property name="label" translatable="yes">Display calendar</property>
                          </object>
                        </child>
                      </object>
                      <packing>
                        <property name="left_attach">0</property>
                        <property name="top_attach">4</property>
                        <property name="width">2</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkColorButton" id="calendar_color_button">
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="receives_default">True</property>
                        <property name="halign">start</property>
                        <signal name="color-set" handler="color_set" object="GcalSourceDialog" swapped="no"/>
                      </object>
                      <packing>
                        <property name="left_attach">1</property>
                        <property name="top_attach">3</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkEntry" id="name_entry">
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="hexpand">True</property>
                        <signal name="notify::text" handler="name_entry_text_changed" object="GcalSourceDialog" swapped="no"/>
                      </object>
                      <packing>
                        <property name="left_attach">1</property>
                        <property name="top_attach">2</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkLabel" id="calendar_dim_label">
                        <property name="visible">True</property>
                        <property name="label" translatable="yes">Calendar name</property>
                        <property name="xalign">1</property>
                        <style>
                          <class name="dim-label"/>
                        </style>
                      </object>
                      <packing>
                        <property name="left_attach">0</property>
                        <property name="top_attach">2</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkLabel" id="color_dim_label">
                        <property name="visible">True</property>
                        <property name="label" translatable="yes">Color</property>
                        <property name="xalign">1</property>
                        <style>
                          <class name="dim-label"/>
                        </style>
                      </object>
                      <packing>
                        <property name="left_attach">0</property>
                        <property name="top_attach">3</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkLabel" id="account_dim_label">
                        <property name="visible" bind-source="account_box" bind-property="visible" bind-flags="default|sync-create"/>
                        <property name="label" translatable="yes">Account</property>
                        <property name="xalign">1</property>
                        <style>
                          <class name="dim-label"/>
                        </style>
                      </object>
                      <packing>
                        <property name="left_attach">0</property>
                        <property name="top_attach">0</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkLabel" id="location_dim_label">
                        <property name="visible" bind-source="calendar_url_button" bind-property="visible" bind-flags="default|sync-create"/>
                        <property name="label" translatable="yes">Location</property>
                        <property name="xalign">1</property>
                        <style>
                          <class name="dim-label"/>
                        </style>
                      </object>
                      <packing>
                        <property name="left_attach">0</property>
                        <property name="top_attach">1</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkBox" id="account_box">
                        <property name="visible">True</property>
                        <property name="spacing">12</property>
                        <child>
                          <object class="GtkLabel" id="account_label">
                            <property name="visible">True</property>
                            <property name="hexpand">True</property>
                            <property name="xalign">0</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkButton" id="settings_button">
                            <property name="label" translatable="yes">Settings</property>
                            <property name="visible">True</property>
                            <property name="can_focus">True</property>
                            <property name="receives_default">True</property>
                            <signal name="clicked" handler="settings_button_clicked" object="GcalSourceDialog" swapped="no"/>
                          </object>
                          <packing>
                            <property name="position">1</property>
                          </packing>
                        </child>
                      </object>
                      <packing>
                        <property name="left_attach">1</property>
                        <property name="top_attach">0</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkLinkButton" id="calendar_url_button">
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="receives_default">True</property>
                        <property name="relief">none</property>
                      </object>
                      <packing>
                        <property name="left_attach">1</property>
                        <property name="top_attach">1</property>
                      </packing>
                    </child>
                  </object>
                  <packing>
                    <property name="name">edit</property>
                    <property name="title" translatable="yes">Edit Calendar</property>
                    <property name="position">1</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkGrid" id="web_source_grid">
                    <property name="visible">True</property>
                    <property name="border_width">18</property>
                    <property name="row_spacing">16</property>
                    <property name="column_spacing">12</property>
                    <child>
                      <object class="GtkLabel" id="web_description_label">
                        <property name="visible">True</property>
                        <property name="label" translatable="yes">Enter the address of the calendar that you want to add. If the calendar belongs to one of your online accounts, you can add it through the &lt;a href=&quot;GOA&quot;&gt;online account settings&lt;/a&gt;.</property>
                        <property name="use_markup">True</property>
                        <property name="wrap">True</property>
                        <property name="xalign">0</property>
                        <signal name="activate-link" handler="description_label_link_activated" object="GcalSourceDialog" swapped="no"/>
                      </object>
                      <packing>
                        <property name="left_attach">0</property>
                        <property name="top_attach">0</property>
                        <property name="width">2</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkLabel" id="calendar_address_label">
                        <property name="visible">True</property>
                        <property name="label" translatable="yes">Calendar Address</property>
                        <property name="xalign">1</property>
                        <style>
                          <class name="dim-label"/>
                        </style>
                      </object>
                      <packing>
                        <property name="left_attach">0</property>
                        <property name="top_attach">1</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkEntry" id="calendar_address_entry">
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="hexpand">True</property>
                        <signal name="notify::text" handler="url_entry_text_changed" object="GcalSourceDialog" swapped="no"/>
                        <signal name="activate" handler="calendar_address_activated" object="GcalSourceDialog" swapped="no"/>
                      </object>
                      <packing>
                        <property name="left_attach">1</property>
                        <property name="top_attach">1</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkRevealer" id="web_sources_revealer">
                        <property name="transition_type">crossfade</property>
                        <property name="transition_duration">200</property>
                        <child>
                          <object class="GtkBox" id="web_sources_listbox_box">
                            <property name="visible">True</property>
                            <property name="orientation">vertical</property>
                            <property name="spacing">6</property>
                            <child>
                              <object class="GtkLabel" id="web_sources_calendar_label">
                                <property name="visible">True</property>
                                <property name="label" translatable="yes">Calendars</property>
                                <property name="xalign">0</property>
                                <attributes>
                                  <attribute name="weight" value="bold"/>
                                </attributes>
                              </object>
                            </child>
                            <child>
                              <object class="GtkScrolledWindow" id="web_list_scrolledwindow">
                                <property name="height_request">100</property>
                                <property name="visible">True</property>
                                <property name="can_focus">True</property>
                                <property name="hexpand">True</property>
                                <property name="vexpand">True</property>
                                <child>
                                  <object class="GtkViewport" id="viewport">
                                    <property name="visible">True</property>
                                    <property name="shadow_type">none</property>
                                    <child>
                                      <object class="GtkListBox" id="web_sources_listbox">
                                        <property name="visible">True</property>
                                        <property name="activate_on_single_click">False</property>
                                        <property name="selection_mode">none</property>
                                        <style>
                                          <class name="calendar-list"/>
                                        </style>
                                      </object>
                                    </child>
                                  </object>
                                </child>
                              </object>
                              <packing>
                                <property name="position">1</property>
                              </packing>
                            </child>
                          </object>
                        </child>
                      </object>
                      <packing>
                        <property name="left_attach">0</property>
                        <property name="top_attach">2</property>
                        <property name="width">2</property>
                      </packing>
                    </child>
                  </object>
                  <packing>
                    <property name="name">create</property>
                    <property name="title" translatable="yes">Add Calendar</property>
                    <property name="position">2</property>
                  </packing>
                </child>
              </object>
            </child>
          </object>
          <packing>
            <property name="position">1</property>
          </packing>
        </child>
      </object>
    </child>
    <child type="titlebar">
      <object class="GtkHeaderBar" id="headerbar">
        <property name="visible">True</property>
        <property name="title">Calendar Settings</property>
        <property name="show_close_button">True</property>
        <child>
          <object class="GtkButton" id="back_button">
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <signal name="clicked" handler="back_button_clicked" object="GcalSourceDialog" swapped="no"/>
            <child>
              <object class="GtkImage" id="back_button_image">
                <property name="visible">True</property>
                <property name="icon_name">go-previous-symbolic</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkButton" id="cancel_button">
            <property name="label" translatable="yes">Cancel</property>
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <signal name="clicked" handler="cancel_button_clicked" object="GcalSourceDialog" swapped="no"/>
          </object>
          <packing>
            <property name="position">2</property>
          </packing>
        </child>
        <child>
          <object class="GtkButton" id="add_button">
            <property name="label" translatable="yes">Add</property>
            <property name="sensitive">False</property>
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <signal name="clicked" handler="add_button_clicked" object="GcalSourceDialog" swapped="no"/>
            <style>
              <class name="suggested-action"/>
            </style>
          </object>
          <packing>
            <property name="pack_type">end</property>
            <property name="position">1</property>
          </packing>
        </child>
      </object>
    </child>
  </template>
  <object class="GtkDialog" id="credentials_dialog">
    <property name="type_hint">dialog</property>
    <property name="transient_for">GcalSourceDialog</property>
    <child internal-child="vbox">
      <object class="GtkBox" id="credentials-dialog-vbox1">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkGrid" id="credentials_grid">
            <property name="visible">True</property>
            <property name="hexpand">True</property>
            <property name="border_width">12</property>
            <property name="row_spacing">6</property>
            <property name="column_spacing">12</property>
            <child>
              <object class="GtkLabel" id="credentials_user_dim_label">
                <property name="visible">True</property>
                <property name="label" translatable="yes">User</property>
                <property name="xalign">1</property>
                <style>
                  <class name="dim-label"/>
                </style>
              </object>
              <packing>
                <property name="left_attach">0</property>
                <property name="top_attach">0</property>
              </packing>
            </child>
            <child>
              <object class="GtkLabel" id="credentials_password_dim_label">
                <property name="visible">True</property>
                <property name="label" translatable="yes">Password</property>
                <property name="xalign">1</property>
                <style>
                  <class name="dim-label"/>
                </style>
              </object>
              <packing>
                <property name="left_attach">0</property>
                <property name="top_attach">1</property>
              </packing>
            </child>
            <child>
              <object class="GtkEntry" id="credentials_user_entry">
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="hexpand">True</property>
                <signal name="activate" handler="credential_entry_activate" object="credentials_dialog" swapped="no"/>
              </object>
              <packing>
                <property name="left_attach">1</property>
                <property name="top_attach">0</property>
              </packing>
            </child>
            <child>
              <object class="GtkEntry" id="credentials_password_entry">
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="hexpand">True</property>
                <property name="visibility">False</property>
                <signal name="activate" handler="credential_entry_activate" object="credentials_dialog" swapped="no"/>
              </object>
              <packing>
                <property name="left_attach">1</property>
                <property name="top_attach">1</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="position">1</property>
          </packing>
        </child>
      </object>
    </child>
    <child type="titlebar">
      <object class="GtkHeaderBar" id="credentials_headerbar">
        <property name="visible">True</property>
        <property name="title">Enter your credentials</property>
        <child>
          <object class="GtkButton" id="credentials_cancel_button">
            <property name="label" translatable="yes">Cancel</property>
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <signal name="clicked" handler="credential_button_clicked" object="GcalSourceDialog" swapped="no"/>
          </object>
        </child>
        <child>
          <object class="GtkButton" id="credentials_connect_button">
            <property name="label" translatable="yes">Connect</property>
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <signal name="clicked" handler="credential_button_clicked" object="GcalSourceDialog" swapped="no"/>
            <style>
              <class name="suggested-action"/>
            </style>
          </object>
          <packing>
            <property name="pack_type">end</property>
            <property name="position">1</property>
          </packing>
        </child>
      </object>
    </child>
  </object>
</interface>
