| <?xml version="1.0" encoding="UTF-8"?> |
| <interface> |
| <requires lib="gtk+" version="3.10"/> |
| <template class="IncomingCallView" parent="GtkBox"> |
| <property name="visible">True</property> |
| |
| <!-- start of Paned container which splits the call and the chat --> |
| <child> |
| <object class="GtkPaned" id="paned_call"> |
| <property name="visible">True</property> |
| |
| <!-- call goes in this frame --> |
| <child> |
| <object class="GtkFrame" id="frame_call"> |
| <property name="visible">True</property> |
| <property name="shadow-type">GTK_SHADOW_NONE</property> |
| |
| <!-- box call --> |
| <child> |
| <object class="GtkBox" id="vbox_call"> |
| <property name="visible">True</property> |
| <property name="orientation">vertical</property> |
| |
| <!-- info vbox --> |
| <child> |
| <object class="GtkBox" id="vbox_incoming_info"> |
| <property name="visible">True</property> |
| <property name="valign">center</property> |
| <property name="border_width">15</property> |
| <property name="orientation">vertical</property> |
| <property name="spacing">15</property> |
| <!-- image of contact --> |
| <child> |
| <object class="GtkImage" id="image_incoming"> |
| <property name="visible">True</property> |
| <property name="can_focus">False</property> |
| <property name="halign">center</property> |
| <property name="xpad">10</property> |
| <property name="ypad">10</property> |
| </object> |
| <packing> |
| <property name="expand">False</property> |
| <property name="fill">True</property> |
| </packing> |
| </child> |
| <!-- end image of contact --> |
| <!-- name or other identity of contact --> |
| <child> |
| <object class="GtkLabel" id="label_name"> |
| <property name="visible">True</property> |
| <property name="can_focus">True</property> |
| <property name="halign">center</property> |
| <property name="selectable">True</property> |
| <property name="ellipsize">end</property> |
| <attributes> |
| <attribute name="scale" value="1.5"/> |
| </attributes> |
| </object> |
| <packing> |
| <property name="expand">False</property> |
| <property name="fill">True</property> |
| </packing> |
| </child> |
| <!-- end name or other identity of contact --> |
| <!-- uri of contact --> |
| <child> |
| <object class="GtkLabel" id="label_bestId"> |
| <property name="visible">False</property> |
| <property name="can_focus">True</property> |
| <property name="halign">center</property> |
| <property name="selectable">True</property> |
| <property name="ellipsize">end</property> |
| <style> |
| <class name="dim-label"/> |
| </style> |
| </object> |
| <packing> |
| <property name="expand">False</property> |
| <property name="fill">True</property> |
| </packing> |
| </child> |
| <!-- end uri of contact --> |
| <!-- call initialization progress --> |
| <child> |
| <object class="GtkSpinner" id="spinner_status"> |
| <property name="visible">False</property> |
| <property name="can_focus">False</property> |
| <property name="active">True</property> |
| <property name="height-request">25</property> |
| </object> |
| </child> |
| <child> |
| <object class="GtkLabel" id="placeholder"> |
| <property name="visible">False</property> |
| <property name="can_focus">False</property> |
| <property name="height-request">25</property> |
| </object> |
| </child> |
| <!-- end of call initialization progress --> |
| <!-- call state info --> |
| <child> |
| <object class="GtkLabel" id="label_status"> |
| <property name="visible">True</property> |
| <property name="can_focus">False</property> |
| <property name="label" translatable="yes">Incoming...</property> |
| <property name="ellipsize">end</property> |
| <style> |
| <class name="dim-label"/> |
| </style> |
| </object> |
| </child> |
| </object> |
| <packing> |
| <property name="expand">False</property> |
| <property name="fill">True</property> |
| </packing> |
| </child> |
| <!-- end info vbox --> |
| |
| <!-- hbox action bar --> |
| <child> |
| <object class="GtkBox" id="hbox_action_bar"> |
| <property name="visible">True</property> |
| <property name="orientation">horizontal</property> |
| <property name="spacing">20</property> |
| <property name="border_width">20</property> |
| <property name="valign">center</property> |
| <!-- accept button --> |
| <child> |
| <object class="GtkButton" id="button_accept_incoming"> |
| <property name="visible">True</property> |
| <property name="can_focus">True</property> |
| <property name="label" translatable="yes"> Accept</property> |
| <property name="image">image_accept</property> |
| <property name="action-name">app.accept</property> |
| </object> |
| <packing> |
| <property name="expand">True</property> |
| <property name="fill">True</property> |
| </packing> |
| </child> |
| <!-- end accept button --> |
| <!-- reject button --> |
| <child> |
| <object class="GtkButton" id="button_reject_incoming"> |
| <property name="visible">True</property> |
| <property name="can_focus">True</property> |
| <property name="label" translatable="yes"> Reject</property> |
| <property name="image">image_reject</property> |
| <property name="action-name">app.hangup</property> |
| </object> |
| <packing> |
| <property name="expand">True</property> |
| <property name="fill">True</property> |
| </packing> |
| </child> |
| <!-- end reject button --> |
| <!-- end button --> |
| <child> |
| <object class="GtkButton" id="button_end_call"> |
| <property name="visible">False</property> |
| <property name="can_focus">True</property> |
| <property name="label" translatable="yes"> Hang-up</property> |
| <property name="image">image_hangup</property> |
| <property name="action-name">app.hangup</property> |
| </object> |
| <packing> |
| <property name="expand">True</property> |
| <property name="fill">True</property> |
| </packing> |
| </child> |
| <!-- end end button --> |
| </object> |
| <packing> |
| <property name="expand">False</property> |
| <property name="fill">True</property> |
| </packing> |
| </child> |
| <!-- end hbox action bar --> |
| </object> |
| </child> |
| <!-- end box call --> |
| |
| </object> |
| <packing> |
| <property name="shrink">False</property> |
| <property name="resize">True</property> |
| </packing> |
| </child> |
| <!-- end of call frame --> |
| |
| <!-- chat widget goes in this frame --> |
| <child> |
| <object class="GtkFrame" id="frame_chat"> |
| <property name="visible">True</property> |
| <property name="shadow-type">GTK_SHADOW_NONE</property> |
| </object> |
| <packing> |
| <property name="shrink">False</property> |
| <property name="resize">True</property> |
| </packing> |
| </child> |
| <!-- end of chat frame --> |
| |
| </object> |
| <packing> |
| <property name="expand">True</property> |
| <property name="fill">True</property> |
| </packing> |
| </child> |
| <!-- end of Paned container --> |
| </template> |
| <object class="GtkImage" id="image_accept"> |
| <property name="visible">True</property> |
| <property name="resource">/cx/ring/RingGnome/accept</property> |
| </object> |
| <object class="GtkImage" id="image_reject"> |
| <property name="visible">True</property> |
| <property name="resource">/cx/ring/RingGnome/reject</property> |
| </object> |
| <object class="GtkImage" id="image_hangup"> |
| <property name="visible">True</property> |
| <property name="resource">/cx/ring/RingGnome/reject</property> |
| </object> |
| </interface> |