File: pathwidget.ui

package info (click to toggle)
dconf-editor 49.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,904 kB
  • sloc: xml: 446; sh: 21; makefile: 4
file content (117 lines) | stat: -rw-r--r-- 5,376 bytes parent folder | download | duplicates (4)
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
  This file is part of Dconf Editor

  Dconf Editor is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  Dconf Editor is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with Dconf Editor.  If not, see <https://www.gnu.org/licenses/>.
-->
<interface>
  <requires lib="gtk+" version="3.12"/>
  <template class="PathWidget" parent="GtkBox">
    <property name="valign">fill</property>
    <property name="spacing">6</property>
    <child>
      <object class="GtkStack" id="pathwidget_stack">
        <property name="visible">True</property>
        <property name="valign">fill</property>
        <property name="visible-child">pathbar_grid</property> <!-- uses the "id" attribute -->
        <property name="transition-duration">300</property>
        <property name="transition-type">crossfade</property>
        <child>
          <object class="PathEntry" id="searchentry">
            <property name="visible">True</property>
          </object>
        </child>
        <child>
          <object class="GtkGrid" id="pathbar_grid">
            <property name="visible">True</property>
            <child>
              <object class="AdaptativePathbar" id="pathbar">
                <property name="visible">True</property>
                <property name="valign">fill</property>
              </object>
            </child>
            <child>
              <object class="GtkRevealer" id="parent_revealer">
                <property name="visible">True</property>
                <property name="reveal-child">False</property>
                <property name="transition-type">slide-left</property>
                <style>
                  <class name="headerbar-revealer"/>
                </style>
                <child>
                  <object class="GtkModelButton" id="parent_button">
                    <property name="visible">True</property>
                    <property name="valign">center</property>
                    <property name="iconic">True</property>
                    <property name="centered">True</property>
                    <property name="action-name">browser.disabled-state-s</property>
                    <property name="action-target">''</property>
                    <style>
                      <class name="image-button"/>
                    </style>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkModelButton" id="search_button">
                <property name="visible">False</property>
                <property name="halign">end</property>
                <property name="hexpand">False</property>
                <property name="valign">center</property>
                <property name="focus-on-click">False</property>
                <property name="iconic">True</property>
                <property name="centered">True</property>
                <property name="action-name">browser.show-search</property>
                <style>
                  <class name="image-button"/>
                </style>
                <child internal-child="accessible">
                  <object class="AtkObject">
                    <!-- Translators: accessible name of the enter-search button displayed in small-size windows -->
                    <property name="AtkObject::accessible-name" translatable="yes">Search</property>
                    <!-- Translators: accessible description of the enter-search button displayed in small-size windows -->
                    <property name="AtkObject::accessible-description" translatable="yes">Search keys</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkModelButton" id="search_toggle">
        <property name="visible">True</property>
        <property name="valign">center</property>
        <property name="focus-on-click">False</property>
        <property name="iconic">True</property>
        <property name="centered">True</property>
        <property name="action-name">browser.toggle-search</property>
        <property name="action-target">true</property>
        <style>
          <class name="image-button"/>
        </style>
        <child internal-child="accessible">
          <object class="AtkObject">
            <!-- Translators: accessible name of the search togglebutton displayed in usual-size windows -->
            <property name="AtkObject::accessible-name" translatable="yes">Search</property>
            <!-- Translators: accessible description of the search togglebutton displayed in usual-size windows -->
            <property name="AtkObject::accessible-description" translatable="yes">Search keys</property>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>