pidgin/resources/Conversations/message.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 43248
55ff17a82093
child 43277
286947581188
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>
  <requires lib="gtk" version="4.0"/>
  <template class="PidginMessage">
    <property name="orientation">horizontal</property>
    <child>
      <object class="GtkEventControllerMotion" id="motion_controller"/>
    </child>
    <child>
      <object class="GtkBox">
        <property name="hexpand">1</property>
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkBox">
            <property name="spacing">8</property>
            <child>
              <object class="PidginConversationMember">
                <binding name="conversation-member">
                  <lookup name="author" type="PurpleMessage">
                    <lookup name="message">PidginMessage</lookup>
                  </lookup>
                </binding>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="edited">
                <binding name="visible">
                  <lookup name="edited" type="PurpleMessage">
                    <lookup name="message">PidginMessage</lookup>
                  </lookup>
                </binding>
                <property name="label" translatable="yes">(edited)</property>
                <property name="has-tooltip">1</property>
                <signal name="query-tooltip" handler="pidgin_message_query_tooltip_edited_cb"/>
                <style>
                  <class name="dim-label"/>
                </style>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="timestamp">
                <binding name="visible">
                  <lookup name="contains_pointer">motion_controller</lookup>
                </binding>
                <binding name="label">
                  <closure type="gchararray" function="pidgin_message_get_timestamp_string">
                    <lookup name="message">PidginMessage</lookup>
                  </closure>
                </binding>
                <property name="has-tooltip">1</property>
                <signal name="query-tooltip" handler="pidgin_message_query_tooltip_timestamp_cb"/>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkLabel" id="content">
            <property name="wrap">1</property>
            <property name="wrap-mode">word-char</property>
            <property name="xalign">0</property>
            <property name="yalign">0</property>
            <binding name="label">
              <lookup name="contents" type="PurpleMessage">
                <lookup name="message">PidginMessage</lookup>
              </lookup>
            </binding>
            <binding name="attributes">
              <closure type="PangoAttrList" function="pidgin_message_get_message_attributes">
                <lookup name="message">PidginMessage</lookup>
                <lookup name="show-formatting">PidginMessage</lookup>
              </closure>
            </binding>
            <property name="has-tooltip">1</property>
            <signal name="query-tooltip" handler="pidgin_message_query_tooltip_contents_cb"/>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>

mercurial