summaryrefslogtreecommitdiffstats
path: root/panels/user-accounts/cc-avatar-chooser.ui
blob: 45bcbabfc3f7a77c0e28c59910fe36423e79e446 (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
<?xml version="1.0"?>
<interface>
  <!-- interface-requires gtk+ 3.8 -->
  <template class="CcAvatarChooser" parent="GtkPopover">
    <child>
      <object class="GtkBox">
        <property name="visible">True</property>
        <property name="orientation">GTK_ORIENTATION_VERTICAL</property>
        <property name="border-width">10</property>
        <child>
          <object class="GtkFlowBox" id="user_flowbox">
            <property name="visible">True</property>
            <property name="border-width">10</property>
            <property name="selection-mode">none</property>
            <property name="homogeneous">True</property>
            <property name="max-children-per-line">5</property>
            <property name="column-spacing">10</property>
          </object>
        </child>
        <child>
          <object class="GtkFlowBox" id="flowbox">
            <property name="visible">True</property>
            <property name="border-width">10</property>
            <property name="selection-mode">none</property>
            <property name="homogeneous">True</property>
            <property name="max-children-per-line">5</property>
            <property name="column-spacing">10</property>
          </object>
        </child>
        <child>
          <object class="GtkBox">
            <property name="visible">True</property>
            <property name="halign">GTK_ALIGN_CENTER</property>
            <property name="border-width">10</property>
            <property name="spacing">10</property>
            <child>
              <object class="GtkButton" id="take_picture_button">
                <property name="visible">True</property>
                <property name="label" translatable="yes">Take a Picture…</property>
                <signal name="clicked" handler="webcam_icon_selected" swapped="yes"/>
              </object>
            </child>
            <child>
              <object class="GtkButton">
                <property name="visible">True</property>
                <property name="label" translatable="yes">Select a File…</property>
                <signal name="clicked" handler="cc_avatar_chooser_select_file" swapped="yes"/>
              </object>
            </child>
          </object>
          <packing>
            <property name="pack-type">GTK_PACK_END</property>
          </packing>
        </child>
      </object>
    </child>
  </template>
</interface>