pidgin/resources/Plugins/dialog.ui

Mon, 29 Aug 2022 22:06:07 -0500

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Mon, 29 Aug 2022 22:06:07 -0500
changeset 41623
78cf94d0f8c8
parent 41593
6928f02e807a
child 41629
f617ffec2950
permissions
-rw-r--r--

Move network preferences to Adwaita preference widgets

This does make the TURN server settings longer vertically, but that seems more consistent with everything.

Also fix the `leave` event on the TURN server setting.

Testing Done:
Toggled all the options and checked that stuff happened in the Debug Window.

Also, I'm not sure why the `GtkSpinButton` and `GtkEntry` expand to different sizes; they both have `hexpand=1`, and the spin button is next to text that's _shorter_ than the entry, but somehow ends up farther right. Seems like a bug in GTK.

PS, be careful of this page; it tries to get your public IP address and displays it when it succeeds.

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

40216
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
41538
48e7927980ec Update the plugins dialog to use the GPluginGtkView from gplugin-gtk4
Gary Kramlich <grim@reaperworld.com>
parents: 40824
diff changeset
2 <!--
40246
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
3 Pidgin - Internet Messenger
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
4 Copyright (C) Pidgin Developers <devel@pidgin.im>
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
5
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
6 This program is free software; you can redistribute it and/or
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
7 modify it under the terms of the GNU General Public License
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
8 as published by the Free Software Foundation; either version 2
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
9 of the License, or (at your option) any later version.
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
10
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
11 This program is distributed in the hope that it will be useful,
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
14 GNU General Public License for more details.
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
15
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
16 You should have received a copy of the GNU General Public License
41593
6928f02e807a Make the plugins dialog work under GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41538
diff changeset
17 along with this program; if not, see <https://www.gnu.org/licenses/>.
40246
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
18 -->
40216
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
19 <interface>
41538
48e7927980ec Update the plugins dialog to use the GPluginGtkView from gplugin-gtk4
Gary Kramlich <grim@reaperworld.com>
parents: 40824
diff changeset
20 <requires lib="gtk" version="4.0"/>
48e7927980ec Update the plugins dialog to use the GPluginGtkView from gplugin-gtk4
Gary Kramlich <grim@reaperworld.com>
parents: 40824
diff changeset
21 <requires lib="gplugin-gtk4" version="0.35"/>
40246
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
22 <!-- interface-license-type gplv2 -->
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
23 <!-- interface-name Pidgin -->
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
24 <!-- interface-description Internet Messenger -->
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40222
diff changeset
25 <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
40218
8f2da2bb2e1b Get the new plugin dialog working. Needs a bit of cleanup yet
Gary Kramlich <grim@reaperworld.com>
parents: 40216
diff changeset
26 <template class="PidginPluginsDialog" parent="GtkDialog">
41538
48e7927980ec Update the plugins dialog to use the GPluginGtkView from gplugin-gtk4
Gary Kramlich <grim@reaperworld.com>
parents: 40824
diff changeset
27 <property name="title" translatable="1">Plugins</property>
41593
6928f02e807a Make the plugins dialog work under GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41538
diff changeset
28 <signal name="response" handler="pidgin_plugins_dialog_response_cb" swapped="no"/>
41538
48e7927980ec Update the plugins dialog to use the GPluginGtkView from gplugin-gtk4
Gary Kramlich <grim@reaperworld.com>
parents: 40824
diff changeset
29 <child internal-child="content_area">
41593
6928f02e807a Make the plugins dialog work under GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41538
diff changeset
30 <object class="GtkBox">
6928f02e807a Make the plugins dialog work under GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41538
diff changeset
31 <property name="orientation">vertical</property>
6928f02e807a Make the plugins dialog work under GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41538
diff changeset
32 <child>
6928f02e807a Make the plugins dialog work under GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41538
diff changeset
33 <object class="GPluginGtkView" id="view">
6928f02e807a Make the plugins dialog work under GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41538
diff changeset
34 <property name="vexpand">1</property>
6928f02e807a Make the plugins dialog work under GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41538
diff changeset
35 <property name="valign">fill</property>
6928f02e807a Make the plugins dialog work under GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41538
diff changeset
36 </object>
6928f02e807a Make the plugins dialog work under GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41538
diff changeset
37 </child>
6928f02e807a Make the plugins dialog work under GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41538
diff changeset
38 </object>
40216
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
39 </child>
41538
48e7927980ec Update the plugins dialog to use the GPluginGtkView from gplugin-gtk4
Gary Kramlich <grim@reaperworld.com>
parents: 40824
diff changeset
40 <child internal-child="action_area"/>
40216
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
41 </template>
bf78d5476c6a initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
42 </interface>

mercurial