Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 1 | <?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> |
Stepan Salenikovich | daf3cb3 | 2016-10-12 16:39:42 -0400 | [diff] [blame] | 6 | |
| 7 | <!-- start of Paned container which splits the call and the chat --> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 8 | <child> |
Stepan Salenikovich | daf3cb3 | 2016-10-12 16:39:42 -0400 | [diff] [blame] | 9 | <object class="GtkPaned" id="paned_call"> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 10 | <property name="visible">True</property> |
Stepan Salenikovich | daf3cb3 | 2016-10-12 16:39:42 -0400 | [diff] [blame] | 11 | |
| 12 | <!-- call goes in this frame --> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 13 | <child> |
Stepan Salenikovich | daf3cb3 | 2016-10-12 16:39:42 -0400 | [diff] [blame] | 14 | <object class="GtkFrame" id="frame_call"> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 15 | <property name="visible">True</property> |
Stepan Salenikovich | daf3cb3 | 2016-10-12 16:39:42 -0400 | [diff] [blame] | 16 | <property name="shadow-type">GTK_SHADOW_NONE</property> |
| 17 | |
| 18 | <!-- box call --> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 19 | <child> |
Stepan Salenikovich | daf3cb3 | 2016-10-12 16:39:42 -0400 | [diff] [blame] | 20 | <object class="GtkBox" id="vbox_call"> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 21 | <property name="visible">True</property> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 22 | <property name="orientation">vertical</property> |
Stepan Salenikovich | daf3cb3 | 2016-10-12 16:39:42 -0400 | [diff] [blame] | 23 | |
| 24 | <!-- info vbox --> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 25 | <child> |
Stepan Salenikovich | daf3cb3 | 2016-10-12 16:39:42 -0400 | [diff] [blame] | 26 | <object class="GtkBox" id="vbox_incoming_info"> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 27 | <property name="visible">True</property> |
Stepan Salenikovich | daf3cb3 | 2016-10-12 16:39:42 -0400 | [diff] [blame] | 28 | <property name="valign">center</property> |
| 29 | <property name="border_width">15</property> |
| 30 | <property name="orientation">vertical</property> |
| 31 | <property name="spacing">15</property> |
| 32 | <!-- image of contact --> |
| 33 | <child> |
| 34 | <object class="GtkImage" id="image_incoming"> |
| 35 | <property name="visible">True</property> |
| 36 | <property name="can_focus">False</property> |
| 37 | <property name="halign">center</property> |
| 38 | <property name="xpad">10</property> |
| 39 | <property name="ypad">10</property> |
| 40 | </object> |
| 41 | <packing> |
| 42 | <property name="expand">False</property> |
| 43 | <property name="fill">True</property> |
| 44 | </packing> |
| 45 | </child> |
| 46 | <!-- end image of contact --> |
| 47 | <!-- name or other identity of contact --> |
| 48 | <child> |
| 49 | <object class="GtkLabel" id="label_name"> |
| 50 | <property name="visible">True</property> |
| 51 | <property name="can_focus">True</property> |
| 52 | <property name="halign">center</property> |
| 53 | <property name="selectable">True</property> |
| 54 | <property name="ellipsize">end</property> |
| 55 | <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 --> |
| 65 | <!-- uri of contact --> |
| 66 | <child> |
| 67 | <object class="GtkLabel" id="label_uri"> |
| 68 | <property name="visible">False</property> |
| 69 | <property name="can_focus">True</property> |
| 70 | <property name="halign">center</property> |
| 71 | <property name="selectable">True</property> |
| 72 | <property name="ellipsize">end</property> |
| 73 | <style> |
| 74 | <class name="dim-label"/> |
| 75 | </style> |
| 76 | </object> |
| 77 | <packing> |
| 78 | <property name="expand">False</property> |
| 79 | <property name="fill">True</property> |
| 80 | </packing> |
| 81 | </child> |
| 82 | <!-- end uri of contact --> |
| 83 | <!-- call initialization progress --> |
| 84 | <child> |
| 85 | <object class="GtkSpinner" id="spinner_status"> |
| 86 | <property name="visible">False</property> |
| 87 | <property name="can_focus">False</property> |
| 88 | <property name="active">True</property> |
| 89 | <property name="height-request">25</property> |
| 90 | </object> |
| 91 | </child> |
| 92 | <child> |
| 93 | <object class="GtkLabel" id="placeholder"> |
| 94 | <property name="visible">False</property> |
| 95 | <property name="can_focus">False</property> |
| 96 | <property name="height-request">25</property> |
| 97 | </object> |
| 98 | </child> |
| 99 | <!-- end of call initialization progress --> |
| 100 | <!-- call state info --> |
| 101 | <child> |
| 102 | <object class="GtkLabel" id="label_status"> |
| 103 | <property name="visible">True</property> |
| 104 | <property name="can_focus">False</property> |
| 105 | <property name="label" translatable="yes">Incoming...</property> |
| 106 | <property name="ellipsize">end</property> |
| 107 | <style> |
| 108 | <class name="dim-label"/> |
| 109 | </style> |
| 110 | </object> |
| 111 | </child> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 112 | </object> |
| 113 | <packing> |
| 114 | <property name="expand">False</property> |
| 115 | <property name="fill">True</property> |
| 116 | </packing> |
| 117 | </child> |
Stepan Salenikovich | daf3cb3 | 2016-10-12 16:39:42 -0400 | [diff] [blame] | 118 | <!-- end info vbox --> |
| 119 | |
| 120 | <!-- hbox action bar --> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 121 | <child> |
Stepan Salenikovich | daf3cb3 | 2016-10-12 16:39:42 -0400 | [diff] [blame] | 122 | <object class="GtkBox" id="hbox_action_bar"> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 123 | <property name="visible">True</property> |
Stepan Salenikovich | daf3cb3 | 2016-10-12 16:39:42 -0400 | [diff] [blame] | 124 | <property name="orientation">horizontal</property> |
| 125 | <property name="spacing">20</property> |
| 126 | <property name="border_width">20</property> |
| 127 | <property name="valign">center</property> |
| 128 | <!-- accept button --> |
| 129 | <child> |
| 130 | <object class="GtkButton" id="button_accept_incoming"> |
| 131 | <property name="visible">True</property> |
| 132 | <property name="can_focus">True</property> |
| 133 | <property name="label" translatable="yes"> Accept</property> |
| 134 | <property name="image">image_accept</property> |
| 135 | <property name="action-name">app.accept</property> |
| 136 | </object> |
| 137 | <packing> |
| 138 | <property name="expand">True</property> |
| 139 | <property name="fill">True</property> |
| 140 | </packing> |
| 141 | </child> |
| 142 | <!-- end accept button --> |
| 143 | <!-- reject button --> |
| 144 | <child> |
| 145 | <object class="GtkButton" id="button_reject_incoming"> |
| 146 | <property name="visible">True</property> |
| 147 | <property name="can_focus">True</property> |
| 148 | <property name="label" translatable="yes"> Reject</property> |
| 149 | <property name="image">image_reject</property> |
| 150 | <property name="action-name">app.hangup</property> |
| 151 | </object> |
| 152 | <packing> |
| 153 | <property name="expand">True</property> |
| 154 | <property name="fill">True</property> |
| 155 | </packing> |
| 156 | </child> |
| 157 | <!-- end reject button --> |
| 158 | <!-- end button --> |
| 159 | <child> |
| 160 | <object class="GtkButton" id="button_end_call"> |
| 161 | <property name="visible">False</property> |
| 162 | <property name="can_focus">True</property> |
| 163 | <property name="label" translatable="yes"> Hang-up</property> |
| 164 | <property name="image">image_hangup</property> |
| 165 | <property name="action-name">app.hangup</property> |
| 166 | </object> |
| 167 | <packing> |
| 168 | <property name="expand">True</property> |
| 169 | <property name="fill">True</property> |
| 170 | </packing> |
| 171 | </child> |
| 172 | <!-- end end button --> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 173 | </object> |
| 174 | <packing> |
| 175 | <property name="expand">False</property> |
| 176 | <property name="fill">True</property> |
| 177 | </packing> |
| 178 | </child> |
Stepan Salenikovich | daf3cb3 | 2016-10-12 16:39:42 -0400 | [diff] [blame] | 179 | <!-- end hbox action bar --> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 180 | </object> |
| 181 | </child> |
Stepan Salenikovich | daf3cb3 | 2016-10-12 16:39:42 -0400 | [diff] [blame] | 182 | <!-- end box call --> |
| 183 | |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 184 | </object> |
Stepan Salenikovich | daf3cb3 | 2016-10-12 16:39:42 -0400 | [diff] [blame] | 185 | <packing> |
| 186 | <property name="shrink">False</property> |
| 187 | <property name="resize">True</property> |
| 188 | </packing> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 189 | </child> |
Stepan Salenikovich | daf3cb3 | 2016-10-12 16:39:42 -0400 | [diff] [blame] | 190 | <!-- end of call frame --> |
| 191 | |
| 192 | <!-- chat widget goes in this frame --> |
| 193 | <child> |
| 194 | <object class="GtkFrame" id="frame_chat"> |
| 195 | <property name="visible">True</property> |
| 196 | <property name="shadow-type">GTK_SHADOW_NONE</property> |
| 197 | </object> |
| 198 | <packing> |
| 199 | <property name="shrink">False</property> |
| 200 | <property name="resize">True</property> |
| 201 | </packing> |
| 202 | </child> |
| 203 | <!-- end of chat frame --> |
| 204 | |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 205 | </object> |
| 206 | <packing> |
Stepan Salenikovich | daf3cb3 | 2016-10-12 16:39:42 -0400 | [diff] [blame] | 207 | <property name="expand">True</property> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 208 | <property name="fill">True</property> |
| 209 | </packing> |
| 210 | </child> |
Stepan Salenikovich | daf3cb3 | 2016-10-12 16:39:42 -0400 | [diff] [blame] | 211 | <!-- end of Paned container --> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 212 | </template> |
| 213 | <object class="GtkImage" id="image_accept"> |
| 214 | <property name="visible">True</property> |
| 215 | <property name="resource">/cx/ring/RingGnome/accept</property> |
| 216 | </object> |
| 217 | <object class="GtkImage" id="image_reject"> |
| 218 | <property name="visible">True</property> |
| 219 | <property name="resource">/cx/ring/RingGnome/reject</property> |
| 220 | </object> |
Stepan Salenikovich | 297b5d1 | 2015-02-26 17:51:13 -0500 | [diff] [blame] | 221 | <object class="GtkImage" id="image_hangup"> |
| 222 | <property name="visible">True</property> |
| 223 | <property name="resource">/cx/ring/RingGnome/reject</property> |
| 224 | </object> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 225 | </interface> |