<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <object class="GtkPopover" id="info_popover">
    <property name="child">
      <object class="GtkLabel">
        <property name="label" translatable="yes">&lt;b&gt;XMPP Address&lt;/b&gt;
&amp;lt;user@domain/resource&amp;gt; (only that resource matches)
&amp;lt;user@domain&amp;gt; (any resource matches)
&amp;lt;domain/resource&amp;gt; (only that resource matches)
&amp;lt;domain&amp;gt; (the domain itself matches, as does any user@domain or domain/resource)
</property>
        <property name="use-markup">1</property>
        <style>
          <class name="p-6"/>
        </style>
      </object>
    </property>
  </object>
  <object class="GtkListStore" id="outcast_store">
    <columns>
      <column type="gchararray"/>
      <column type="gchararray"/>
      <column type="gboolean"/>
    </columns>
  </object>
  <object class="GtkBox" id="main_box">
    <property name="orientation">vertical</property>
    <child>
      <object class="GtkScrolledWindow" id="outcast_scrolled">
        <property name="focusable">1</property>
        <property name="hexpand">1</property>
        <property name="vexpand">1</property>
        <property name="child">
          <object class="GtkTreeView" id="outcast_treeview">
            <property name="focusable">1</property>
            <property name="model">outcast_store</property>
            <property name="search-column">0</property>
            <property name="show-expanders">0</property>
            <property name="enable-grid-lines">horizontal</property>
            <child internal-child="selection">
              <object class="GtkTreeSelection" id="outcast_selection">
                <property name="mode">multiple</property>
              </object>
            </child>
            <child>
              <object class="GtkTreeViewColumn">
                <property name="resizable">1</property>
                <property name="sizing">fixed</property>
                <property name="min-width">150</property>
                <property name="title" translatable="yes">XMPP Address</property>
                <property name="expand">1</property>
                <property name="clickable">1</property>
                <property name="sort-indicator">1</property>
                <property name="sort-column-id">0</property>
                <child>
                  <object class="GtkCellRendererText" id="address_renderer">
                    <property name="ellipsize">end</property>
                    <property name="placeholder-text">user@example.org</property>
                  </object>
                  <attributes>
                    <attribute name="editable">2</attribute>
                    <attribute name="text">0</attribute>
                  </attributes>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkTreeViewColumn">
                <property name="resizable">1</property>
                <property name="sizing">fixed</property>
                <property name="min-width">120</property>
                <property name="title" translatable="yes">Reason</property>
                <property name="clickable">1</property>
                <property name="sort-indicator">1</property>
                <property name="sort-column-id">1</property>
                <child>
                  <object class="GtkCellRendererText" id="reason_renderer"/>
                  <attributes>
                    <attribute name="editable">2</attribute>
                    <attribute name="text">1</attribute>
                  </attributes>
                </child>
              </object>
            </child>
          </object>
        </property>
        <style>
          <class name="m-12"/>
        </style>
      </object>
    </child>
    <child>
      <object class="GtkBox" id="button_box">
        <property name="spacing">12</property>
        <child>
          <object class="GtkBox" id="add_remove_button_box">
            <property name="halign">center</property>
            <property name="valign">start</property>
            <property name="vexpand">0</property>
            <property name="spacing">6</property>
            <child>
              <object class="GtkButton" id="add_button">
                <property name="sensitive">0</property>
                <property name="focusable">1</property>
                <property name="receives-default">1</property>
                <property name="tooltip-text" translatable="yes">Only Admins and Owners can modify the affiliation</property>
                <property name="halign">center</property>
                <child>
                  <object class="GtkImage">
                    <property name="icon-name">feather-plus-symbolic</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="remove_button">
                <property name="halign">center</property>
                <property name="sensitive">0</property>
                <property name="focusable">1</property>
                <property name="receives-default">1</property>
                <property name="tooltip-text" translatable="yes">Only Admins and Owners can modify the affiliation</property>
                <child>
                  <object class="GtkImage">
                    <property name="icon-name">feather-trash-symbolic</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkMenuButton" id="info_button">
            <property name="halign">center</property>
            <property name="focusable">1</property>
            <property name="receives-default">1</property>
            <property name="popover">info_popover</property>
            <child>
              <object class="GtkImage">
                <property name="icon-name">dialog-information-symbolic</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <placeholder/>
        </child>
        <style>
          <class name="m-12"/>
        </style>
      </object>
    </child>
  </object>
</interface>
