encoding-dialog.ui 7.19 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- Generated with glade 3.22.1 -->
3
<interface>
4
  <requires lib="gtk+" version="3.14"/>
5
  <template class="EphyEncodingDialog" parent="GtkDialog">
6
    <property name="title" translatable="yes">Text Encoding</property>
7
    <property name="role">epiphany-encoding-chooser</property>
8
    <property name="modal">True</property>
9
10
    <property name="default_width">500</property>
    <property name="default_height">420</property>
11
    <property name="type_hint">dialog</property>
12
13
14
15
    <signal name="response" handler="ephy_encoding_dialog_response_cb" swapped="no"/>
    <child>
      <placeholder/>
    </child>
16
    <child internal-child="vbox">
17
      <object class="GtkBox">
18
        <property name="orientation">vertical</property>
19
        <property name="spacing">6</property>
20
21
22
23
        <property name="margin-top">6</property>
        <property name="margin-bottom">6</property>
        <property name="margin-start">6</property>
        <property name="margin-end">6</property>
24
25
26
27
        <child internal-child="action_area">
          <object class="GtkButtonBox">
          </object>
        </child>
28
        <child>
29
          <object class="GtkBox">
30
            <property name="visible">True</property>
31
            <property name="spacing">6</property>
32
            <child>
33
              <object class="GtkLabel">
34
                <property name="visible">True</property>
35
                <property name="xalign">0</property>
36
                <property name="margin-start">6</property>
37
38
39
                <property name="hexpand">True</property>
                <property name="label" translatable="yes">Use the encoding specified by the document</property>
                <property name="wrap">True</property>
40
41
42
              </object>
            </child>
            <child>
43
              <object class="GtkSwitch" id="default_switch">
44
                <property name="visible">True</property>
45
46
                <property name="valign">start</property>
                <signal name="state-set" handler="default_switch_toggled_cb" swapped="no"/>
47
48
49
50
51
              </object>
            </child>
          </object>
        </child>
        <child>
Arnaud B.'s avatar
Arnaud B. committed
52
          <object class="GtkStack" id="type_stack">
53
            <property name="visible">True</property>
54
55
56
            <property name="sensitive">False</property>
            <property name="vexpand">True</property>
            <property name="interpolate_size">True</property>
57
            <child>
58
              <object class="GtkBox" id="suggested_box">
Arnaud B.'s avatar
Arnaud B. committed
59
60
                <property name="visible">True</property>
                <property name="orientation">vertical</property>
61
                <property name="spacing">16</property>
Arnaud B.'s avatar
Arnaud B. committed
62
                <child>
63
                  <object class="GtkBox" id="recent_box">
Arnaud B.'s avatar
Arnaud B. committed
64
65
                    <property name="visible">True</property>
                    <property name="orientation">vertical</property>
66
                    <property name="spacing">8</property>
Arnaud B.'s avatar
Arnaud B. committed
67
68
69
                    <child>
                      <object class="GtkLabel">
                        <property name="visible">True</property>
70
                        <property name="xalign">0</property>
71
72
                        <property name="margin_start">8</property>
                        <property name="label" translatable="yes">Recent encodings</property>
73
74
75
                        <attributes>
                          <attribute name="weight" value="bold"/>
                        </attributes>
Arnaud B.'s avatar
Arnaud B. committed
76
77
78
                      </object>
                    </child>
                    <child>
79
                      <object class="GtkFrame">
Arnaud B.'s avatar
Arnaud B. committed
80
                        <property name="visible">True</property>
Arnaud B.'s avatar
Arnaud B. committed
81
                        <property name="vexpand">True</property>
82
83
84
85
86
87
                        <child>
                          <object class="GtkListBox" id="recent_list_box">
                            <property name="visible">True</property>
                            <signal name="row-activated" handler="row_activated_cb" swapped="no"/>
                          </object>
                        </child>
Arnaud B.'s avatar
Arnaud B. committed
88
89
90
91
92
                      </object>
                    </child>
                  </object>
                </child>
                <child>
93
                  <object class="GtkBox" id="related_box">
Arnaud B.'s avatar
Arnaud B. committed
94
95
                    <property name="visible">True</property>
                    <property name="orientation">vertical</property>
96
                    <property name="spacing">8</property>
Arnaud B.'s avatar
Arnaud B. committed
97
98
99
                    <child>
                      <object class="GtkLabel">
                        <property name="visible">True</property>
100
                        <property name="xalign">0</property>
101
102
                        <property name="margin_start">8</property>
                        <property name="label" translatable="yes">Related encodings</property>
103
104
105
                        <attributes>
                          <attribute name="weight" value="bold"/>
                        </attributes>
Arnaud B.'s avatar
Arnaud B. committed
106
107
108
                      </object>
                    </child>
                    <child>
109
                      <object class="GtkFrame">
Arnaud B.'s avatar
Arnaud B. committed
110
                        <property name="visible">True</property>
111
112
113
114
                        <property name="margin-top">6</property>
                        <property name="margin-bottom">6</property>
                        <property name="margin-start">6</property>
                        <property name="margin-end">6</property>
115
116
117
118
119
120
                        <child>
                          <object class="GtkListBox" id="related_list_box">
                            <property name="visible">True</property>
                            <signal name="row-activated" handler="row_activated_cb" swapped="no"/>
                          </object>
                        </child>
Arnaud B.'s avatar
Arnaud B. committed
121
122
123
124
125
126
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkButton">
127
                    <property name="label" translatable="yes">Show all…</property>
Arnaud B.'s avatar
Arnaud B. committed
128
                    <property name="visible">True</property>
129
130
                    <property name="receives_default">False</property>
                    <signal name="clicked" handler="show_all_button_clicked_cb" swapped="no"/>
Arnaud B.'s avatar
Arnaud B. committed
131
132
133
                  </object>
                </child>
              </object>
134
              <packing>
135
                <property name="name">suggested_box</property>
136
              </packing>
Arnaud B.'s avatar
Arnaud B. committed
137
138
139
140
141
            </child>
            <child>
              <object class="GtkScrolledWindow">
                <property name="visible">True</property>
                <property name="hscrollbar_policy">never</property>
142
143
144
                <style>
                  <class name="frame"/>
                </style>
Arnaud B.'s avatar
Arnaud B. committed
145
                <child>
146
                  <object class="GtkListBox" id="list_box">
Arnaud B.'s avatar
Arnaud B. committed
147
                    <property name="visible">True</property>
148
                    <signal name="row-activated" handler="row_activated_cb"/>
Arnaud B.'s avatar
Arnaud B. committed
149
150
151
152
153
                  </object>
                </child>
              </object>
              <packing>
                <property name="name">scrolled-window</property>
154
                <property name="position">1</property>
Arnaud B.'s avatar
Arnaud B. committed
155
              </packing>
156
157
158
159
160
            </child>
          </object>
        </child>
      </object>
    </child>
161
  </template>
162
</interface>