pidgin/resources/Conversations/invite_dialog.ui

Sun, 14 Jan 2024 20:08:13 -0600

author
Gary Kramlich <grim@reaperworld.com>
date
Sun, 14 Jan 2024 20:08:13 -0600
changeset 42568
31e8c7c92e2f
parent 41896
6ff3224e40da
permissions
-rw-r--r--

Make sure all of the license headers for IRCv3 are GPLv2

Testing Done:
Ran `licensecheck` from debian in the following way.

```
$ licensecheck *.[ch] | cut -d: -f 2 | sort | uniq -c
27 GNU General Public License v2.0 or later
```

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

39576
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
41591
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
2 <!--
40246
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39931
diff changeset
3 Pidgin - Internet Messenger
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39931
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: 39931
diff changeset
5
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39931
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: 39931
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: 39931
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: 39931
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: 39931
diff changeset
10
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39931
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: 39931
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: 39931
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: 39931
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: 39931
diff changeset
15
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39931
diff changeset
16 You should have received a copy of the GNU General Public License
41591
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
17 along with this library; if not, see <https://www.gnu.org/licenses/>.
40246
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39931
diff changeset
18 -->
39576
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
19 <interface>
41591
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
20 <requires lib="gtk" version="4.0"/>
40246
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39931
diff changeset
21 <!-- interface-license-type gplv2 -->
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39931
diff changeset
22 <!-- interface-name Pidgin -->
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39931
diff changeset
23 <!-- interface-description Internet Messenger -->
7c21a9cdf495 Add metadata to Glade ui files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39931
diff changeset
24 <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
39576
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
25 <template class="PidginInviteDialog" parent="GtkDialog">
41591
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
26 <property name="title" translatable="1">Invite to conversation...</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
27 <property name="resizable">0</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
28 <child internal-child="content_area">
39576
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
29 <object class="GtkBox">
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
30 <property name="orientation">vertical</property>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
31 <property name="spacing">2</property>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
32 <child>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
33 <object class="GtkGrid">
41591
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
34 <property name="vexpand">1</property>
40824
132c763c26e4 Refresh all of the ui files
Gary Kramlich <grim@reaperworld.com>
parents: 40246
diff changeset
35 <property name="margin-bottom">6</property>
132c763c26e4 Refresh all of the ui files
Gary Kramlich <grim@reaperworld.com>
parents: 40246
diff changeset
36 <property name="row-spacing">6</property>
39576
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
37 <child>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
38 <object class="GtkLabel">
41591
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
39 <property name="label" translatable="1">Please enter the name of the user you wish to invite, along with an optional invite message.</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
40 <property name="wrap">1</property>
39576
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
41 <property name="xalign">0</property>
41591
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
42 <layout>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
43 <property name="column">0</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
44 <property name="row">0</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
45 <property name="column-span">2</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
46 </layout>
39576
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
47 </object>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
48 </child>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
49 <child>
41591
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
50 <object class="GtkLabel" id="label_contact">
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
51 <property name="label" translatable="1">Contact:</property>
39576
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
52 <property name="xalign">0</property>
41591
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
53 <layout>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
54 <property name="column">0</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
55 <property name="row">1</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
56 </layout>
39576
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
57 </object>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
58 </child>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
59 <child>
41591
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
60 <object class="GtkLabel" id="label_message">
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
61 <property name="label" translatable="1">Message:</property>
39576
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
62 <property name="xalign">0</property>
41591
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
63 <layout>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
64 <property name="column">0</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
65 <property name="row">2</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
66 </layout>
39576
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
67 </object>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
68 </child>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
69 <child>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
70 <object class="GtkEntry" id="contact">
41591
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
71 <property name="focusable">1</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
72 <property name="activates-default">1</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
73 <layout>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
74 <property name="column">1</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
75 <property name="row">1</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
76 </layout>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
77 <accessibility>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
78 <relation name="labelled-by">label_contact</relation>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
79 </accessibility>
39576
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
80 </object>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
81 </child>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
82 <child>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
83 <object class="GtkEntry" id="message">
41591
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
84 <property name="focusable">1</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
85 <property name="activates-default">1</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
86 <layout>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
87 <property name="column">1</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
88 <property name="row">2</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
89 </layout>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
90 <accessibility>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
91 <relation name="labelled-by">label_message</relation>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
92 </accessibility>
39576
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
93 </object>
40824
132c763c26e4 Refresh all of the ui files
Gary Kramlich <grim@reaperworld.com>
parents: 40246
diff changeset
94 </child>
39576
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
95 </object>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
96 </child>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
97 </object>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
98 </child>
41501
e34ec115fc34 Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40824
diff changeset
99 <child type="action">
e34ec115fc34 Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40824
diff changeset
100 <object class="GtkButton" id="button1">
41591
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
101 <property name="label" translatable="1">Cancel</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
102 <property name="focusable">1</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
103 <property name="receives-default">1</property>
41501
e34ec115fc34 Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40824
diff changeset
104 </object>
e34ec115fc34 Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40824
diff changeset
105 </child>
e34ec115fc34 Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40824
diff changeset
106 <child type="action">
e34ec115fc34 Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40824
diff changeset
107 <object class="GtkButton" id="button2">
41591
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
108 <property name="label" translatable="1">Invite</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
109 <property name="focusable">1</property>
ad6f5ffc2825 Port the invite dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41501
diff changeset
110 <property name="receives-default">1</property>
41501
e34ec115fc34 Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40824
diff changeset
111 </object>
e34ec115fc34 Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40824
diff changeset
112 </child>
39576
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
113 <action-widgets>
41896
6ff3224e40da Use response names in .ui dialog files
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41629
diff changeset
114 <action-widget response="cancel">button1</action-widget>
6ff3224e40da Use response names in .ui dialog files
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41629
diff changeset
115 <action-widget response="accept">button2</action-widget>
39576
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
116 </action-widgets>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
117 </template>
9da340b66f6d Start of the new invite widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
118 </interface>

mercurial