summaryrefslogtreecommitdiff
path: root/src/resources/ui/nautilus-name-cell.ui
blob: ddfe398d44c7ebdda82cbbf29a1a563ec771fb9e (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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <template class="NautilusNameCell" parent="NautilusViewCell">
    <accessibility>
      <relation name="labelled-by">label</relation>
    </accessibility>
    <child>
      <object class="GtkBox">
        <child>
          <object class="GtkTreeExpander" id="expander">
            <property name="indent-for-icon">False</property>
          </object>
        </child>
        <child>
          <object class="GtkBox" id="content">
            <property name="spacing">6</property>
            <property name="orientation">horizontal</property>
            <property name="halign">fill</property>
            <property name="valign">center</property>
            <child>
              <object class="GtkSpinner" id="spinner">
                <property name="visible">False</property>
                <property name="spinning">False</property>
                <property name="halign">center</property>
                <property name="valign">center</property>
              </object>
            </child>
            <child>
              <object class="GtkBox" id="fixed_height_box">
                <property name="orientation">vertical</property>
                <property name="halign">center</property>
                <property name="height-request">16</property>
                <property name="valign">center</property>
                <child>
                  <object class="GtkPicture" id="icon">
                    <property name="halign">center</property>
                    <property name="valign">center</property>
                    <property name="can-shrink">False</property>
                    <property name="content-fit">cover</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <property name="halign">fill</property>
                <property name="hexpand">True</property>
                <property name="valign">center</property>
                <style>
                  <class name="column-name-labels-box"/>
                </style>
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="halign">fill</property>
                    <property name="hexpand">True</property>
                    <property name="spacing">6</property>
                    <child>
                      <object class="GtkLabel" id="label">
                        <property name="ellipsize">middle</property>
                        <property name="lines">1</property>
                        <property name="max-width-chars">-1</property>
                        <property name="wrap">False</property>
                        <property name="wrap-mode">word-char</property>
                        <property name="halign">start</property>
                        <attributes>
                          <attribute name="insert-hyphens" value="false"></attribute>
                        </attributes>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox" id="emblems_box">
                        <property name="orientation">horizontal</property>
                        <property name="halign">start</property>
                        <property name="spacing">6</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel" id="path">
                    <property name="visible">False</property>
                    <property name="ellipsize">start</property>
                    <property name="justify">left</property>
                    <property name="halign">fill</property>
                    <property name="xalign">0.0</property>
                    <attributes>
                      <attribute name="insert-hyphens" value="false"></attribute>
                    </attributes>
                    <style>
                      <class name="caption"/>
                      <class name="dim-label"/>
                    </style>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkMenuButton" id="snippet_button">
                <property name="tooltip-text" translatable="yes">Full text match</property>
                <property name="visible">False</property>
                <property name="icon-name">quotation-symbolic</property>
                <property name="valign">center</property>
                <style>
                  <class name="fts-snippet"/>
                </style>
                <property name="popover">
                  <object class="GtkPopover">
                    <child>
                      <object class="GtkLabel" id="snippet">
                        <property name="ellipsize">none</property>
                        <property name="justify">left</property>
                        <property name="max-width-chars">65</property>
                        <property name="lines">10</property>
                        <property name="wrap">True</property>
                        <property name="wrap-mode">word</property>
                      </object>
                    </child>
                  </object>
                </property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>