<?xml version="1.0"?>
<!--*- mode: xml -*-->
<interface>
  <object class="GtkAdjustment" id="adjustment_episode_limit">
    <property name="upper">1000</property>
    <property name="lower">100</property>
    <property name="page_increment">10</property>
    <property name="step_increment">10</property>
    <property name="page_size">0</property>
    <property name="value">200</property>
  </object>
  <object class="GtkAdjustment" id="adjustment_update_interval">
    <property name="upper">360</property>
    <property name="lower">0</property>
    <property name="page_increment">1</property>
    <property name="step_increment">1</property>
    <property name="page_size">0</property>
    <property name="value">0</property>
  </object>
  <object class="GtkAdjustment" id="adjustment_expiration">
    <property name="upper">30</property>
    <property name="lower">0</property>
    <property name="page_increment">10</property>
    <property name="step_increment">1</property>
    <property name="page_size">0</property>
    <property name="value">7</property>
  </object>
  <object class="GtkDialog" id="gPodderPreferences">
    <property name="visible">True</property>
    <property name="modal">True</property>
    <property name="has-separator">False</property>
    <property name="window-position">GTK_WIN_POS_CENTER_ON_PARENT</property>
    <property name="default_height">260</property>
    <property name="default_width">320</property>
    <property name="title" translatable="yes">Preferences</property>
    <property name="type_hint">dialog</property>
    <signal name="destroy" handler="on_dialog_destroy"/>
    <child internal-child="vbox">
      <object class="GtkVBox" id="vbox">
        <property name="border_width">2</property>
        <property name="visible">True</property>
        <child>
          <object class="GtkNotebook" id="notebook">
            <property name="border_width">6</property>
            <property name="visible">True</property>
            <child>
              <object class="GtkVBox" id="vbox_general">
                <property name="border_width">12</property>
                <property name="spacing">6</property>
                <property name="visible">True</property>
                <child>
                  <object class="GtkTable" id="table_players">
                    <property name="column_spacing">6</property>
                    <property name="n_columns">3</property>
                    <property name="n_rows">2</property>
                    <property name="row_spacing">6</property>
                    <property name="visible">True</property>
                    <child>
                      <object class="GtkLabel" id="label_audio_player">
                        <property name="label" translatable="yes">Audio player:</property>
                        <property name="visible">True</property>
                        <property name="xalign">0.0</property>
                      </object>
                      <packing>
                        <property name="x_options">fill</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label_video_player">
                        <property name="label" translatable="yes">Video player:</property>
                        <property name="visible">True</property>
                        <property name="xalign">0.0</property>
                      </object>
                      <packing>
                        <property name="bottom_attach">2</property>
                        <property name="top_attach">1</property>
                        <property name="x_options">fill</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkComboBox" id="combo_audio_player_app">
                        <property name="visible">True</property>
                        <signal name="changed" handler="on_combo_audio_player_app_changed"/>
                      </object>
                      <packing>
                        <property name="left_attach">1</property>
                        <property name="right_attach">2</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkComboBox" id="combo_video_player_app">
                        <property name="visible">True</property>
                        <signal name="changed" handler="on_combo_video_player_app_changed"/>
                      </object>
                      <packing>
                        <property name="bottom_attach">2</property>
                        <property name="left_attach">1</property>
                        <property name="right_attach">2</property>
                        <property name="top_attach">1</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkButton" id="button_audio_player">
                        <property name="visible">True</property>
                        <signal name="clicked" handler="on_button_audio_player_clicked"/>
                        <child>
                          <object class="GtkImage" id="image3">
                            <property name="stock">gtk-edit</property>
                            <property name="visible">True</property>
                          </object>
                        </child>
                      </object>
                      <packing>
                        <property name="left_attach">2</property>
                        <property name="right_attach">3</property>
                        <property name="x_options">fill</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkButton" id="button_video_player">
                        <property name="visible">True</property>
                        <signal name="clicked" handler="on_button_video_player_clicked"/>
                        <child>
                          <object class="GtkImage" id="image4">
                            <property name="stock">gtk-edit</property>
                            <property name="visible">True</property>
                          </object>
                        </child>
                      </object>
                      <packing>
                        <property name="bottom_attach">2</property>
                        <property name="left_attach">2</property>
                        <property name="right_attach">3</property>
                        <property name="top_attach">1</property>
                        <property name="x_options">fill</property>
                      </packing>
                    </child>
                  </object>
                  <packing>
                    <property name="expand">False</property>
                  </packing>
                </child>
              </object>
              <packing>
                <property name="tab-label" translatable="yes">General</property>
              </packing>
            </child>
            <child>
              <object class="GtkVBox" id="vbox_extensions">
                <property name="border_width">12</property>
                <property name="spacing">6</property>
                <property name="visible">True</property>
                <child>
                  <object class="GtkScrolledWindow" id="scrolledwindow2">
                    <property name="visible">True</property>
                    <property name="can_focus">True</property>
                    <property name="shadow_type">in</property>
                    <child>
                      <object class="GtkTreeView" id="treeviewExtensions">
                        <property name="visible">True</property>
                        <property name="headers_visible">False</property>
                        <property name="can_focus">True</property>
                        <property name="reorderable">True</property>
                        <property name="enable_search">False</property>
                        <property name="search_column">0</property>
                        <signal name="row-activated" handler="on_extensions_row_activated" swapped="no"/>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="expand">True</property>
                  </packing>
                </child>
              </object>
              <packing>
                <property name="tab-label" translatable="yes">Extensions</property>
              </packing>
            </child>
            <child>
              <object class="GtkTable" id="mygpo_config">
                <property name="border_width">6</property>
                <property name="column_spacing">6</property>
                <property name="n_columns">3</property>
                <property name="n_rows">7</property>
                <property name="row_spacing">6</property>
                <property name="visible">True</property>
                <child>
                  <object class="GtkCheckButton" id="checkbutton_enable">
                    <property name="label" translatable="yes">Synchronize subscriptions and episode actions</property>
                    <property name="visible">True</property>
                    <signal handler="on_enabled_toggled" name="toggled"/>
                  </object>
                  <packing>
                    <property name="bottom_attach">2</property>
                    <property name="right_attach">3</property>
                    <property name="top_attach">1</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="label_username">
                    <property name="label" translatable="yes">Username:</property>
                    <property name="visible">True</property>
                    <property name="xalign">1.0</property>
                  </object>
                  <packing>
                    <property name="bottom_attach">3</property>
                    <property name="top_attach">2</property>
                    <property name="x_options">fill</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="label_password">
                    <property name="label" translatable="yes">Password:</property>
                    <property name="visible">True</property>
                    <property name="xalign">1.0</property>
                  </object>
                  <packing>
                    <property name="bottom_attach">4</property>
                    <property name="top_attach">3</property>
                    <property name="x_options">fill</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkButton" id="button_overwrite">
                    <property name="label" translatable="yes">Replace list on server with local subscriptions</property>
                    <property name="visible">True</property>
                    <signal handler="on_button_overwrite_clicked" name="clicked"/>
                  </object>
                  <packing>
                    <property name="bottom_attach">6</property>
                    <property name="right_attach">3</property>
                    <property name="top_attach">5</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="label_caption">
                    <property name="label" translatable="yes">Device name:</property>
                    <property name="visible">True</property>
                    <property name="xalign">1.0</property>
                  </object>
                  <packing>
                    <property name="bottom_attach">5</property>
                    <property name="top_attach">4</property>
                    <property name="x_options">fill</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkEntry" id="entry_username">
                    <property name="visible">True</property>
                    <signal handler="on_username_changed" name="changed"/>
                  </object>
                  <packing>
                    <property name="bottom_attach">3</property>
                    <property name="left_attach">1</property>
                    <property name="right_attach">3</property>
                    <property name="top_attach">2</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkEntry" id="entry_password">
                    <property name="visibility">False</property>
                    <property name="is_focus">True</property>
                    <property name="visible">True</property>
                    <signal handler="on_password_changed" name="changed"/>
                  </object>
                  <packing>
                    <property name="bottom_attach">4</property>
                    <property name="left_attach">1</property>
                    <property name="right_attach">3</property>
                    <property name="top_attach">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkEntry" id="entry_caption">
                    <property name="visible">True</property>
                    <signal handler="on_device_caption_changed" name="changed"/>
                  </object>
                  <packing>
                    <property name="bottom_attach">5</property>
                    <property name="left_attach">1</property>
                    <property name="right_attach">3</property>
                    <property name="top_attach">4</property>
                  </packing>
                </child>
              </object>
              <packing>
                <property name="tab-label" translatable="yes">gpodder.net</property>
                <property name="position">1</property>
              </packing>
            </child>

            <child>
              <object class="GtkVBox" id="vbox_updating">
                <property name="border_width">12</property>
                <property name="spacing">6</property>
                <property name="visible">True</property>
                <child>
                  <object class="GtkHBox" id="hbox_updating_interval">
                    <property name="spacing">6</property>
                    <property name="visible">True</property>
                    <child>
                      <object class="GtkLabel" id="label_update_interval">
                        <property name="label" translatable="yes">Update interval:</property>
                        <property name="visible">True</property>
                        <property name="xalign">0.0</property>
                        <property name="yalign">0.1</property>
                      </object>
                      <packing>
                        <property name="expand">False</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkHScale" id="hscale_update_interval">
                        <property name="digits">0</property>
                        <property name="is_focus">True</property>
                        <property name="restrict_to_fill_level">False</property>
                        <property name="value_pos">bottom</property>
                        <property name="visible">True</property>
                        <property name="adjustment">adjustment_update_interval</property>
                        <signal name="format-value" handler="format_update_interval_value"/>
                        <signal name="value-changed" handler="on_update_interval_value_changed"/>
                      </object>
                      <packing>
                        <property name="position">1</property>
                      </packing>
                    </child>
                  </object>
                  <packing>
                    <property name="expand">False</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkHSeparator" id="hseparator_updating">
                    <property name="visible">True</property>
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="position">2</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkHBox" id="hbox_episode_limit">
                    <property name="spacing">6</property>
                    <property name="visible">True</property>
                    <child>
                      <object class="GtkLabel" id="label_episode_limit">
                        <property name="label" translatable="yes">Maximum number of episodes per podcast:</property>
                        <property name="visible">True</property>
                        <property name="xalign">0.0</property>
                      </object>
                      <packing>
                        <property name="expand">False</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkSpinButton" id="spinbutton_episode_limit">
                        <property name="adjustment">adjustment_episode_limit</property>
                        <property name="visible">True</property>
                      </object>
                      <packing>
                        <property name="expand">False</property>
                        <property name="position">1</property>
                      </packing>
                    </child>
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="position">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkHSeparator" id="hseparator_updating2">
                    <property name="visible">True</property>
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="position">4</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkHBox" id="hbox_auto_download">
                    <property name="spacing">6</property>
                    <property name="visible">True</property>
                    <child>
                      <object class="GtkLabel" id="label_auto_download">
                        <property name="label" translatable="yes">When new episodes are found:</property>
                        <property name="visible">True</property>
                        <property name="xalign">0.0</property>
                      </object>
                      <packing>
                        <property name="expand">False</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkComboBox" id="combo_auto_download">
                        <property name="visible">True</property>
                        <signal name="changed" handler="on_combo_auto_download_changed"/>
                      </object>
                      <packing>
                        <property name="position">1</property>
                      </packing>
                    </child>
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="position">5</property>
                  </packing>
                </child>
              </object>
              <packing>
                <property name="tab-label" translatable="yes">Updating</property>
                <property name="position">2</property>
              </packing>
            </child>
            <child>
              <object class="GtkVBox" id="vbox_downloads">
                <property name="border_width">12</property>
                <property name="spacing">6</property>
                <property name="visible">True</property>
                <child>
                  <object class="GtkHBox" id="hbox_expiration">
                    <property name="spacing">6</property>
                    <property name="visible">True</property>
                    <child>
                      <object class="GtkLabel" id="label_expiration">
                        <property name="label" translatable="yes">Delete played episodes:</property>
                        <property name="visible">True</property>
                        <property name="xalign">0.0</property>
                        <property name="yalign">0.1</property>
                      </object>
                      <packing>
                        <property name="expand">False</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkHScale" id="hscale_expiration">
                        <property name="digits">0</property>
                        <property name="is_focus">True</property>
                        <property name="value_pos">bottom</property>
                        <property name="visible">True</property>
                        <property name="adjustment">adjustment_expiration</property>
                        <signal name="format-value" handler="format_expiration_value"/>
                        <signal name="value-changed" handler="on_expiration_value_changed"/>
                      </object>
                      <packing>
                        <property name="position">1</property>
                      </packing>
                    </child>
                  </object>
                  <packing>
                    <property name="expand">False</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="checkbutton_expiration_unfinished">
                    <property name="label" translatable="yes">Remove played episodes even if unfinished</property>
                    <property name="visible">True</property>
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="position">1</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="checkbutton_expiration_unplayed">
                    <property name="label" translatable="yes">Also remove unplayed episodes</property>
                    <property name="visible">True</property>
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="position">2</property>
                  </packing>
                </child>
              </object>
              <packing>
                <property name="tab-label" translatable="yes">Clean-up</property>
                <property name="position">3</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="position">2</property>
          </packing>
        </child>
        <child internal-child="action_area">
          <object class="GtkHButtonBox" id="action_area">
            <property name="border_width">5</property>
            <property name="layout_style">end</property>
            <property name="spacing">6</property>
            <property name="visible">True</property>
            <child>
              <object class="GtkButton" id="button_advanced">
                <property name="label" translatable="yes">Edit config</property>
                <property name="visible">True</property>
                <signal name="clicked" handler="on_button_advanced_clicked"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="button_close">
                <property name="label">gtk-close</property>
                <property name="use_stock">True</property>
                <property name="visible">True</property>
                <signal name="clicked" handler="on_button_close_clicked"/>
              </object>
              <packing>
                <property name="expand">True</property>
                <property name="fill">True</property>
                <property name="position">1</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="pack_type">end</property>
          </packing>
        </child>
      </object>
    </child>
  </object>
</interface>
