pidgin/resources/Plugins/dialog.ui

Fri, 12 Jan 2024 01:47:00 -0600

author
Gary Kramlich <grim@reaperworld.com>
date
Fri, 12 Jan 2024 01:47:00 -0600
changeset 42566
ddaa27826ccc
parent 41635
5f18f53da695
permissions
-rw-r--r--

Make PidginInfoPane generic

This removes the conversation property and replaces it with title and subtitle
properties.

It also adds a child property so that user can add custom widgets.

Testing Done:
Opened some conversations and verified everything still worked as expected without any warnings or errors.

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

<?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="gplugin-gtk4" version="0.35"/>
  <!-- interface-license-type gplv2 -->
  <!-- interface-name Pidgin -->
  <!-- interface-description Internet Messenger -->
  <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
  <template class="PidginPluginsDialog" parent="GtkDialog">
    <property name="title" translatable="1">Plugins</property>
    <property name="default-height">700</property>
    <property name="default-width">560</property>
    <signal name="response" handler="pidgin_plugins_dialog_response_cb" swapped="no"/>
    <child internal-child="content_area">
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <child>
          <object class="GPluginGtkView" id="view">
            <property name="vexpand">1</property>
          </object>
        </child>
      </object>
    </child>
    <child internal-child="action_area"/>
  </template>
</interface>

mercurial