blob: 6fb7770ff290a0cf62f4a241609ff37ea6f951e3 [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 Salenikovichce9660d2015-10-27 11:17:45 -040055 <property name="ellipsize">end</property>
Stepan Salenikovich69771842015-02-24 18:11:45 -050056 <attributes>
57 <attribute name="scale" value="1.5"/>
58 </attributes>
59 </object>
60 <packing>
61 <property name="expand">False</property>
62 <property name="fill">True</property>
63 </packing>
64 </child>
65 <!-- end name or other identity of contact -->
Stepan Salenikovich9d51d532015-06-15 17:47:42 -040066 <!-- call initialization progress -->
67 <child>
68 <object class="GtkSpinner" id="spinner_status">
69 <property name="visible">False</property>
70 <property name="can_focus">False</property>
71 <property name="active">True</property>
72 <property name="height-request">25</property>
73 </object>
74 </child>
75 <child>
76 <object class="GtkLabel" id="placeholder">
77 <property name="visible">False</property>
78 <property name="can_focus">False</property>
79 <property name="height-request">25</property>
80 </object>
81 </child>
82 <!-- end of call initialization progress -->
Stepan Salenikovich297b5d12015-02-26 17:51:13 -050083 <!-- call state info -->
Stepan Salenikovich69771842015-02-24 18:11:45 -050084 <child>
Stepan Salenikovich297b5d12015-02-26 17:51:13 -050085 <object class="GtkLabel" id="label_status">
86 <property name="visible">True</property>
87 <property name="can_focus">False</property>
88 <property name="label" translatable="yes">Incoming...</property>
Stepan Salenikovichce9660d2015-10-27 11:17:45 -040089 <property name="ellipsize">end</property>
Stepan Salenikovich297b5d12015-02-26 17:51:13 -050090 <attributes>
91 <attribute name="foreground" value="#88888a8a8585"/>
92 </attributes>
93 </object>
Stepan Salenikovich69771842015-02-24 18:11:45 -050094 </child>
95 </object>
96 </child>
97 <!-- end info vbox -->
98 </object>
99 </child>
100 <!-- end info viewport -->
101 </object>
102 <packing>
103 <property name="expand">False</property>
104 <property name="fill">True</property>
105 </packing>
106 </child>
107 <!-- end info scroll -->
108 <!-- hbox action bar -->
109 <child>
110 <object class="GtkBox" id="hbox_action_bar">
111 <property name="visible">True</property>
112 <property name="can_focus">False</property>
113 <property name="orientation">horizontal</property>
114 <property name="spacing">20</property>
115 <property name="border_width">20</property>
116 <!-- <property name="margin_bottom">100</property> -->
117 <!-- accept button -->
118 <child>
119 <object class="GtkButton" id="button_accept_incoming">
120 <property name="visible">True</property>
121 <property name="can_focus">True</property>
122 <property name="label" translatable="yes"> Accept</property>
123 <property name="image">image_accept</property>
124 <property name="action-name">app.accept</property>
125 </object>
126 <packing>
127 <property name="expand">True</property>
128 <property name="fill">True</property>
129 </packing>
130 </child>
131 <!-- end accept button -->
132 <!-- reject button -->
133 <child>
134 <object class="GtkButton" id="button_reject_incoming">
135 <property name="visible">True</property>
136 <property name="can_focus">True</property>
137 <property name="label" translatable="yes"> Reject</property>
138 <property name="image">image_reject</property>
Stepan Salenikovichc64523b2015-02-27 16:31:00 -0500139 <property name="action-name">app.hangup</property>
Stepan Salenikovich69771842015-02-24 18:11:45 -0500140 </object>
141 <packing>
142 <property name="expand">True</property>
143 <property name="fill">True</property>
144 </packing>
145 </child>
146 <!-- end reject button -->
Stepan Salenikovich297b5d12015-02-26 17:51:13 -0500147 <!-- end button -->
148 <child>
149 <object class="GtkButton" id="button_end_call">
150 <property name="visible">False</property>
151 <property name="can_focus">True</property>
152 <property name="label" translatable="yes"> Hang-up</property>
153 <property name="image">image_hangup</property>
Stepan Salenikovichc64523b2015-02-27 16:31:00 -0500154 <property name="action-name">app.hangup</property>
Stepan Salenikovich297b5d12015-02-26 17:51:13 -0500155 </object>
156 <packing>
157 <property name="expand">True</property>
158 <property name="fill">True</property>
159 </packing>
160 </child>
161 <!-- end end button -->
Stepan Salenikovich69771842015-02-24 18:11:45 -0500162 </object>
163 </child>
164 <!-- end hbox action bar -->
165 </template>
166 <object class="GtkImage" id="image_accept">
167 <property name="visible">True</property>
168 <property name="resource">/cx/ring/RingGnome/accept</property>
169 </object>
170 <object class="GtkImage" id="image_reject">
171 <property name="visible">True</property>
172 <property name="resource">/cx/ring/RingGnome/reject</property>
173 </object>
Stepan Salenikovich297b5d12015-02-26 17:51:13 -0500174 <object class="GtkImage" id="image_hangup">
175 <property name="visible">True</property>
176 <property name="resource">/cx/ring/RingGnome/reject</property>
177 </object>
Stepan Salenikovich69771842015-02-24 18:11:45 -0500178</interface>