pidgin/resources/Prefs/conversation.ui

Fri, 28 Mar 2025 00:32:48 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Fri, 28 Mar 2025 00:32:48 -0500
changeset 43208
b81c104ccbe0
parent 43194
77aadc520684
permissions
-rw-r--r--

Fix an alignment issue with the conversation 3 vertical dots menu

If a conversation had notifications and you selected or hovered over it, the
notifications would hide, but the 3 vertical dots menu would be positioned
like the notifications were still visible.

Testing Done:
Joined a bunch of channels and waited for notifications to popup and then verified that the 3 vertical dots menu was in the correct place.

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

<?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 program; if not, see <https://www.gnu.org/licenses/>.
-->
<interface>
  <requires lib="gtk" version="4.0"/>
  <requires lib="Adw" version="1.0"/>
  <!-- interface-license-type gplv2 -->
  <!-- interface-name Pidgin -->
  <!-- interface-description Internet Messenger -->
  <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
  <object class="GtkAdjustment" id="minimum_entry_lines.adjustment">
    <property name="lower">1</property>
    <property name="upper">8</property>
    <property name="value">2</property>
    <property name="step-increment">1</property>
    <property name="page-increment">1</property>
  </object>
  <object class="GtkSizeGroup" id="iface.sg"/>
  <template class="PidginConversationPrefs" parent="AdwPreferencesPage">
    <property name="icon-name">document-properties-symbolic</property>
    <property name="title" translatable="yes">Conversations</property>
    <child>
      <object class="AdwPreferencesGroup">
        <property name="title" translatable="yes">Conversations</property>
        <child>
          <object class="AdwSwitchRow" id="show_incoming_formatting">
            <property name="title" translatable="yes">Show _formatting on incoming messages</property>
            <property name="use-underline">1</property>
          </object>
        </child>
        <child>
          <object class="AdwSwitchRow" id="im.send_typing">
            <property name="title" translatable="yes">_Notify buddies that you are typing to them</property>
            <property name="use-underline">1</property>
          </object>
        </child>
        <child>
          <object class="AdwSwitchRow" id="win32.blink_im">
            <property name="title" translatable="yes">F_lash window when IMs are received</property>
            <property name="use-underline">1</property>
          </object>
        </child>
        <child>
          <object class="AdwSpinRow" id="minimum_entry_lines">
            <property name="title" translatable="yes">Minimum input area height in lines</property>
            <property name="use-underline">1</property>
            <property name="adjustment">minimum_entry_lines.adjustment</property>
            <property name="digits">0</property>
            <property name="numeric">1</property>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>

mercurial