pidgin/resources/contactlist.ui

Mon, 30 Jun 2025 23:04:59 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 30 Jun 2025 23:04:59 -0500
changeset 43273
b2e7a32950ae
parent 42593
c821b5ab8895
permissions
-rw-r--r--

Update metainfo.xml for the release

And prepare for the next release right away.

Testing Done:
Ran `meson dist`

Reviewed at https://reviews.imfreedom.org/r/4041/

<?xml version="1.0" encoding="UTF-8"?>
<!--
Pidgin - Internet Messenger
Copyright (C) Pidgin Developers <devel@pidgin.im>

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this library; if not, see <https://www.gnu.org/licenses/>.
-->
<interface domain="pidgin">
  <requires lib="gtk" version="4.0"/>
  <!-- interface-license-type gplv2 -->
  <!-- interface-name Pidgin -->
  <!-- interface-description Internet Messenger -->
  <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
  <template class="PidginContactList" parent="GtkBox">
    <property name="orientation">vertical</property>
    <child>
      <object class="PidginInfoPane">
        <property name="title" translatable="yes">Contacts</property>
        <property name="child">
          <object class="GtkBox">
            <property name="margin-end">6</property>
            <property name="orientation">horizontal</property>
            <property name="spacing">6</property>
            <property name="valign">center</property>
            <child>
              <object class="GtkToggleButton" id="show_offline">
                <signal name="toggled" handler="pidgin_contact_list_show_offline_toggled_cb"/>
                <child>
                  <object class="GtkLabel">
                    <property name="label" translatable="yes">Show _Offline Contacts</property>
                    <property name="use-underline">true</property>
                    <property name="mnemonic-widget">show_offline</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkSearchEntry" id="search_entry">
                <property name="placeholder-text" translatable="yes">Search</property>
                <signal name="search-changed" handler="pidgin_contact_list_search_changed_cb"/>
              </object>
            </child>
          </object>
        </property>
      </object>
    </child>
    <child>
      <object class="GtkListView">
        <property name="hexpand">1</property>
        <property name="vexpand">1</property>
        <property name="factory">
          <object class="GtkBuilderListItemFactory">
            <property name="resource">/im/pidgin/Pidgin3/contactlistitem.ui</property>
          </object>
        </property>
        <property name="model">
          <object class="GtkSingleSelection">
            <property name="autoselect">1</property>
            <property name="model">
              <object class="GtkFilterListModel" id="filter_model">
                <property name="incremental">0</property>
                <property name="filter">
                  <object class="GtkEveryFilter">
                    <child>
                      <object class="GtkCustomFilter" id="account_connected_filter"/>
                    </child>
                    <child>
                      <object class="GtkCustomFilter" id="offline_filter"/>
                    </child>
                    <child>
                      <object class="GtkCustomFilter" id="search_filter"/>
                    </child>
                  </object>
                </property>
              </object>
            </property>
          </object>
        </property>
        <signal name="activate" handler="pidgin_contact_list_activate_cb"/>
      </object>
    </child>
  </template>
</interface>

mercurial