pidgin/resources/Dialogs/addchat.ui

Mon, 07 Nov 2022 23:27:06 -0600

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Mon, 07 Nov 2022 23:27:06 -0600
changeset 41901
55a099a1e619
parent 41896
6ff3224e40da
child 42377
6e3f1f8709b5
permissions
-rw-r--r--

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/

41508
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
2 <!-- Generated with glade 3.38.2
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
3
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
4 Pidgin - Internet Messenger
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
5 Copyright (C) Pidgin Developers <devel@pidgin.im>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
6
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
7 This program is free software; you can redistribute it and/or
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
8 modify it under the terms of the GNU General Public License
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
9 as published by the Free Software Foundation; either version 2
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
10 of the License, or (at your option) any later version.
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
11
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
12 This program is distributed in the hope that it will be useful,
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
15 GNU General Public License for more details.
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
16
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
41563
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
18 along with this program; if not, see <https://www.gnu.org/licenses/>.
41508
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
19
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
20 -->
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
21 <interface>
41563
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
22 <requires lib="gtk" version="4.0"/>
41508
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
23 <requires lib="pidgin" version="3.0"/>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
24 <!-- interface-license-type gplv2 -->
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
25 <!-- interface-name Pidgin -->
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
26 <!-- interface-description Internet Messenger -->
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
27 <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
28 <template class="PidginAddChatDialog" parent="GtkDialog">
41563
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
29 <property name="title" translatable="1">Add Chat</property>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
30 <property name="resizable">0</property>
41508
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
31 <signal name="response" handler="pidgin_add_chat_dialog_response_cb" swapped="no"/>
41563
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
32 <child internal-child="content_area">
41508
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
33 <object class="GtkBox">
41901
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
34 <property name="margin-bottom">24</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
35 <property name="margin-end">24</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
36 <property name="margin-start">24</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
37 <property name="margin-top">24</property>
41508
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
38 <property name="orientation">vertical</property>
41901
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
39 <property name="spacing">24</property>
41508
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
40 <child>
41563
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
41 <object class="GtkLabel">
41901
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
42 <property name="css-classes">title-1</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
43 <property name="label" translatable="1">Add a chat</property>
41563
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
44 </object>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
45 </child>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
46 <child>
41508
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
47 <object class="GtkBox">
41563
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
48 <property name="spacing">5</property>
41508
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
49 <child>
41563
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
50 <object class="GtkLabel" id="label1">
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
51 <property name="label" translatable="1">A_ccount:</property>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
52 <property name="use-underline">1</property>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
53 <property name="mnemonic-widget">account</property>
41508
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
54 <property name="xalign">0</property>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
55 </object>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
56 </child>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
57 <child>
41563
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
58 <object class="PidginAccountChooser" id="account">
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
59 <property name="hexpand">1</property>
41864
6f490dec468f Move PidginAccountChooser to GtkDropDown
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41854
diff changeset
60 <property name="filter">
6f490dec468f Move PidginAccountChooser to GtkDropDown
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41854
diff changeset
61 <object class="GtkEveryFilter">
6f490dec468f Move PidginAccountChooser to GtkDropDown
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41854
diff changeset
62 <child>
6f490dec468f Move PidginAccountChooser to GtkDropDown
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41854
diff changeset
63 <object class="GtkCustomFilter" id="filter"/>
6f490dec468f Move PidginAccountChooser to GtkDropDown
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41854
diff changeset
64 </child>
6f490dec468f Move PidginAccountChooser to GtkDropDown
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41854
diff changeset
65 <child>
6f490dec468f Move PidginAccountChooser to GtkDropDown
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41854
diff changeset
66 <object class="PidginAccountFilterConnected"/>
6f490dec468f Move PidginAccountChooser to GtkDropDown
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41854
diff changeset
67 </child>
6f490dec468f Move PidginAccountChooser to GtkDropDown
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41854
diff changeset
68 </object>
6f490dec468f Move PidginAccountChooser to GtkDropDown
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41854
diff changeset
69 </property>
41854
c1d7e7445b0f Avoid GtkComboBox-isms with PidginAccountChooser
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41633
diff changeset
70 <signal name="notify::account" handler="pidgin_add_chat_dialog_account_changed_cb" swapped="no"/>
41901
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
71 <accessibility>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
72 <relation name="labelled-by">label1</relation>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
73 </accessibility>
41508
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
74 </object>
41563
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
75 </child>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
76 </object>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
77 </child>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
78 <child>
41901
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
79 <object class="AdwPreferencesGroup" id="dynamic_group">
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
80 <property name="title" translatable="1">Chat information</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
81 <property name="description" translatable="1">Please enter the appropriate information about the chat you would like to add to your buddy list.</property>
41563
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
82 </object>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
83 </child>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
84 <child>
41901
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
85 <object class="AdwPreferencesGroup">
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
86 <property name="title" translatable="1">Local information</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
87 <child>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
88 <object class="AdwEntryRow" id="alias">
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
89 <property name="title" translatable="1">A_lias</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
90 <property name="use-underline">1</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
91 </object>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
92 </child>
41563
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
93 <child>
41901
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
94 <object class="AdwActionRow">
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
95 <property name="activatable-widget">group</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
96 <property name="focusable">0</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
97 <property name="title" translatable="1">_Group</property>
41563
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
98 <property name="use-underline">1</property>
41901
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
99 <child>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
100 <object class="GtkComboBoxText" id="group">
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
101 <property name="hexpand">1</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
102 <property name="has-entry">1</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
103 <property name="valign">center</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
104 </object>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
105 </child>
41563
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
106 </object>
41508
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
107 </child>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
108 <child>
41901
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
109 <object class="AdwActionRow">
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
110 <property name="activatable-widget">autojoin</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
111 <property name="focusable">0</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
112 <property name="title" translatable="1">Automatically _join when account connects</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
113 <property name="use-underline">1</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
114 <child>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
115 <object class="GtkSwitch" id="autojoin">
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
116 <property name="valign">center</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
117 </object>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
118 </child>
41508
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
119 </object>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
120 </child>
41901
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
121 <child>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
122 <object class="AdwActionRow">
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
123 <property name="activatable-widget">persistent</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
124 <property name="focusable">0</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
125 <property name="title" translatable="1">_Remain in chat after window is closed</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
126 <property name="use-underline">1</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
127 <child>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
128 <object class="GtkSwitch" id="persistent">
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
129 <property name="valign">center</property>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
130 </object>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
131 </child>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
132 </object>
55a099a1e619 Modernize add buddy/chat dialogs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41896
diff changeset
133 </child>
41563
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
134 </object>
41508
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
135 </child>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
136 </object>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
137 </child>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
138 <child type="action">
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
139 <object class="GtkButton" id="button3">
41563
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
140 <property name="label" translatable="1">Room List</property>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
141 <property name="focusable">1</property>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
142 <property name="receives-default">1</property>
41508
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
143 </object>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
144 </child>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
145 <child type="action">
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
146 <object class="GtkButton" id="button1">
41563
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
147 <property name="label" translatable="1">_Cancel</property>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
148 <property name="focusable">1</property>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
149 <property name="receives-default">1</property>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
150 <property name="use-underline">1</property>
41508
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
151 </object>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
152 </child>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
153 <child type="action">
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
154 <object class="GtkButton" id="button2">
41563
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
155 <property name="label" translatable="1">_Add</property>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
156 <property name="sensitive">0</property>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
157 <property name="focusable">1</property>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
158 <property name="receives-default">1</property>
17c8c3d42aa0 Port PidginAddChatDialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41508
diff changeset
159 <property name="use-underline">1</property>
41508
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
160 </object>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
161 </child>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
162 <action-widgets>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
163 <action-widget response="1">button3</action-widget>
41896
6ff3224e40da Use response names in .ui dialog files
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41864
diff changeset
164 <action-widget response="cancel">button1</action-widget>
6ff3224e40da Use response names in .ui dialog files
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41864
diff changeset
165 <action-widget response="ok">button2</action-widget>
41508
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
166 </action-widgets>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
167 </template>
b248346ee70b Create a new PidginAddChatDialog widget.
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
168 </interface>

mercurial