<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <object class="GtkListStore" id="liststore">
    <columns>
      <column type="GIcon"/>
      <column type="gchararray"/>
      <column type="gchararray"/>
      <column type="gboolean"/>
      <column type="gboolean"/>
      <column type="gboolean"/>
      <column type="gboolean"/>
      <column type="gboolean"/>
      <column type="gchararray"/>
      <column type="PyObject"/>
    </columns>
  </object>
  <object class="GtkBox" id="plugins_box">
    <property name="spacing">18</property>
    <child>
      <object class="GtkBox">
        <property name="width-request">200</property>
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkScrolledWindow">
            <property name="vexpand">1</property>
            <property name="focusable">1</property>
            <property name="hscrollbar-policy">never</property>
            <property name="child">
              <object class="GtkTreeView" id="plugins_treeview">
                <property name="focusable">1</property>
                <property name="model">liststore</property>
                <property name="search-column">1</property>
                <property name="enable-grid-lines">horizontal</property>
                <child internal-child="selection">
                  <object class="GtkTreeSelection" id="treeview_selection">
                  </object>
                </child>
                <child>
                  <object class="GtkTreeViewColumn">
                    <child>
                      <object class="GtkCellRendererPixbuf"/>
                      <attributes>
                        <attribute name="gicon">0</attribute>
                      </attributes>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkTreeViewColumn">
                    <property name="title" translatable="yes">Name</property>
                    <property name="sort-column-id">1</property>
                    <child>
                      <object class="GtkCellRendererText"/>
                      <attributes>
                        <attribute name="text">1</attribute>
                      </attributes>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkTreeViewColumn">
                    <property name="title" translatable="yes">Version</property>
                    <child>
                      <object class="GtkCellRendererText"/>
                      <attributes>
                        <attribute name="text">2</attribute>
                      </attributes>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkTreeViewColumn">
                    <property name="title" translatable="yes">Installed</property>
                    <child>
                      <object class="GtkCellRendererPixbuf">
                        <property name="icon-name">feather-check-symbolic</property>
                      </object>
                      <attributes>
                        <attribute name="visible">3</attribute>
                      </attributes>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkTreeViewColumn" id="enabled_column">
                    <property name="title" translatable="yes">Enabled</property>
                    <child>
                      <object class="GtkCellRendererToggle" id="enabled_renderer">
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkTreeViewColumn">
                    <property name="min-width">40</property>
                    <property name="max-width">40</property>
                    <child>
                      <object class="GtkCellRendererPixbuf">
                        <property name="icon-name">software-update-available-symbolic</property>
                      </object>
                      <attributes>
                        <attribute name="visible">5</attribute>
                      </attributes>
                    </child>
                    <child>
                      <object class="GtkCellRendererPixbuf">
                        <property name="icon-name">dialog-warning-symbolic</property>
                      </object>
                      <attributes>
                        <attribute name="visible">7</attribute>
                      </attributes>
                    </child>
                    <child>
                      <object class="GtkCellRendererSpinner">
                        <property name="active">1</property>
                      </object>
                      <attributes>
                        <attribute name="visible">4</attribute>
                      </attributes>
                    </child>
                    <child>
                      <object class="GtkCellRendererPixbuf">
                        <property name="icon-name">system-reboot-symbolic</property>
                      </object>
                      <attributes>
                        <attribute name="visible">6</attribute>
                      </attributes>
                    </child>
                  </object>
                </child>
                <style>
                  <class name="space"/>
                </style>
              </object>
            </property>
          </object>
        </child>
        <child>
          <object class="GtkBox" id="toolbar">
            <property name="css-classes">toolbar</property>
            <property name="can-focus">0</property>
            <child>
              <object class="GtkButton" id="download_button">
                <property name="can-focus">0</property>
                <property name="halign">end</property>
                <property name="use-underline">1</property>
                <property name="icon-name">folder-download-symbolic</property>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="uninstall_plugin_button">
                <property name="can-focus">0</property>
                <property name="tooltip-text" translatable="yes">Uninstall Plugin</property>
                <property name="use-underline">1</property>
                <property name="icon-name">edit-delete-symbolic</property>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="help_button">
                <property name="can-focus">0</property>
                <property name="tooltip-text" translatable="yes">Click to view Gajim&apos;s wiki page on how to install plugins in Flatpak.</property>
                <property name="label" translatable="yes">help</property>
                <property name="use-underline">1</property>
                <property name="visible">0</property>
                <property name="icon-name">help-about-symbolic</property>
              </object>
            </child>
            <style>
              <class name="inline-toolbar"/>
            </style>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkBox">
        <property name="width-request">400</property>
        <property name="hexpand">1</property>
        <property name="orientation">vertical</property>
        <property name="spacing">18</property>
        <child>
          <object class="GtkBox">
            <property name="hexpand">0</property>
            <property name="spacing">18</property>
            <child>
              <object class="GtkLabel" id="plugin_name_label">
                <property name="halign">start</property>
                <property name="label">&lt;Plugin Name&gt;</property>
                <property name="selectable">1</property>
                <style>
                  <class name="large-header"/>
                </style>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="configure_plugin_button">
                <property name="halign">end</property>
                <property name="hexpand">1</property>
                <property name="focusable">1</property>
                <property name="receives-default">1</property>
                <property name="tooltip-text" translatable="yes">Plugin Settings</property>
                <property name="valign">center</property>
                <child>
                  <object class="GtkImage">
                    <property name="icon-name">applications-system-symbolic</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkLabel" id="description">
            <property name="halign">start</property>
            <property name="label">&lt;Description&gt;</property>
            <property name="wrap">1</property>
            <property name="wrap-mode">word-char</property>
            <property name="selectable">1</property>
            <property name="xalign">0</property>
          </object>
        </child>
        <child>
          <object class="GtkGrid">
            <property name="row-spacing">6</property>
            <property name="column-spacing">12</property>
            <child>
              <object class="GtkLabel">
                <property name="halign">end</property>
                <property name="valign">start</property>
                <property name="label" translatable="yes">Version</property>
                <style>
                  <class name="dim-label"/>
                </style>
                <layout>
                  <property name="column">0</property>
                  <property name="row">0</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="plugin_version_label">
                <property name="halign">start</property>
                <property name="label">&lt;empty&gt;</property>
                <property name="wrap">1</property>
                <property name="wrap-mode">word-char</property>
                <property name="selectable">1</property>
                <property name="xalign">0</property>
                <layout>
                  <property name="column">1</property>
                  <property name="row">0</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkLabel">
                <property name="halign">end</property>
                <property name="valign">start</property>
                <property name="label" translatable="yes">Authors</property>
                <style>
                  <class name="dim-label"/>
                </style>
                <layout>
                  <property name="column">0</property>
                  <property name="row">1</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="plugin_authors_label">
                <property name="halign">start</property>
                <property name="label">&lt;empty&gt;</property>
                <property name="wrap">1</property>
                <property name="wrap-mode">word-char</property>
                <property name="selectable">1</property>
                <property name="lines">10</property>
                <property name="xalign">0</property>
                <layout>
                  <property name="column">1</property>
                  <property name="row">1</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkLabel">
                <property name="halign">end</property>
                <property name="valign">start</property>
                <property name="label" translatable="yes">Homepage</property>
                <style>
                  <class name="dim-label"/>
                </style>
                <layout>
                  <property name="column">0</property>
                  <property name="row">2</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="plugin_homepage_linkbutton">
                <property name="halign">start</property>
                <property name="label">&lt;empty&gt;</property>
                <property name="wrap">1</property>
                <property name="wrap-mode">word-char</property>
                <property name="xalign">0</property>
                <layout>
                  <property name="column">1</property>
                  <property name="row">2</property>
                </layout>
              </object>
            </child>
            <child>
              <placeholder/>
            </child>
            <child>
              <placeholder/>
            </child>
            <child>
              <placeholder/>
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>
</interface>
