<?xml version="1.0" encoding="UTF-8"?>
<interface>

<object class="GtkUIManager" id="totem-playlist-ui-manager">
   <child>
      <object class="GtkActionGroup" id="playlist-action-group">
         <child>
            <object class="GtkAction" id="remove">
               <property name="label" translatable="yes">_Remove</property>
               <property name="tooltip" translatable="yes">Remove file from playlist</property>
               <property name="stock-id">gtk-remove</property>
               <signal name="activate" handler="playlist_remove_action_callback"/>
            </object>
         </child>
         <child>
            <object class="GtkAction" id="copy-location">
               <property name="label" translatable="yes">_Copy Location</property>
               <property name="tooltip" translatable="yes">Copy the location to the clipboard</property>
               <property name="stock-id">gtk-copy</property>
               <signal name="activate" handler="playlist_copy_location_action_callback"/>
            </object>
         </child>
         <child>
            <object class="GtkAction" id="select-subtitle">
               <property name="label" translatable="yes">_Select Text Subtitles...</property>
               <property name="tooltip" translatable="yes">Select a file to use for text subtitles</property>
               <property name="stock-id">gtk-open</property>
               <signal name="activate" handler="playlist_select_subtitle_action_callback"/>
            </object>
         </child>
      </object>
   </child>
   <ui>
      <popup name="totem-playlist-popup">
         <menuitem name="remove" action="remove"/>
         <menuitem name="copy-location" action="copy-location"/>
         <menuitem name="select-subtitle" action="select-subtitle"/>
      </popup>
   </ui>
</object>

  <!-- interface-requires gtk+ 2.12 -->
  <object class="GtkListStore" id="playlist_list_store">
    <columns>
      <!-- column-name gint -->
      <column type="gint"/>
      <!-- column-name gchararray -->
      <column type="gchararray"/>
      <!-- column-name gchararray1 -->
      <column type="gchararray"/>
      <!-- column-name gchararray2 -->
      <column type="gchararray"/>
      <!-- column-name gboolean -->
      <column type="gboolean"/>
      <!-- column-name gchararray3 -->
      <column type="gchararray"/>
      <!-- column-name gobject -->
      <column type="GObject"/>
      <!-- column-name mime-type -->
      <column type="gchararray"/>
    </columns>
  </object>
  <object class="GtkVBox" id="vbox4">
    <property name="visible">True</property>
    <property name="can_focus">False</property>
    <property name="spacing">0</property>
    <child>
      <object class="GtkScrolledWindow" id="scrolledwindow1">
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="shadow_type">in</property>
        <child>
          <object class="GtkTreeView" id="treeview1">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="model">playlist_list_store</property>
            <property name="headers_visible">True</property>
            <property name="rules_hint">True</property>
            <child internal-child="selection">
              <object class="GtkTreeSelection" id="treeview-selection1"/>
            </child>
          </object>
        </child>
      </object>
      <packing>
        <property name="expand">True</property>
        <property name="fill">True</property>
        <property name="position">0</property>
      </packing>
    </child>
    <child>
      <object class="GtkToolbar" id="toolbar1">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="icon_size">1</property>
        <property name="toolbar-style">icons</property>
        <style>
          <class name="inline-toolbar"/>
        </style>
        <child>
          <object class="GtkToolButton" id="add_button">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="use_action_appearance">False</property>
            <property name="use_underline">True</property>
	    <property name="icon_name">list-add-symbolic</property>
	    <signal name="clicked" handler="totem_playlist_add_files"/>
	    <property name="tooltip-text" translatable="yes">Add...</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="homogeneous">True</property>
          </packing>
        </child>
        <child>
          <object class="GtkToolButton" id="remove_button">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="use_action_appearance">False</property>
            <property name="use_underline">True</property>
	    <property name="icon_name">list-remove-symbolic</property>
	    <signal name="clicked" handler="playlist_remove_button_clicked"/>
	    <property name="tooltip-text" translatable="yes">Remove</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="homogeneous">True</property>
          </packing>
        </child>
        <child>
          <object class="GtkToolButton" id="save_button">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="use_action_appearance">False</property>
            <property name="use_underline">True</property>
	    <property name="icon_name">document-save-symbolic</property>
	    <property name="tooltip-text" translatable="yes">Save Playlist...</property>
	    <signal name="clicked" handler="totem_playlist_save_files"/>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="homogeneous">True</property>
          </packing>
        </child>
        <child>
          <object class="GtkToolButton" id="up_button">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="use_action_appearance">False</property>
            <property name="use_underline">True</property>
	    <property name="icon_name">go-up-symbolic</property>
	    <property name="tooltip-text" translatable="yes">Move Up</property>
	    <signal name="clicked" handler="totem_playlist_up_files"/>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="homogeneous">True</property>
          </packing>
        </child>
        <child>
          <object class="GtkToolButton" id="down_button">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="use_action_appearance">False</property>
            <property name="use_underline">True</property>
	    <property name="icon_name">go-down-symbolic</property>
	    <property name="tooltip-text" translatable="yes">Move Down</property>
	    <signal name="clicked" handler="totem_playlist_down_files"/>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="homogeneous">True</property>
          </packing>
        </child>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="fill">True</property>
        <property name="position">1</property>
      </packing>
    </child>
  </object>
</interface>
