Mon, 07 Nov 2022 23:27:06 -0600
Modernize add buddy/chat dialogs
Use `AdwEntryRow` where possible, add bigger margins/spacing, use some Adwaita styles, and tweak some text.
Like the auto-generated account options, this uses an entry for integer values, instead of the spin button.
Testing Done:
Opened 'Add a Buddy' dialog, and added one.
Opened 'Add a Chat' dialog, and added one, also changed protocols to confirm that the fields changed.
Reviewed at https://reviews.imfreedom.org/r/2045/
<?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>