summaryrefslogtreecommitdiffstats
path: root/panels/background/cc-background-chooser.ui
blob: aa7da281a466ceddd178831ccfcae13da136d5ce (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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="CcBackgroundChooser" parent="GtkBox">
    <property name="visible">True</property>
    <property name="can_focus">False</property>
    <property name="orientation">vertical</property>

    <child>
      <object class="GtkSeparator">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
      </object>
    </child>

    <child>
      <object class="GtkScrolledWindow">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="expand">True</property>
        <property name="shadow-type">none</property>
        <property name="hscrollbar-policy">never</property>
        <property name="vscrollbar-policy">automatic</property>
        <child>
          <object class="GtkBox">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="orientation">vertical</property>
            <property name="expand">True</property>
            <style>
              <class name="view" />
            </style>

            <!-- Recent -->
            <child>
              <object class="GtkBox" id="recent_box">
                <property name="visible">True</property>
                <property name="can-focus">True</property>
                <property name="orientation">vertical</property>
                <property name="halign">center</property>

                <child>
                  <object class="GtkFlowBox" id="recent_flowbox">
                    <property name="visible">True</property>
                    <property name="margin">12</property>
                    <property name="column-spacing">12</property>
                    <property name="row-spacing">12</property>
                    <property name="homogeneous">True</property>
                    <property name="halign">center</property>
                    <property name="min-children-per-line">1</property>
                    <property name="max-children-per-line">8</property>
                    <property name="activate-on-single-click">True</property>
                    <property name="selection-mode">single</property>
                    <signal name="child-activated" handler="on_item_activated_cb" object="CcBackgroundChooser" swapped="no" />
                  </object>
                </child>

                <child>
                  <object class="GtkSeparator">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="margin-top">12</property>
                    <property name="margin-bottom">12</property>
                  </object>
                </child>

              </object>
            </child>

            <child>
              <object class="GtkFlowBox" id="flowbox">
                <property name="visible">True</property>
                <property name="margin">12</property>
                <property name="column-spacing">12</property>
                <property name="row-spacing">12</property>
                <property name="homogeneous">True</property>
                <property name="halign">center</property>
                <property name="min-children-per-line">1</property>
                <property name="max-children-per-line">8</property>
                <property name="activate-on-single-click">True</property>
                <property name="selection-mode">single</property>
                <signal name="child-activated" handler="on_item_activated_cb" object="CcBackgroundChooser" swapped="no" />
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>

  </template>
</interface>