pidgin/resources/Conversations/window.ui

changeset 41702
4289b30044ed
parent 41701
43f994f7f9f2
child 41703
acd605927a16
equal deleted inserted replaced
41701:43f994f7f9f2 41702:4289b30044ed
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Pidgin - Internet Messenger
4 Copyright (C) Pidgin Developers <devel@pidgin.im>
5
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; either version 2
9 of the License, or (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this library; if not, see <https://www.gnu.org/licenses/>.
18 -->
19 <interface>
20 <requires lib="gtk" version="4.0"/>
21 <requires lib="Adw" version="1.0"/>
22 <requires lib="pidgin" version="3.0"/>
23 <!-- interface-license-type gplv2 -->
24 <!-- interface-name Pidgin -->
25 <!-- interface-description Internet Messenger -->
26 <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
27 <object class="GtkTreeStore" id="model">
28 <columns>
29 <!-- column-name conversation -->
30 <column type="GObject"/>
31 <!-- column-name name -->
32 <column type="gchararray"/>
33 <!-- column-name icon -->
34 <column type="GdkPixbuf"/>
35 <!-- column-name markup -->
36 <column type="gchararray"/>
37 </columns>
38 </object>
39 <template class="PidginDisplayWindow" parent="GtkApplicationWindow">
40 <property name="show-menubar">1</property>
41 <property name="default-height">450</property>
42 <property name="default-width">950</property>
43 <child>
44 <object class="GtkEventControllerKey">
45 <property name="propagation-phase">capture</property>
46 <signal name="key-pressed" handler="pidgin_display_window_key_pressed_cb"/>
47 </object>
48 </child>
49 <child>
50 <object class="GtkBox" id="vbox">
51 <property name="orientation">vertical</property>
52 <child>
53 <object class="GtkPaned" id="paned">
54 <property name="vexpand">1</property>
55 <property name="focusable">1</property>
56 <property name="position">220</property>
57 <child>
58 <object class="GtkBox">
59 <property name="margin-top">6</property>
60 <property name="margin-start">6</property>
61 <property name="margin-end">6</property>
62 <property name="margin-bottom">6</property>
63 <property name="orientation">vertical</property>
64 <property name="spacing">6</property>
65 <child>
66 <object class="PidginStatusBox"/>
67 </child>
68 <child>
69 <object class="GtkScrolledWindow">
70 <property name="vexpand">1</property>
71 <property name="focusable">1</property>
72 <property name="propagate-natural-width">1</property>
73 <property name="child">
74 <object class="GtkTreeView" id="view">
75 <property name="focusable">1</property>
76 <property name="model">model</property>
77 <property name="headers-visible">0</property>
78 <property name="search-column">3</property>
79 <child internal-child="selection">
80 <object class="GtkTreeSelection" id="selection">
81 <property name="mode">browse</property>
82 <signal name="changed" handler="pidgin_display_window_selection_changed" object="PidginDisplayWindow" swapped="no"/>
83 </object>
84 </child>
85 <child>
86 <object class="GtkTreeViewColumn" id="markup">
87 <child>
88 <object class="GtkCellRendererPixbuf" id="icon"/>
89 <attributes>
90 <attribute name="pixbuf">2</attribute>
91 </attributes>
92 </child>
93 <child>
94 <object class="GtkCellRendererText" id="name"/>
95 <attributes>
96 <attribute name="markup">3</attribute>
97 </attributes>
98 </child>
99 </object>
100 </child>
101 </object>
102 </property>
103 </object>
104 </child>
105 </object>
106 </child>
107 <child>
108 <object class="AdwViewStack" id="stack">
109 <child>
110 <object class="AdwViewStackPage">
111 <property name="name">__notifications__</property>
112 <property name="child">
113 <object class="GtkScrolledWindow">
114 <child>
115 <object class="PidginNotificationList" id="notification_list">
116 <property name="orientation">vertical</property>
117 </object>
118 </child>
119 </object>
120 </property>
121 </object>
122 </child>
123 <child>
124 <object class="AdwViewStackPage">
125 <property name="name">__conversations__</property>
126 <property name="child">
127 <object class="AdwStatusPage">
128 <property name="icon-name">mail-send-symbolic</property>
129 <property name="title" translatable="1">Conversations</property>
130 <property name="description" translatable="1">When you send a message to a friend or join a chat it will show up here!</property>
131 </object>
132 </property>
133 </object>
134 </child>
135 </object>
136 </child>
137 </object>
138 </child>
139 </object>
140 </child>
141 </template>
142 </interface>

mercurial