gnome: outgoing calls
Can now place outgoing calls. Can end outgoing
and in progress calls.
Refs #66962
Change-Id: Ic132533d120e9582e58954c947af4cafd793b6fa
diff --git a/ui/incomingcallview.ui b/ui/incomingcallview.ui
index 2540bfd..72c7340 100644
--- a/ui/incomingcallview.ui
+++ b/ui/incomingcallview.ui
@@ -12,7 +12,9 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="shadow_type">none</property>
- <property name="min-content-height">250</property>
+ <!-- <property name="min-content-height">250</property> -->
+ <!-- for now, disable scrolling, display everything -->
+ <property name="vscrollbar_policy">never</property>
<property name="hscrollbar_policy">never</property>
<!-- info viewport -->
<child>
@@ -59,8 +61,16 @@
</packing>
</child>
<!-- end name or other identity of contact -->
+ <!-- call state info -->
<child>
- <placeholder/>
+ <object class="GtkLabel" id="label_status">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Incoming...</property>
+ <attributes>
+ <attribute name="foreground" value="#88888a8a8585"/>
+ </attributes>
+ </object>
</child>
</object>
</child>
@@ -114,6 +124,21 @@
</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.reject</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ <!-- end end button -->
</object>
</child>
<!-- end hbox action bar -->
@@ -126,4 +151,8 @@
<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>
diff --git a/ui/ringmainwindow.ui b/ui/ringmainwindow.ui
index 070921f..df53765 100644
--- a/ui/ringmainwindow.ui
+++ b/ui/ringmainwindow.ui
@@ -5,7 +5,7 @@
<template class="RingMainWindow" parent="GtkApplicationWindow">
<property name="can_focus">False</property>
<property name="show_menubar">False</property>
- <property name="default-width">840</property>
+ <property name="default-width">960</property>
<property name="default-height">640</property>
<property name="border_width">5</property>
<!-- header definition -->
@@ -48,7 +48,8 @@
<object class="GtkSearchEntry" id="search_entry">
<property name="visible">True</property>
<property name="height-request">43</property>
- <property name="width-request">400</property>
+ <property name="width-request">500</property>
+ <property name="xalign">0.5</property>
</object>
<packing>
<property name="expand">True</property>
@@ -96,7 +97,8 @@
<object class="GtkScrolledWindow" id="scrolledwindow_calls">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <!-- <property name="hscrollbar_policy">never</property> -->
+ <property name="vscrollbar_policy">never</property>
+ <property name="height-request">100</property>
<!-- <property name="shadow_type">in</property> -->
<child>
<object class="GtkTreeView" id="treeview_call">