pidgin/resources/Prefs/credentialprovider.ui

Tue, 02 Jan 2024 00:36:32 -0600

author
Gary Kramlich <grim@reaperworld.com>
date
Tue, 02 Jan 2024 00:36:32 -0600
changeset 42562
f02878f30f91
parent 42196
2e49acd1c587
permissions
-rw-r--r--

Create a full widget for the new instant message window

This now uses AdwMessageDialog and is self contained but PidginApplication
manages a singleton of it.

Previously this used the request api. I'm not sure why, as the request fields
were created by the ui itself.

Testing Done:
Created an im with `Echo` on a `demo` account and was able to send and receive messages.

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

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 

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, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

-->
<interface>
  <requires lib="gtk" version="4.0"/>
  <requires lib="libadwaita" version="0.0"/>
  <!-- interface-license-type gplv2 -->
  <!-- interface-name Pidgin -->
  <!-- interface-description Internet Messenger -->
  <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
  <template class="PidginCredentialProviderRow" parent="AdwActionRow">
    <property name="focusable">1</property>
    <property name="activatable">1</property>
    <child>
      <object class="GtkButton" id="configure">
        <property name="sensitive" bind-source="PidginCredentialProviderRow" bind-property="active">0</property>
        <property name="focusable">1</property>
        <property name="receives-default">1</property>
        <property name="icon-name">document-properties-symbolic</property>
        <property name="halign">center</property>
        <property name="valign">center</property>
        <style>
          <class name="circular"/>
        </style>
      </object>
    </child>
    <child>
      <object class="GtkCheckButton" id="active">
        <property name="can-target">0</property>
        <property name="css-classes">selection-mode</property>
        <property name="focusable">0</property>
        <property name="valign">center</property>
      </object>
    </child>
  </template>
</interface>

mercurial