summaryrefslogtreecommitdiff
path: root/src/resources/ui/nautilus-column-chooser.ui
blob: 1f95ef65a3dae7a63765aa0ba31439dcbb045db5 (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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <template class="NautilusColumnChooser" parent="AdwWindow">
    <property name="modal">True</property>
    <property name="default-width">360</property>
    <property name="default-height">480</property>
    <property name="destroy-with-parent">True</property>
    <property name="content">
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkHeaderBar">
            <child type="title">
              <object class="AdwWindowTitle" id="window_title">
                <property name="title" translatable="true">Visible Columns</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkBox">
            <property name="orientation">vertical</property>
            <child>
              <object class="AdwBanner" id="banner">
                <property name="title" translatable="yes">This folder uses custom settings</property>
                <property name="button-label">_Revert</property>
                <signal name="button-clicked" handler="use_default_clicked_callback"/>
              </object>
            </child>
            <child>
              <object class="GtkScrolledWindow">
                <property name="child">
                  <object class="GtkListBox" id="list_box">
                    <property name="margin-bottom">12</property>
                    <property name="margin-end">12</property>
                    <property name="margin-start">12</property>
                    <property name="margin-top">12</property>
                    <property name="vexpand">True</property>
                    <property name="selection-mode">none</property>
                    <style>
                      <class name="boxed-list"/>
                    </style>
                  </object>
                </property>
              </object>
            </child>
            <child>
              <object class="GtkSeparator"/>
            </child>
            <child>
              <object class="GtkListBox" id="use_custom_box">
                <child>
                  <object class="AdwActionRow">
                    <property name="hexpand">true</property>
                    <property name="selectable">false</property>
                    <property name="activatable_widget">use_custom_switch</property>
                    <property name="title" translatable="yes">Only Apply to Current Folder</property>
                    <child>
                      <object class="GtkSwitch" id="use_custom_switch">
                        <property name="valign">center</property>
                      </object>
                    </child>
                  </object>
                </child>
                <style>
                  <class name="background"/>
                </style>
              </object>
            </child>
          </object>
        </child>
      </object>
    </property>
  </template>
</interface>