summaryrefslogtreecommitdiff
path: root/data/ui/contacts-contact-sheet.ui
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2018-03-05 06:43:27 +0100
committerNiels De Graef <nielsdegraef@gmail.com>2018-03-25 22:54:06 +0200
commit8f43f9136d84a7562a0f2094d44041ed0d6ea8ea (patch)
tree0b64823a4eb4ec7c179552bd787c847923c4b799 /data/ui/contacts-contact-sheet.ui
parent2fdd00e65f3d4a34660e542d920238f408a0e30f (diff)
downloadgnome-contacts-8f43f9136d84a7562a0f2094d44041ed0d6ea8ea.tar.gz
Don't reuse single ContactSheet for multiple contacts.
That way, there exists a clear relation between a ContactSheet and the contact it's displaying. It should also be much easier to exploit the common structure of a ContactSheet and a ContactEditor to extract shared functions.
Diffstat (limited to 'data/ui/contacts-contact-sheet.ui')
-rw-r--r--data/ui/contacts-contact-sheet.ui34
1 files changed, 34 insertions, 0 deletions
diff --git a/data/ui/contacts-contact-sheet.ui b/data/ui/contacts-contact-sheet.ui
new file mode 100644
index 0000000..a65ece5
--- /dev/null
+++ b/data/ui/contacts-contact-sheet.ui
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.22 -->
+ <template class="ContactsContactSheet" parent="GtkGrid">
+ <property name="visible">True</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="orientation">vertical</property>
+ <property name="row_spacing">12</property>
+ <property name="column_spacing">16</property>
+ <property name="margin">36</property>
+ <property name="margin_bottom">24</property>
+ <child>
+ <object class="GtkLabel" id="name_label">
+ <property name="visible">True</property>
+ <property name="selectable">True</property>
+ <property name="hexpand">True</property>
+ <property name="halign">start</property>
+ <property name="valign">center</property>
+ <property name="margin_start">6</property>
+ <property name="xalign">0</property>
+ <property name="ellipsize">end</property>
+ <style>
+ <class name="contacts-contact-sheet"/>
+ </style>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="height">3</property>
+ </packing>
+ </child>
+ </template>
+</interface>