blob: 2fa3cc520b2b4141ae91458b920562d5ceaeca36 [file] [log] [blame]
Stepan Salenikovich69771842015-02-24 18:11:45 -05001<?xml version="1.0" encoding="UTF-8"?>
2<interface>
3 <requires lib="gtk+" version="3.10"/>
4 <template class="IncomingCallView" parent="GtkBox">
5 <property name="visible">True</property>
6 <property name="can_focus">False</property>
7 <property name="orientation">vertical</property>
8 <property name="valign">center</property>
9 <!-- info scroll -->
10 <child>
11 <object class="GtkScrolledWindow" id="scrolledwindow_incoming_info">
12 <property name="visible">True</property>
13 <property name="can_focus">True</property>
14 <property name="shadow_type">none</property>
Stepan Salenikovich297b5d12015-02-26 17:51:13 -050015 <!-- <property name="min-content-height">250</property> -->
16 <!-- for now, disable scrolling, display everything -->
17 <property name="vscrollbar_policy">never</property>
Stepan Salenikovich69771842015-02-24 18:11:45 -050018 <property name="hscrollbar_policy">never</property>
19 <!-- info viewport -->
20 <child>
21 <object class="GtkViewport" id="viewport_incoming_info">
22 <property name="visible">True</property>
23 <property name="can_focus">False</property>
24 <!-- info vbox -->
25 <child>
26 <object class="GtkBox" id="vbox_incoming_info">
27 <property name="visible">True</property>
28 <property name="can_focus">False</property>
29 <property name="halign">center</property>
30 <property name="border_width">15</property>
31 <property name="orientation">vertical</property>
32 <property name="spacing">15</property>
33 <!-- image of contact -->
34 <child>
35 <object class="GtkImage" id="image_incoming">
36 <property name="visible">True</property>
37 <property name="can_focus">False</property>
38 <property name="halign">center</property>
39 <property name="xpad">10</property>
40 <property name="ypad">10</property>
41 </object>
42 <packing>
43 <property name="expand">False</property>
44 <property name="fill">True</property>
45 </packing>
46 </child>
47 <!-- end image of contact -->
48 <!-- name or other identity of contact -->
49 <child>
50 <object class="GtkLabel" id="label_identity">
51 <property name="visible">True</property>
Guillaume Roguez3475c6d2015-04-29 13:05:41 -040052 <property name="can_focus">True</property>
Stepan Salenikovich69771842015-02-24 18:11:45 -050053 <property name="halign">center</property>
Stepan Salenikovichfb5ff0a2015-03-29 22:47:47 -040054 <property name="selectable">True</property>
Stepan Salenikovich69771842015-02-24 18:11:45 -050055 <attributes>
56 <attribute name="scale" value="1.5"/>
57 </attributes>
58 </object>
59 <packing>
60 <property name="expand">False</property>
61 <property name="fill">True</property>
62 </packing>
63 </child>
64 <!-- end name or other identity of contact -->
Stepan Salenikovich9d51d532015-06-15 17:47:42 -040065 <!-- call initialization progress -->
66 <child>
67 <object class="GtkSpinner" id="spinner_status">
68 <property name="visible">False</property>
69 <property name="can_focus">False</property>
70 <property name="active">True</property>
71 <property name="height-request">25</property>
72 </object>
73 </child>
74 <child>
75 <object class="GtkLabel" id="placeholder">
76 <property name="visible">False</property>
77 <property name="can_focus">False</property>
78 <property name="height-request">25</property>
79 </object>
80 </child>
81 <!-- end of call initialization progress -->
Stepan Salenikovich297b5d12015-02-26 17:51:13 -050082 <!-- call state info -->
Stepan Salenikovich69771842015-02-24 18:11:45 -050083 <child>
Stepan Salenikovich297b5d12015-02-26 17:51:13 -050084 <object class="GtkLabel" id="label_status">
85 <property name="visible">True</property>
86 <property name="can_focus">False</property>
87 <property name="label" translatable="yes">Incoming...</property>
88 <attributes>
89 <attribute name="foreground" value="#88888a8a8585"/>
90 </attributes>
91 </object>
Stepan Salenikovich69771842015-02-24 18:11:45 -050092 </child>
93 </object>
94 </child>
95 <!-- end info vbox -->
96 </object>
97 </child>
98 <!-- end info viewport -->
99 </object>
100 <packing>
101 <property name="expand">False</property>
102 <property name="fill">True</property>
103 </packing>
104 </child>
105 <!-- end info scroll -->
106 <!-- hbox action bar -->
107 <child>
108 <object class="GtkBox" id="hbox_action_bar">
109 <property name="visible">True</property>
110 <property name="can_focus">False</property>
111 <property name="orientation">horizontal</property>
112 <property name="spacing">20</property>
113 <property name="border_width">20</property>
114 <!-- <property name="margin_bottom">100</property> -->
115 <!-- accept button -->
116 <child>
117 <object class="GtkButton" id="button_accept_incoming">
118 <property name="visible">True</property>
119 <property name="can_focus">True</property>
120 <property name="label" translatable="yes"> Accept</property>
121 <property name="image">image_accept</property>
122 <property name="action-name">app.accept</property>
123 </object>
124 <packing>
125 <property name="expand">True</property>
126 <property name="fill">True</property>
127 </packing>
128 </child>
129 <!-- end accept button -->
130 <!-- reject button -->
131 <child>
132 <object class="GtkButton" id="button_reject_incoming">
133 <property name="visible">True</property>
134 <property name="can_focus">True</property>
135 <property name="label" translatable="yes"> Reject</property>
136 <property name="image">image_reject</property>
Stepan Salenikovichc64523b2015-02-27 16:31:00 -0500137 <property name="action-name">app.hangup</property>
Stepan Salenikovich69771842015-02-24 18:11:45 -0500138 </object>
139 <packing>
140 <property name="expand">True</property>
141 <property name="fill">True</property>
142 </packing>
143 </child>
144 <!-- end reject button -->
Stepan Salenikovich297b5d12015-02-26 17:51:13 -0500145 <!-- end button -->
146 <child>
147 <object class="GtkButton" id="button_end_call">
148 <property name="visible">False</property>
149 <property name="can_focus">True</property>
150 <property name="label" translatable="yes"> Hang-up</property>
151 <property name="image">image_hangup</property>
Stepan Salenikovichc64523b2015-02-27 16:31:00 -0500152 <property name="action-name">app.hangup</property>
Stepan Salenikovich297b5d12015-02-26 17:51:13 -0500153 </object>
154 <packing>
155 <property name="expand">True</property>
156 <property name="fill">True</property>
157 </packing>
158 </child>
159 <!-- end end button -->
Stepan Salenikovich69771842015-02-24 18:11:45 -0500160 </object>
161 </child>
162 <!-- end hbox action bar -->
163 </template>
164 <object class="GtkImage" id="image_accept">
165 <property name="visible">True</property>
166 <property name="resource">/cx/ring/RingGnome/accept</property>
167 </object>
168 <object class="GtkImage" id="image_reject">
169 <property name="visible">True</property>
170 <property name="resource">/cx/ring/RingGnome/reject</property>
171 </object>
Stepan Salenikovich297b5d12015-02-26 17:51:13 -0500172 <object class="GtkImage" id="image_hangup">
173 <property name="visible">True</property>
174 <property name="resource">/cx/ring/RingGnome/reject</property>
175 </object>
Stepan Salenikovich69771842015-02-24 18:11:45 -0500176</interface>