221 lines
8.9 KiB
XML
221 lines
8.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="ConversationContactPopover" parent="GtkPopover">
|
|
<signal name="closed" handler="after_closed" after="yes" swapped="no"/>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkBox" id="contact_pane">
|
|
<property name="margin-start">10</property>
|
|
<property name="margin-end">10</property>
|
|
<property name="margin-top">10</property>
|
|
<property name="margin-bottom">10</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkGrid">
|
|
<property name="margin-bottom">6</property>
|
|
<property name="column_spacing">12</property>
|
|
<child>
|
|
<object class="AdwAvatar" id="avatar">
|
|
<property name="can_focus">False</property>
|
|
<property name="show-initials">True</property>
|
|
<property name="size">48</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkLabel" id="contact_name">
|
|
<property name="halign">start</property>
|
|
<property name="valign">end</property>
|
|
<property name="vexpand">True</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="contact_address">
|
|
<property name="halign">start</property>
|
|
<property name="valign">start</property>
|
|
<property name="margin-top">2</property>
|
|
<property name="hexpand">False</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="ellipsize">middle</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<layout>
|
|
<property name="row">0</property>
|
|
<property name="column">1</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="unstarred_button">
|
|
<property name="halign">end</property>
|
|
<property name="valign">center</property>
|
|
<property name="icon-name">non-starred-symbolic</property>
|
|
<property name="action-name">con.star</property>
|
|
<style>
|
|
<class name="flat"/>
|
|
</style>
|
|
<layout>
|
|
<property name="row">0</property>
|
|
<property name="column">2</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="starred_button">
|
|
<property name="halign">end</property>
|
|
<property name="valign">center</property>
|
|
<property name="action-name">con.unstar</property>
|
|
<property name="icon-name">starred-symbolic</property>
|
|
<style>
|
|
<class name="flat"/>
|
|
</style>
|
|
<layout>
|
|
<property name="row">0</property>
|
|
<property name="column">3</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSeparator">
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="action-name">con.new-conversation</property>
|
|
<property name="label" translatable="yes">New Conversation…</property>
|
|
<style>
|
|
<class name="flat"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="action-name">con.copy-email</property>
|
|
<property name="label" translatable="yes">Copy Email Address</property>
|
|
<style>
|
|
<class name="flat"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSeparator">
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="action-name">con.show-conversations</property>
|
|
<property name="label" translatable="yes">Show Conversations</property>
|
|
<style>
|
|
<class name="flat"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="open_button">
|
|
<property name="action-name">con.open</property>
|
|
<property name="label" translatable="yes">Open in Contacts</property>
|
|
<style>
|
|
<class name="flat"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="save_button">
|
|
<property name="action-name">con.save</property>
|
|
<property name="label" translatable="yes">Save in Contacts…</property>
|
|
<style>
|
|
<class name="flat"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCheckButton" id="load_remote_button">
|
|
<property name="action-name">con.load-remote</property>
|
|
<property name="label" translatable="yes">Always Load Remote Images</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox" id="deceptive_pane">
|
|
<property name="margin-start">10</property>
|
|
<property name="margin-end">10</property>
|
|
<property name="margin-top">10</property>
|
|
<property name="margin-bottom">10</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">horizontal</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="pixel-size">24</property>
|
|
<property name="icon-name">dialog-warning-symbolic</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="label" translatable="yes" comments="Title label on contact popover">Deceptive email address</property>
|
|
<style>
|
|
<class name="title"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSeparator">
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="label" translatable="yes" comments="Contact popover label">This email address is:</property>
|
|
<property name="xalign">0</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="actual_email_label">
|
|
<style>
|
|
<class name="geary-deceptive"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="label" translatable="yes" comments="Contact popover label">But was forged as:</property>
|
|
<property name="xalign">0</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="forged_email_label">
|
|
<style>
|
|
<class name="geary-deceptive"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="label" translatable="yes" comments="Contact popover label">The sender may not be trustworthy</property>
|
|
<property name="xalign">0</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<style>
|
|
<class name="menu"/>
|
|
<class name="geary-contact-popover"/>
|
|
</style>
|
|
</template>
|
|
</interface>
|