pidgin/resources/Conversations/conversation.ui

Thu, 25 Jul 2024 20:53:42 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 25 Jul 2024 20:53:42 -0500
changeset 42818
d8b4ef0aa09d
parent 42784
909476a9e569
child 42885
9b0cae94f406
permissions
-rw-r--r--

Use GTask.report_new_error in Purple.ProtocolConversation

Also remove the "empty" `_finish` tests as they don't really make sense now.

Also fixed a few bugs along the way.

Testing Done:
Ran the turtles and ran the `protocol_conversation` tests under valgrind.

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

42301
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
2 <!--
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
3 Pidgin - Internet Messenger
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
4 Copyright (C) Pidgin Developers <devel@pidgin.im>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
5
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
6 This program is free software; you can redistribute it and/or
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
7 modify it under the terms of the GNU General Public License
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
8 as published by the Free Software Foundation; either version 2
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
9 of the License, or (at your option) any later version.
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
10
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
11 This program is distributed in the hope that it will be useful,
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
14 GNU General Public License for more details.
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
15
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
17 along with this library; if not, see <https://www.gnu.org/licenses/>.
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
18 -->
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
19 <interface>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
20 <requires lib="gtk" version="4.0"/>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
21 <!-- interface-license-type gplv2 -->
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
22 <!-- interface-name Pidgin -->
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
23 <!-- interface-description Internet Messenger -->
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
24 <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
25 <template class="PidginConversation" parent="GtkBox">
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
26 <property name="orientation">vertical</property>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
27 <child>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
28 <object class="GtkBox">
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
29 <property name="orientation">horizontal</property>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
30 <property name="vexpand">0</property>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
31 <child>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
32 <object class="PidginInfoPane" id="info_pane">
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
33 <property name="hexpand">1</property>
42566
ddaa27826ccc Make PidginInfoPane generic
Gary Kramlich <grim@reaperworld.com>
parents: 42527
diff changeset
34 <binding name="title">
42774
4858aea578c4 Bind the Pidgin.DisplayItem:title property to Purple.Conversation:title-for-display
Gary Kramlich <grim@reaperworld.com>
parents: 42566
diff changeset
35 <lookup name="title-for-display" type="PurpleConversation">
42566
ddaa27826ccc Make PidginInfoPane generic
Gary Kramlich <grim@reaperworld.com>
parents: 42527
diff changeset
36 <lookup name="conversation">PidginConversation</lookup>
ddaa27826ccc Make PidginInfoPane generic
Gary Kramlich <grim@reaperworld.com>
parents: 42527
diff changeset
37 </lookup>
ddaa27826ccc Make PidginInfoPane generic
Gary Kramlich <grim@reaperworld.com>
parents: 42527
diff changeset
38 </binding>
ddaa27826ccc Make PidginInfoPane generic
Gary Kramlich <grim@reaperworld.com>
parents: 42527
diff changeset
39 <binding name="subtitle">
42784
909476a9e569 Escape the topic and its tooltip using g_markup_escape_text
Gary Kramlich <grim@reaperworld.com>
parents: 42783
diff changeset
40 <closure type="gchararray" function="pidgin_conversation_escape_topic">
909476a9e569 Escape the topic and its tooltip using g_markup_escape_text
Gary Kramlich <grim@reaperworld.com>
parents: 42783
diff changeset
41 <lookup name="topic" type="PurpleConversation">
909476a9e569 Escape the topic and its tooltip using g_markup_escape_text
Gary Kramlich <grim@reaperworld.com>
parents: 42783
diff changeset
42 <lookup name="conversation">PidginConversation</lookup>
909476a9e569 Escape the topic and its tooltip using g_markup_escape_text
Gary Kramlich <grim@reaperworld.com>
parents: 42783
diff changeset
43 </lookup>
909476a9e569 Escape the topic and its tooltip using g_markup_escape_text
Gary Kramlich <grim@reaperworld.com>
parents: 42783
diff changeset
44 </closure>
42519
9101c36a3f0c Use bindings for a few more things in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42491
diff changeset
45 </binding>
42776
6bed305a8177 Set the tooltip for the topic to the full topic
Gary Kramlich <grim@reaperworld.com>
parents: 42774
diff changeset
46 <binding name="tooltip-markup">
42784
909476a9e569 Escape the topic and its tooltip using g_markup_escape_text
Gary Kramlich <grim@reaperworld.com>
parents: 42783
diff changeset
47 <closure type="gchararray" function="pidgin_conversation_escape_topic">
909476a9e569 Escape the topic and its tooltip using g_markup_escape_text
Gary Kramlich <grim@reaperworld.com>
parents: 42783
diff changeset
48 <lookup name="topic" type="PurpleConversation">
909476a9e569 Escape the topic and its tooltip using g_markup_escape_text
Gary Kramlich <grim@reaperworld.com>
parents: 42783
diff changeset
49 <lookup name="conversation">PidginConversation</lookup>
909476a9e569 Escape the topic and its tooltip using g_markup_escape_text
Gary Kramlich <grim@reaperworld.com>
parents: 42783
diff changeset
50 </lookup>
909476a9e569 Escape the topic and its tooltip using g_markup_escape_text
Gary Kramlich <grim@reaperworld.com>
parents: 42783
diff changeset
51 </closure>
42776
6bed305a8177 Set the tooltip for the topic to the full topic
Gary Kramlich <grim@reaperworld.com>
parents: 42774
diff changeset
52 </binding>
42566
ddaa27826ccc Make PidginInfoPane generic
Gary Kramlich <grim@reaperworld.com>
parents: 42527
diff changeset
53 <property name="child">
ddaa27826ccc Make PidginInfoPane generic
Gary Kramlich <grim@reaperworld.com>
parents: 42527
diff changeset
54 <object class="GtkBox">
ddaa27826ccc Make PidginInfoPane generic
Gary Kramlich <grim@reaperworld.com>
parents: 42527
diff changeset
55 <property name="orientation">horizontal</property>
ddaa27826ccc Make PidginInfoPane generic
Gary Kramlich <grim@reaperworld.com>
parents: 42527
diff changeset
56 <child>
ddaa27826ccc Make PidginInfoPane generic
Gary Kramlich <grim@reaperworld.com>
parents: 42527
diff changeset
57 <object class="GtkToggleButton" id="toggle_flap">
ddaa27826ccc Make PidginInfoPane generic
Gary Kramlich <grim@reaperworld.com>
parents: 42527
diff changeset
58 <property name="icon-name">view-dual-symbolic</property>
ddaa27826ccc Make PidginInfoPane generic
Gary Kramlich <grim@reaperworld.com>
parents: 42527
diff changeset
59 <property name="valign">center</property>
ddaa27826ccc Make PidginInfoPane generic
Gary Kramlich <grim@reaperworld.com>
parents: 42527
diff changeset
60 </object>
ddaa27826ccc Make PidginInfoPane generic
Gary Kramlich <grim@reaperworld.com>
parents: 42527
diff changeset
61 </child>
ddaa27826ccc Make PidginInfoPane generic
Gary Kramlich <grim@reaperworld.com>
parents: 42527
diff changeset
62 </object>
ddaa27826ccc Make PidginInfoPane generic
Gary Kramlich <grim@reaperworld.com>
parents: 42527
diff changeset
63 </property>
42301
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
64 </object>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
65 </child>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
66 </object>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
67 </child>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
68 <child>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
69 <object class="AdwFlap">
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
70 <property name="flap-position">end</property>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
71 <property name="fold-policy">auto</property>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
72 <property name="swipe-to-close">1</property>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
73 <property name="swipe-to-open">1</property>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
74 <binding name="reveal-flap">
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
75 <lookup name="active">toggle_flap</lookup>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
76 </binding>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
77 <child type="content">
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
78 <object class="GtkScrolledWindow">
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
79 <property name="hexpand">1</property>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
80 <property name="vadjustment">
42447
3f1004d7772a Replace TalkatuEditor in PidginConversation with a basic GtkTextView
Gary Kramlich <grim@reaperworld.com>
parents: 42443
diff changeset
81 <object class="PidginAutoAdjustment" id="history_adjustment"/>
42301
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
82 </property>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
83 <property name="vexpand">1</property>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
84 <child>
42346
45d2756d2a14 Replace TalkatuHistory with our own implementation
Gary Kramlich <grim@reaperworld.com>
parents: 42301
diff changeset
85 <object class="GtkListView" id="history">
45d2756d2a14 Replace TalkatuHistory with our own implementation
Gary Kramlich <grim@reaperworld.com>
parents: 42301
diff changeset
86 <property name="hexpand">1</property>
45d2756d2a14 Replace TalkatuHistory with our own implementation
Gary Kramlich <grim@reaperworld.com>
parents: 42301
diff changeset
87 <property name="vexpand">1</property>
45d2756d2a14 Replace TalkatuHistory with our own implementation
Gary Kramlich <grim@reaperworld.com>
parents: 42301
diff changeset
88 <property name="factory">
45d2756d2a14 Replace TalkatuHistory with our own implementation
Gary Kramlich <grim@reaperworld.com>
parents: 42301
diff changeset
89 <object class="GtkBuilderListItemFactory">
45d2756d2a14 Replace TalkatuHistory with our own implementation
Gary Kramlich <grim@reaperworld.com>
parents: 42301
diff changeset
90 <property name="resource">/im/pidgin/Pidgin3/Conversations/message.ui</property>
45d2756d2a14 Replace TalkatuHistory with our own implementation
Gary Kramlich <grim@reaperworld.com>
parents: 42301
diff changeset
91 </object>
45d2756d2a14 Replace TalkatuHistory with our own implementation
Gary Kramlich <grim@reaperworld.com>
parents: 42301
diff changeset
92 </property>
45d2756d2a14 Replace TalkatuHistory with our own implementation
Gary Kramlich <grim@reaperworld.com>
parents: 42301
diff changeset
93 <property name="model">
42519
9101c36a3f0c Use bindings for a few more things in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42491
diff changeset
94 <object class="GtkNoSelection">
9101c36a3f0c Use bindings for a few more things in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42491
diff changeset
95 <binding name="model">
9101c36a3f0c Use bindings for a few more things in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42491
diff changeset
96 <lookup name="messages" type="PurpleConversation">
9101c36a3f0c Use bindings for a few more things in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42491
diff changeset
97 <lookup name="conversation">PidginConversation</lookup>
9101c36a3f0c Use bindings for a few more things in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42491
diff changeset
98 </lookup>
9101c36a3f0c Use bindings for a few more things in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42491
diff changeset
99 </binding>
9101c36a3f0c Use bindings for a few more things in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42491
diff changeset
100 </object>
42346
45d2756d2a14 Replace TalkatuHistory with our own implementation
Gary Kramlich <grim@reaperworld.com>
parents: 42301
diff changeset
101 </property>
45d2756d2a14 Replace TalkatuHistory with our own implementation
Gary Kramlich <grim@reaperworld.com>
parents: 42301
diff changeset
102 </object>
42301
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
103 </child>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
104 </object>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
105 </child>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
106 <child type="flap">
42527
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
107 <object class="GtkScrolledWindow">
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
108 <property name="hscrollbar-policy">never</property>
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
109 <property name="margin-bottom">6</property>
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
110 <property name="margin-end">6</property>
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
111 <property name="margin-start">6</property>
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
112 <property name="margin-top">6</property>
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
113 <property name="vscrollbar-policy">automatic</property>
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
114 <style>
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
115 <class name="sidebar"/>
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
116 </style>
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
117 <child>
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
118 <object class="GtkListView">
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
119 <property name="vexpand">1</property>
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
120 <property name="factory">
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
121 <object class="GtkBuilderListItemFactory">
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
122 <property name="resource">/im/pidgin/Pidgin3/conversationmemberlistitem.ui</property>
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
123 </object>
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
124 </property>
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
125 <property name="model">
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
126 <object class="GtkSingleSelection">
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
127 <property name="autoselect">false</property>
42783
e61721a750e9 Add support for sorting the memberlist in conversations
Gary Kramlich <grim@reaperworld.com>
parents: 42776
diff changeset
128 <property name="model">
e61721a750e9 Add support for sorting the memberlist in conversations
Gary Kramlich <grim@reaperworld.com>
parents: 42776
diff changeset
129 <object class="GtkSortListModel">
e61721a750e9 Add support for sorting the memberlist in conversations
Gary Kramlich <grim@reaperworld.com>
parents: 42776
diff changeset
130 <property name="sorter">
e61721a750e9 Add support for sorting the memberlist in conversations
Gary Kramlich <grim@reaperworld.com>
parents: 42776
diff changeset
131 <object class="GtkCustomSorter" id="memberlist_sorter"/>
e61721a750e9 Add support for sorting the memberlist in conversations
Gary Kramlich <grim@reaperworld.com>
parents: 42776
diff changeset
132 </property>
e61721a750e9 Add support for sorting the memberlist in conversations
Gary Kramlich <grim@reaperworld.com>
parents: 42776
diff changeset
133 <binding name="model">
e61721a750e9 Add support for sorting the memberlist in conversations
Gary Kramlich <grim@reaperworld.com>
parents: 42776
diff changeset
134 <lookup name="members" type="PurpleConversation">
e61721a750e9 Add support for sorting the memberlist in conversations
Gary Kramlich <grim@reaperworld.com>
parents: 42776
diff changeset
135 <lookup name="conversation">PidginConversation</lookup>
e61721a750e9 Add support for sorting the memberlist in conversations
Gary Kramlich <grim@reaperworld.com>
parents: 42776
diff changeset
136 </lookup>
e61721a750e9 Add support for sorting the memberlist in conversations
Gary Kramlich <grim@reaperworld.com>
parents: 42776
diff changeset
137 </binding>
e61721a750e9 Add support for sorting the memberlist in conversations
Gary Kramlich <grim@reaperworld.com>
parents: 42776
diff changeset
138 </object>
e61721a750e9 Add support for sorting the memberlist in conversations
Gary Kramlich <grim@reaperworld.com>
parents: 42776
diff changeset
139 </property>
42527
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
140 </object>
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
141 </property>
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
142 </object>
1954265c38f0 Implement the member list in PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42519
diff changeset
143 </child>
42301
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
144 </object>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
145 </child>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
146 </object>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
147 </child>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
148 <child>
42447
3f1004d7772a Replace TalkatuEditor in PidginConversation with a basic GtkTextView
Gary Kramlich <grim@reaperworld.com>
parents: 42443
diff changeset
149 <object class="GtkSeparator"/>
3f1004d7772a Replace TalkatuEditor in PidginConversation with a basic GtkTextView
Gary Kramlich <grim@reaperworld.com>
parents: 42443
diff changeset
150 </child>
3f1004d7772a Replace TalkatuEditor in PidginConversation with a basic GtkTextView
Gary Kramlich <grim@reaperworld.com>
parents: 42443
diff changeset
151 <child>
3f1004d7772a Replace TalkatuEditor in PidginConversation with a basic GtkTextView
Gary Kramlich <grim@reaperworld.com>
parents: 42443
diff changeset
152 <object class="GtkScrolledWindow">
42301
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
153 <property name="vexpand">0</property>
42447
3f1004d7772a Replace TalkatuEditor in PidginConversation with a basic GtkTextView
Gary Kramlich <grim@reaperworld.com>
parents: 42443
diff changeset
154 <child>
3f1004d7772a Replace TalkatuEditor in PidginConversation with a basic GtkTextView
Gary Kramlich <grim@reaperworld.com>
parents: 42443
diff changeset
155 <object class="GtkTextView" id="input">
42491
94bc1dfe8233 Set some much needed properties on PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42447
diff changeset
156 <property name="wrap-mode">word-char</property>
94bc1dfe8233 Set some much needed properties on PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42447
diff changeset
157 <property name="input-purpose">free-form</property>
94bc1dfe8233 Set some much needed properties on PidginConversation
Gary Kramlich <grim@reaperworld.com>
parents: 42447
diff changeset
158 <property name="input-hints">emoji|spellcheck|word-completion</property>
42447
3f1004d7772a Replace TalkatuEditor in PidginConversation with a basic GtkTextView
Gary Kramlich <grim@reaperworld.com>
parents: 42443
diff changeset
159 <child>
3f1004d7772a Replace TalkatuEditor in PidginConversation with a basic GtkTextView
Gary Kramlich <grim@reaperworld.com>
parents: 42443
diff changeset
160 <object class="GtkEventControllerKey">
3f1004d7772a Replace TalkatuEditor in PidginConversation with a basic GtkTextView
Gary Kramlich <grim@reaperworld.com>
parents: 42443
diff changeset
161 <signal name="key-pressed" handler="pidgin_conversation_input_key_pressed_cb"/>
3f1004d7772a Replace TalkatuEditor in PidginConversation with a basic GtkTextView
Gary Kramlich <grim@reaperworld.com>
parents: 42443
diff changeset
162 </object>
3f1004d7772a Replace TalkatuEditor in PidginConversation with a basic GtkTextView
Gary Kramlich <grim@reaperworld.com>
parents: 42443
diff changeset
163 </child>
42301
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
164 </object>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
165 </child>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
166 </object>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
167 </child>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
168 </template>
d3930fe5505c The start of the new conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
169 </interface>

mercurial