blob: 1242ebe89767c8c8e7bc21d6c51bcb35ab6882ca [file] [log] [blame]
Stepan Salenikovichd2cad062016-01-08 13:43:49 -05001<?xml version="1.0" encoding="UTF-8"?>
2<interface>
3 <requires lib="gtk+" version="3.10"/>
4 <template class="ChatView" parent="GtkBox">
5 <property name="orientation">vertical</property>
Stepan Salenikovichc6a3b982016-01-11 18:11:39 -05006
7 <!-- chat info (only show for out of call conversations) -->
8 <child>
9 <object class="GtkBox" id="hbox_chat_info">
10 <property name="visible">False</property>
11 <property name="no-show-all">True</property>
12 <property name="orientation">horizontal</property>
13 <property name="spacing">5</property>
14 <property name="border-width">5</property>
15 <child>
Stepan Salenikovich8043a562016-03-18 13:56:40 -040016 <object class="GtkButton" id="button_close_chatview">
17 <property name="image">image_back_arrow</property>
18 <property name="visible">True</property>
19 <property name="tooltip-text" translatable="yes">Hide chat view</property>
20 <child internal-child="accessible">
21 <object class="AtkObject" id="button_close_chatview-atkobject">
22 <property name="AtkObject::accessible-name" translatable="yes">Hide chat view</property>
23 </object>
24 </child>
25 </object>
26 </child>
27 <child>
Stepan Salenikovichc6a3b982016-01-11 18:11:39 -050028 <object class="GtkLabel" id="label_peer">
29 <property name="visible">True</property>
30 <property name="selectable">True</property>
31 <property name="ellipsize">end</property>
32 <attributes>
33 <attribute name="weight" value="bold"/>
34 </attributes>
35 </object>
36 <packing>
37 <property name="expand">False</property>
38 <property name="fill">True</property>
39 </packing>
40 </child>
41 <child>
42 <object class="GtkComboBox" id="combobox_cm">
43 <property name="visible">False</property>
44 <property name="popup-fixed-width">False</property>
45 </object>
46 <packing>
47 <property name="expand">False</property>
48 <property name="fill">True</property>
49 <property name="pack-type">end</property>
50 </packing>
51 </child>
52 </object>
53 <packing>
54 <property name="expand">False</property>
55 <property name="fill">True</property>
56 </packing>
57 </child>
58 <!-- end of chat info -->
59
Stepan Salenikovichd2cad062016-01-08 13:43:49 -050060 <!-- start of chat text view -->
61 <child>
62 <object class="GtkScrolledWindow" id="scrolledwindow_chat">
63 <property name="visible">True</property>
64 <child>
65 <object class="GtkTextView" id="textview_chat">
66 <property name="visible">True</property>
67 <property name="can_focus">True</property>
68 <property name="editable">False</property>
69 <property name="wrap-mode">word-char</property>
70 <property name="left-margin">5</property>
71 <property name="right-margin">5</property>
72 <property name="height-request">50</property>
73 </object>
74 </child>
75 </object>
76 <packing>
77 <property name="expand">True</property>
78 <property name="fill">True</property>
79 </packing>
80 </child>
81 <!-- end of chat text view -->
Stepan Salenikovichc6a3b982016-01-11 18:11:39 -050082
Stepan Salenikovichd2cad062016-01-08 13:43:49 -050083 <!-- start of chat entry -->
84 <child>
85 <object class="GtkBox" id="hbox_chat_input">
86 <property name="visible">True</property>
87 <property name="orientation">horizontal</property>
Stepan Salenikovichd2cad062016-01-08 13:43:49 -050088 <child>
89 <object class="GtkEntry" id="entry_chat_input">
90 <property name="visible">True</property>
91 </object>
92 <packing>
93 <property name="expand">True</property>
94 <property name="fill">True</property>
95 </packing>
96 </child>
97 <child>
98 <object class="GtkButton" id="button_chat_input">
99 <property name="visible">True</property>
100 <property name="label" translatable="yes">Send</property>
101 </object>
102 </child>
103 </object>
104 <packing>
105 <property name="expand">False</property>
106 <property name="fill">True</property>
107 </packing>
108 </child>
Stepan Salenikovichc6a3b982016-01-11 18:11:39 -0500109 <!-- end of chat entry -->
110
Stepan Salenikovichd2cad062016-01-08 13:43:49 -0500111 </template>
Stepan Salenikovich8043a562016-03-18 13:56:40 -0400112
113 <object class="GtkImage" id="image_back_arrow">
114 <property name="visible">True</property>
115 <property name="icon-name">go-previous-symbolic</property>
116 </object>
Stepan Salenikovichd2cad062016-01-08 13:43:49 -0500117</interface>