summaryrefslogtreecommitdiff
path: root/data/ui/contacts-contact-editor.ui
blob: a6012090b094f7d1aca2ff7c970a2090b1391a61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.22"/>

  <menu id="edit-contact-menu">
    <item>
      <attribute name="action">edit.add.email-addresses.home</attribute>
      <attribute name="label" translatable="yes">Home email</attribute>
    </item>
    <item>
      <attribute name="action">edit.add.email-addresses.work</attribute>
      <attribute name="label" translatable="yes">Work email</attribute>
    </item>
    <item>
      <attribute name="action">edit.add.phone-numbers.cell</attribute>
      <attribute name="label" translatable="yes">Mobile phone</attribute>
    </item>
    <item>
      <attribute name="action">edit.add.phone-numbers.home</attribute>
      <attribute name="label" translatable="yes">Home phone</attribute>
    </item>
    <item>
      <attribute name="action">edit.add.phone-numbers.work</attribute>
      <attribute name="label" translatable="yes">Work phone</attribute>
    </item>
    <item>
      <attribute name="action">edit.add.urls</attribute>
      <attribute name="label" translatable="yes">Website</attribute>
    </item>
    <item>
      <attribute name="action">edit.add.nickname</attribute>
      <attribute name="label" translatable="yes">Nickname</attribute>
    </item>
    <item>
      <attribute name="action">edit.add.birthday</attribute>
      <attribute name="label" translatable="yes">Birthday</attribute>
    </item>
    <item>
      <attribute name="action">edit.add.postal-addresses.home</attribute>
      <attribute name="label" translatable="yes">Home address</attribute>
    </item>
    <item>
      <attribute name="action">edit.add.postal-addresses.work</attribute>
      <attribute name="label" translatable="yes">Work address</attribute>
    </item>
    <item>
      <attribute name="action">edit.add.notes</attribute>
      <attribute name="label" translatable="yes">Notes</attribute>
    </item>
  </menu>

  <template class="ContactsContactEditor" parent="ContactsContactForm">
    <property name="visible">True</property>
    <property name="orientation">vertical</property>
    <child>
      <object class="GtkActionBar">
        <property name="visible">True</property>
        <child>
          <object class="GtkMenuButton" id="add_detail_button">
            <property name="visible">True</property>
            <property name="menu_model">edit-contact-menu</property>
            <property name="use_popover">True</property>
            <property name="direction">up</property>
            <child>
              <object class="GtkBox">
                <property name="visible">True</property>
                <property name="spacing">6</property>
                <property name="orientation">horizontal</property>
                <child>
                  <object class="GtkLabel">
                    <property name="visible">True</property>
                    <property name="label" translatable="yes">New Detail</property>
                  </object>
                </child>
                <child>
                  <object class="GtkImage">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="pixel_size">16</property>
                    <property name="icon_name">go-down-symbolic</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkButton" id="linked_button">
            <property name="visible">True</property>
            <property name="label" translatable="yes">Linked Accounts</property>
          </object>
        </child>
        <child>
          <object class="GtkButton" id="remove_button">
            <property name="visible">True</property>
            <property name="label" translatable="yes">Remove Contact</property>
            <style>
              <class name="destructive-action"/>
            </style>
          </object>
          <packing>
            <property name="pack_type">end</property>
          </packing>
        </child>
      </object>
    </child>
  </template>
</interface>