blob: 439d7f46c643bd4a1d18969735e7ab975c91518a [file] [log] [blame]
<?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>
<property name="valign">center</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>
<!-- 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>
<property name="halign">center</property>
<!-- accept button -->
<child>
<object class="GtkButton" id="button_accept_incoming">
<style>
<class name="green-button"/>
<class name="flat-button"/>
</style>
<property name="width-request">48</property>
<property name="height-request">48</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_tooltip">True</property>
<property name="tooltip-text" 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">
<style>
<class name="red-button"/>
<class name="flat-button"/>
</style>
<property name="width-request">48</property>
<property name="height-request">48</property>
<property name="visible">True</property>
<property name="has_tooltip">True</property>
<property name="tooltip-text" translatable="yes">Reject</property>
<property name="can_focus">True</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 -->
</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="width_request">300</property>
<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/call_end</property>
</object>
<object class="GtkImage" id="image_hangup">
<property name="visible">True</property>
<property name="resource">/cx/ring/RingGnome/call_end</property>
</object>
</interface>