incomingcallview: show the peer's uri
In the case that the peer has a display name or is a contact, we
show the uri below so the user is aware of the number or ringId
being used for the call.
Change-Id: I3a59a34452110d1cebc8decde28599926d676d7a
Tuleap: #645
diff --git a/ui/incomingcallview.ui b/ui/incomingcallview.ui
index 6fb7770..ac798a0 100644
--- a/ui/incomingcallview.ui
+++ b/ui/incomingcallview.ui
@@ -12,7 +12,6 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="shadow_type">none</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>
@@ -47,7 +46,7 @@
<!-- end image of contact -->
<!-- name or other identity of contact -->
<child>
- <object class="GtkLabel" id="label_identity">
+ <object class="GtkLabel" id="label_name">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="halign">center</property>
@@ -63,6 +62,24 @@
</packing>
</child>
<!-- end name or other identity of contact -->
+ <!-- uri of contact -->
+ <child>
+ <object class="GtkLabel" id="label_uri">
+ <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">
@@ -87,9 +104,9 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes">Incoming...</property>
<property name="ellipsize">end</property>
- <attributes>
- <attribute name="foreground" value="#88888a8a8585"/>
- </attributes>
+ <style>
+ <class name="dim-label"/>
+ </style>
</object>
</child>
</object>