diff options
Diffstat (limited to 'contrib/gnunet_conversation_gtk_main_window.glade')
-rw-r--r-- | contrib/gnunet_conversation_gtk_main_window.glade | 442 |
1 files changed, 442 insertions, 0 deletions
diff --git a/contrib/gnunet_conversation_gtk_main_window.glade b/contrib/gnunet_conversation_gtk_main_window.glade new file mode 100644 index 00000000..c7a97f5a --- /dev/null +++ b/contrib/gnunet_conversation_gtk_main_window.glade | |||
@@ -0,0 +1,442 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <interface> | ||
3 | <!-- interface-requires gtk+ 3.0 --> | ||
4 | <object class="GtkListStore" id="gnunet_conversation_gtk_history_liststore"> | ||
5 | <columns> | ||
6 | <!-- column-name logTime --> | ||
7 | <column type="gchararray"/> | ||
8 | <!-- column-name logEvent --> | ||
9 | <column type="gchararray"/> | ||
10 | <!-- column-name logContact --> | ||
11 | <column type="gchararray"/> | ||
12 | </columns> | ||
13 | </object> | ||
14 | <object class="GtkWindow" id="GNUNET_GTK_conversation_window"> | ||
15 | <property name="can_focus">False</property> | ||
16 | <property name="events">GDK_BUTTON_PRESS_MASK | GDK_STRUCTURE_MASK</property> | ||
17 | <property name="window_position">center</property> | ||
18 | <property name="icon_name">contact-new</property> | ||
19 | <signal name="delete-event" handler="GNUNET_GTK_conversation_quit_cb" swapped="no"/> | ||
20 | <child> | ||
21 | <object class="GtkVBox" id="GNUNET_GTK_conversationvbox"> | ||
22 | <property name="visible">True</property> | ||
23 | <property name="can_focus">False</property> | ||
24 | <child> | ||
25 | <object class="GtkMenuBar" id="GNUNET_GTK_conversation_menubar"> | ||
26 | <property name="visible">True</property> | ||
27 | <property name="can_focus">False</property> | ||
28 | <child> | ||
29 | <object class="GtkMenuItem" id="GNUNET_GTK_conversation_file_menuitem"> | ||
30 | <property name="use_action_appearance">False</property> | ||
31 | <property name="visible">True</property> | ||
32 | <property name="can_focus">False</property> | ||
33 | <property name="label" translatable="yes">_File</property> | ||
34 | <property name="use_underline">True</property> | ||
35 | <child type="submenu"> | ||
36 | <object class="GtkMenu" id="GNUNET_GTK_conversation_file_menu"> | ||
37 | <property name="visible">True</property> | ||
38 | <property name="can_focus">False</property> | ||
39 | <child> | ||
40 | <object class="GtkImageMenuItem" id="GNUNET_GTK_conversation_quit_imagemenuitem"> | ||
41 | <property name="label">gtk-quit</property> | ||
42 | <property name="use_action_appearance">False</property> | ||
43 | <property name="visible">True</property> | ||
44 | <property name="can_focus">False</property> | ||
45 | <property name="use_underline">True</property> | ||
46 | <property name="use_stock">True</property> | ||
47 | <signal name="activate" handler="GNUNET_GTK_conversation_quit_cb" swapped="no"/> | ||
48 | </object> | ||
49 | </child> | ||
50 | </object> | ||
51 | </child> | ||
52 | </object> | ||
53 | </child> | ||
54 | <child> | ||
55 | <object class="GtkMenuItem" id="GNUNET_GTK_conversation_help_menuitem"> | ||
56 | <property name="use_action_appearance">False</property> | ||
57 | <property name="visible">True</property> | ||
58 | <property name="can_focus">False</property> | ||
59 | <property name="label" translatable="yes">_Help</property> | ||
60 | <property name="use_underline">True</property> | ||
61 | <child type="submenu"> | ||
62 | <object class="GtkMenu" id="GNUNET_GTK_conversation_help_menu"> | ||
63 | <property name="visible">True</property> | ||
64 | <property name="can_focus">False</property> | ||
65 | <child> | ||
66 | <object class="GtkImageMenuItem" id="GNUNET_GTK_conversation_about_imagemenuitem"> | ||
67 | <property name="label">gtk-about</property> | ||
68 | <property name="use_action_appearance">False</property> | ||
69 | <property name="visible">True</property> | ||
70 | <property name="can_focus">False</property> | ||
71 | <property name="use_underline">True</property> | ||
72 | <property name="use_stock">True</property> | ||
73 | <signal name="activate" handler="GNUNET_GTK_conversation_about_imagemenuitem_activate_cb" swapped="no"/> | ||
74 | </object> | ||
75 | </child> | ||
76 | </object> | ||
77 | </child> | ||
78 | </object> | ||
79 | </child> | ||
80 | </object> | ||
81 | <packing> | ||
82 | <property name="expand">False</property> | ||
83 | <property name="fill">True</property> | ||
84 | <property name="position">0</property> | ||
85 | </packing> | ||
86 | </child> | ||
87 | <child> | ||
88 | <object class="GtkBox" id="box1"> | ||
89 | <property name="visible">True</property> | ||
90 | <property name="can_focus">False</property> | ||
91 | <property name="orientation">vertical</property> | ||
92 | <child> | ||
93 | <placeholder/> | ||
94 | </child> | ||
95 | <child> | ||
96 | <object class="GtkGrid" id="grid1"> | ||
97 | <property name="visible">True</property> | ||
98 | <property name="can_focus">False</property> | ||
99 | <child> | ||
100 | <object class="GtkEntry" id="GNUNET_GTK_conversation_address"> | ||
101 | <property name="visible">True</property> | ||
102 | <property name="can_focus">True</property> | ||
103 | <property name="invisible_char">•</property> | ||
104 | <property name="text" translatable="yes">Address</property> | ||
105 | </object> | ||
106 | <packing> | ||
107 | <property name="left_attach">0</property> | ||
108 | <property name="top_attach">0</property> | ||
109 | <property name="width">1</property> | ||
110 | <property name="height">1</property> | ||
111 | </packing> | ||
112 | </child> | ||
113 | <child> | ||
114 | <object class="GtkButtonBox" id="GNUNET_GTK_conversation_buttons"> | ||
115 | <property name="visible">True</property> | ||
116 | <property name="can_focus">False</property> | ||
117 | <property name="layout_style">start</property> | ||
118 | <child> | ||
119 | <object class="GtkButton" id="GNUNET_GTK_conversation_call_button"> | ||
120 | <property name="label" translatable="yes">call</property> | ||
121 | <property name="use_action_appearance">False</property> | ||
122 | <property name="visible">True</property> | ||
123 | <property name="can_focus">True</property> | ||
124 | <property name="receives_default">True</property> | ||
125 | <property name="use_action_appearance">False</property> | ||
126 | <property name="use_underline">True</property> | ||
127 | <signal name="clicked" handler="GNUNET_CONVERSATION_GTK_on_call_clicked" swapped="no"/> | ||
128 | </object> | ||
129 | <packing> | ||
130 | <property name="expand">False</property> | ||
131 | <property name="fill">True</property> | ||
132 | <property name="position">0</property> | ||
133 | </packing> | ||
134 | </child> | ||
135 | <child> | ||
136 | <object class="GtkButton" id="GNUNET_GTK_conversation_hangup_button"> | ||
137 | <property name="label" translatable="yes">hangup</property> | ||
138 | <property name="use_action_appearance">False</property> | ||
139 | <property name="visible">True</property> | ||
140 | <property name="can_focus">True</property> | ||
141 | <property name="receives_default">True</property> | ||
142 | <property name="use_action_appearance">False</property> | ||
143 | <signal name="clicked" handler="GNUNET_CONVERSATION_GTK_on_hangup_clicked" swapped="no"/> | ||
144 | </object> | ||
145 | <packing> | ||
146 | <property name="expand">False</property> | ||
147 | <property name="fill">True</property> | ||
148 | <property name="position">1</property> | ||
149 | </packing> | ||
150 | </child> | ||
151 | <child> | ||
152 | <placeholder/> | ||
153 | </child> | ||
154 | <child> | ||
155 | <placeholder/> | ||
156 | </child> | ||
157 | <child> | ||
158 | <object class="GtkButton" id="GNUNET_GTK_conversation_pause_button"> | ||
159 | <property name="label" translatable="yes">pause call</property> | ||
160 | <property name="use_action_appearance">False</property> | ||
161 | <property name="visible">True</property> | ||
162 | <property name="can_focus">True</property> | ||
163 | <property name="receives_default">True</property> | ||
164 | <property name="use_action_appearance">False</property> | ||
165 | <signal name="clicked" handler="GNUNET_CONVERSATION_GTK_on_pause_clicked" swapped="no"/> | ||
166 | </object> | ||
167 | <packing> | ||
168 | <property name="expand">False</property> | ||
169 | <property name="fill">True</property> | ||
170 | <property name="position">4</property> | ||
171 | </packing> | ||
172 | </child> | ||
173 | <child> | ||
174 | <object class="GtkButton" id="GNUNET_GTK_conversation_status_button"> | ||
175 | <property name="label" translatable="yes">status</property> | ||
176 | <property name="use_action_appearance">False</property> | ||
177 | <property name="visible">True</property> | ||
178 | <property name="can_focus">True</property> | ||
179 | <property name="receives_default">True</property> | ||
180 | <property name="use_action_appearance">False</property> | ||
181 | <signal name="clicked" handler="GNUNET_CONVERSATION_GTK_on_status_clicked" swapped="no"/> | ||
182 | </object> | ||
183 | <packing> | ||
184 | <property name="expand">False</property> | ||
185 | <property name="fill">True</property> | ||
186 | <property name="position">5</property> | ||
187 | </packing> | ||
188 | </child> | ||
189 | <child> | ||
190 | <object class="GtkSpinner" id="GNUNET_GTK_conversation_spinner"> | ||
191 | <property name="visible">True</property> | ||
192 | <property name="can_focus">False</property> | ||
193 | <property name="active">True</property> | ||
194 | </object> | ||
195 | <packing> | ||
196 | <property name="expand">False</property> | ||
197 | <property name="fill">True</property> | ||
198 | <property name="position">6</property> | ||
199 | </packing> | ||
200 | </child> | ||
201 | <child> | ||
202 | <object class="GtkButton" id="gnunet-contact-test"> | ||
203 | <property name="label" translatable="yes">button</property> | ||
204 | <property name="use_action_appearance">False</property> | ||
205 | <property name="visible">True</property> | ||
206 | <property name="can_focus">True</property> | ||
207 | <property name="receives_default">True</property> | ||
208 | <property name="use_action_appearance">False</property> | ||
209 | <signal name="clicked" handler="GNUNET_contact_test" swapped="no"/> | ||
210 | </object> | ||
211 | <packing> | ||
212 | <property name="expand">False</property> | ||
213 | <property name="fill">True</property> | ||
214 | <property name="position">7</property> | ||
215 | </packing> | ||
216 | </child> | ||
217 | </object> | ||
218 | <packing> | ||
219 | <property name="left_attach">1</property> | ||
220 | <property name="top_attach">0</property> | ||
221 | <property name="width">1</property> | ||
222 | <property name="height">1</property> | ||
223 | </packing> | ||
224 | </child> | ||
225 | </object> | ||
226 | <packing> | ||
227 | <property name="expand">False</property> | ||
228 | <property name="fill">True</property> | ||
229 | <property name="position">1</property> | ||
230 | </packing> | ||
231 | </child> | ||
232 | <child> | ||
233 | <object class="GtkScrolledWindow" id="GNUNET_GTK_conversation_log_scroll"> | ||
234 | <property name="visible">True</property> | ||
235 | <property name="can_focus">True</property> | ||
236 | <property name="hscrollbar_policy">always</property> | ||
237 | <property name="shadow_type">in</property> | ||
238 | <child> | ||
239 | <object class="GtkTextView" id="GNUNET_GTK_conversation_history"> | ||
240 | <property name="visible">True</property> | ||
241 | <property name="can_focus">True</property> | ||
242 | <property name="editable">False</property> | ||
243 | <property name="left_margin">1</property> | ||
244 | <property name="right_margin">1</property> | ||
245 | <property name="indent">1</property> | ||
246 | </object> | ||
247 | </child> | ||
248 | </object> | ||
249 | <packing> | ||
250 | <property name="expand">True</property> | ||
251 | <property name="fill">True</property> | ||
252 | <property name="position">2</property> | ||
253 | </packing> | ||
254 | </child> | ||
255 | <child> | ||
256 | <object class="GtkScrolledWindow" id="scrolledwindow1"> | ||
257 | <property name="visible">True</property> | ||
258 | <property name="can_focus">True</property> | ||
259 | <property name="shadow_type">in</property> | ||
260 | <child> | ||
261 | <object class="GtkTreeView" id="gnunet_conversation_gtk_treeview"> | ||
262 | <property name="visible">True</property> | ||
263 | <property name="can_focus">True</property> | ||
264 | <property name="model">gnunet_conversation_gtk_contacts_liststore</property> | ||
265 | <property name="headers_clickable">False</property> | ||
266 | <property name="search_column">0</property> | ||
267 | <signal name="row-activated" handler="GNUNET_CONVERSATION_GTK_row_activated" swapped="no"/> | ||
268 | <child internal-child="selection"> | ||
269 | <object class="GtkTreeSelection" id="treeview-selection"/> | ||
270 | </child> | ||
271 | <child> | ||
272 | <object class="GtkTreeViewColumn" id="contactName"> | ||
273 | <property name="title" translatable="yes">Type</property> | ||
274 | <child> | ||
275 | <object class="GtkCellRendererText" id="GNUNET_CONVERSATION_GTK_type_window_name_renderer"/> | ||
276 | <attributes> | ||
277 | <attribute name="text">1</attribute> | ||
278 | </attributes> | ||
279 | </child> | ||
280 | </object> | ||
281 | </child> | ||
282 | <child> | ||
283 | <object class="GtkTreeViewColumn" id="contactType"> | ||
284 | <property name="title" translatable="yes">Contact</property> | ||
285 | <child> | ||
286 | <object class="GtkCellRendererText" id="GNUNET_CONVERSATION_GTK_main_window_name_renderer"/> | ||
287 | <attributes> | ||
288 | <attribute name="text">0</attribute> | ||
289 | </attributes> | ||
290 | </child> | ||
291 | </object> | ||
292 | </child> | ||
293 | </object> | ||
294 | </child> | ||
295 | </object> | ||
296 | <packing> | ||
297 | <property name="expand">True</property> | ||
298 | <property name="fill">True</property> | ||
299 | <property name="position">3</property> | ||
300 | </packing> | ||
301 | </child> | ||
302 | <child> | ||
303 | <object class="GtkStatusbar" id="GNUNET_GTK_conversation_statusbar"> | ||
304 | <property name="visible">True</property> | ||
305 | <property name="can_focus">False</property> | ||
306 | <property name="orientation">vertical</property> | ||
307 | <property name="spacing">8</property> | ||
308 | </object> | ||
309 | <packing> | ||
310 | <property name="expand">False</property> | ||
311 | <property name="fill">True</property> | ||
312 | <property name="pack_type">end</property> | ||
313 | <property name="position">3</property> | ||
314 | </packing> | ||
315 | </child> | ||
316 | <child> | ||
317 | <object class="GtkScrolledWindow" id="scrolledwindow2"> | ||
318 | <property name="visible">True</property> | ||
319 | <property name="can_focus">True</property> | ||
320 | <property name="shadow_type">in</property> | ||
321 | <child> | ||
322 | <object class="GtkTreeView" id="gnunet_conversation_gtk_history_treeview"> | ||
323 | <property name="visible">True</property> | ||
324 | <property name="can_focus">True</property> | ||
325 | <property name="model">gnunet_conversation_gtk_history_liststore</property> | ||
326 | <property name="headers_clickable">False</property> | ||
327 | <child internal-child="selection"> | ||
328 | <object class="GtkTreeSelection" id="treeview-selection2"/> | ||
329 | </child> | ||
330 | <child> | ||
331 | <object class="GtkTreeViewColumn" id="timeColumn"> | ||
332 | <property name="title" translatable="yes">Time</property> | ||
333 | <child> | ||
334 | <object class="GtkCellRendererText" id="GNUNET_CONVERSATION_GTK_time_window_renderer"/> | ||
335 | <attributes> | ||
336 | <attribute name="text">0</attribute> | ||
337 | </attributes> | ||
338 | </child> | ||
339 | </object> | ||
340 | </child> | ||
341 | <child> | ||
342 | <object class="GtkTreeViewColumn" id="eventColumn"> | ||
343 | <property name="title" translatable="yes">Event</property> | ||
344 | <child> | ||
345 | <object class="GtkCellRendererText" id="GNUNET_CONVERSATION_GTK_event_window_renderer"/> | ||
346 | <attributes> | ||
347 | <attribute name="text">1</attribute> | ||
348 | </attributes> | ||
349 | </child> | ||
350 | </object> | ||
351 | </child> | ||
352 | <child> | ||
353 | <object class="GtkTreeViewColumn" id="contactColumn"> | ||
354 | <property name="title" translatable="yes">Contact</property> | ||
355 | <child> | ||
356 | <object class="GtkCellRendererText" id="GNUNET_CONVERSATION_GTK_contact_window_renderer"/> | ||
357 | <attributes> | ||
358 | <attribute name="text">2</attribute> | ||
359 | </attributes> | ||
360 | </child> | ||
361 | </object> | ||
362 | </child> | ||
363 | </object> | ||
364 | </child> | ||
365 | </object> | ||
366 | <packing> | ||
367 | <property name="expand">True</property> | ||
368 | <property name="fill">True</property> | ||
369 | <property name="position">4</property> | ||
370 | </packing> | ||
371 | </child> | ||
372 | <child> | ||
373 | <object class="GtkGrid" id="grid2"> | ||
374 | <property name="visible">True</property> | ||
375 | <property name="can_focus">False</property> | ||
376 | <child> | ||
377 | <object class="GtkButton" id="GNUNET_GTK_conversation_add_contact_button"> | ||
378 | <property name="label" translatable="yes">Add contact</property> | ||
379 | <property name="use_action_appearance">False</property> | ||
380 | <property name="visible">True</property> | ||
381 | <property name="can_focus">True</property> | ||
382 | <property name="receives_default">True</property> | ||
383 | <property name="use_action_appearance">False</property> | ||
384 | <signal name="clicked" handler="GNUNET_CONVERSATION_GTK_on_add_clicked" swapped="no"/> | ||
385 | </object> | ||
386 | <packing> | ||
387 | <property name="left_attach">0</property> | ||
388 | <property name="top_attach">0</property> | ||
389 | <property name="width">1</property> | ||
390 | <property name="height">1</property> | ||
391 | </packing> | ||
392 | </child> | ||
393 | <child> | ||
394 | <object class="GtkButton" id="GNUNET_GTK_conversation_remove_contact_button"> | ||
395 | <property name="label" translatable="yes">Remove contact</property> | ||
396 | <property name="use_action_appearance">False</property> | ||
397 | <property name="visible">True</property> | ||
398 | <property name="can_focus">True</property> | ||
399 | <property name="receives_default">True</property> | ||
400 | <property name="use_action_appearance">False</property> | ||
401 | <signal name="clicked" handler="GNUNET_CONVERSATION_GTK_on_remove_clicked" swapped="no"/> | ||
402 | </object> | ||
403 | <packing> | ||
404 | <property name="left_attach">1</property> | ||
405 | <property name="top_attach">0</property> | ||
406 | <property name="width">1</property> | ||
407 | <property name="height">1</property> | ||
408 | </packing> | ||
409 | </child> | ||
410 | </object> | ||
411 | <packing> | ||
412 | <property name="expand">False</property> | ||
413 | <property name="fill">True</property> | ||
414 | <property name="position">5</property> | ||
415 | </packing> | ||
416 | </child> | ||
417 | </object> | ||
418 | <packing> | ||
419 | <property name="expand">True</property> | ||
420 | <property name="fill">True</property> | ||
421 | <property name="position">1</property> | ||
422 | </packing> | ||
423 | </child> | ||
424 | </object> | ||
425 | </child> | ||
426 | </object> | ||
427 | <object class="GtkListStore" id="gnunet_conversation_gtk_contacts_liststore"> | ||
428 | <columns> | ||
429 | <!-- column-name contactName --> | ||
430 | <column type="gchararray"/> | ||
431 | <!-- column-name contactType --> | ||
432 | <column type="gchararray"/> | ||
433 | </columns> | ||
434 | </object> | ||
435 | <object class="GtkTreeStore" id="gnunet_conversation_gtk_contacts_treestore"> | ||
436 | <columns> | ||
437 | <!-- column-name contactName --> | ||
438 | <column type="gchararray"/> | ||
439 | </columns> | ||
440 | </object> | ||
441 | <object class="GtkTreeStore" id="gnunet_conversation_gtk_history_treestore"/> | ||
442 | </interface> | ||