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> |
| 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 Salenikovich | 297b5d1 | 2015-02-26 17:51:13 -0500 | [diff] [blame] | 15 | <!-- <property name="min-content-height">250</property> --> |
| 16 | <!-- for now, disable scrolling, display everything --> |
| 17 | <property name="vscrollbar_policy">never</property> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 18 | <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 Roguez | 3475c6d | 2015-04-29 13:05:41 -0400 | [diff] [blame] | 52 | <property name="can_focus">True</property> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 53 | <property name="halign">center</property> |
Stepan Salenikovich | fb5ff0a | 2015-03-29 22:47:47 -0400 | [diff] [blame] | 54 | <property name="selectable">True</property> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 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 --> |
Stepan Salenikovich | 9d51d53 | 2015-06-15 17:47:42 -0400 | [diff] [blame^] | 65 | <!-- 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 Salenikovich | 297b5d1 | 2015-02-26 17:51:13 -0500 | [diff] [blame] | 82 | <!-- call state info --> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 83 | <child> |
Stepan Salenikovich | 297b5d1 | 2015-02-26 17:51:13 -0500 | [diff] [blame] | 84 | <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 Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 92 | </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 Salenikovich | c64523b | 2015-02-27 16:31:00 -0500 | [diff] [blame] | 137 | <property name="action-name">app.hangup</property> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 138 | </object> |
| 139 | <packing> |
| 140 | <property name="expand">True</property> |
| 141 | <property name="fill">True</property> |
| 142 | </packing> |
| 143 | </child> |
| 144 | <!-- end reject button --> |
Stepan Salenikovich | 297b5d1 | 2015-02-26 17:51:13 -0500 | [diff] [blame] | 145 | <!-- 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 Salenikovich | c64523b | 2015-02-27 16:31:00 -0500 | [diff] [blame] | 152 | <property name="action-name">app.hangup</property> |
Stepan Salenikovich | 297b5d1 | 2015-02-26 17:51:13 -0500 | [diff] [blame] | 153 | </object> |
| 154 | <packing> |
| 155 | <property name="expand">True</property> |
| 156 | <property name="fill">True</property> |
| 157 | </packing> |
| 158 | </child> |
| 159 | <!-- end end button --> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 160 | </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 Salenikovich | 297b5d1 | 2015-02-26 17:51:13 -0500 | [diff] [blame] | 172 | <object class="GtkImage" id="image_hangup"> |
| 173 | <property name="visible">True</property> |
| 174 | <property name="resource">/cx/ring/RingGnome/reject</property> |
| 175 | </object> |
Stepan Salenikovich | 6977184 | 2015-02-24 18:11:45 -0500 | [diff] [blame] | 176 | </interface> |