Update ContactPopover depending on if the contact is from the desktop

Show the appropriate menu and star/unstar buttons.
This commit is contained in:
Michael Gratton 2019-03-16 17:48:24 +11:00 committed by Michael James Gratton
parent 6ff0e70117
commit 258b68b7e7
4 changed files with 42 additions and 2 deletions

View file

@ -20,11 +20,14 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_bottom">6</property>
<property name="column_spacing">6</property>
<property name="column_spacing">12</property>
<child>
<object class="GtkButton" id="unstarred_button">
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="halign">end</property>
<property name="valign">center</property>
<property name="action_name">msg.contact-star</property>
<property name="relief">none</property>
<child>
<object class="GtkImage">
@ -43,6 +46,9 @@
<object class="GtkButton" id="starred_button">
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="halign">end</property>
<property name="valign">center</property>
<property name="action_name">msg.contact-star</property>
<property name="relief">none</property>
<child>
<object class="GtkImage">