pidgin/resources/presenceicon.ui

Tue, 17 Oct 2023 03:13:07 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Tue, 17 Oct 2023 03:13:07 -0500
changeset 42365
45ce6d3f6386
parent 41629
f617ffec2950
permissions
-rw-r--r--

Create PidginAccountRow which subclasses AdwRow

This allows account selection to fit in to a list view much more naturally.

Testing Done:
Added a buddy and opened the get user info dialog to tests the requests side.

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

<?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>
  <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="PidginPresenceIcon" parent="GtkBox">
    <property name="orientation">vertical</property>
    <child>
      <object class="GtkImage" id="icon">
        <property name="vexpand">1</property>
        <property name="icon-name">image-missing</property>
        <property name="use-fallback">1</property>
        <property name="icon_size">large</property>
      </object>
    </child>
  </template>
</interface>

mercurial