summaryrefslogtreecommitdiffstats
path: root/panels/universal-access/cc-visual-alerts-dialog.ui
blob: a162190c19dc8406e438147d335ac38500269eee (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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.0 -->
  <template class="CcVisualAlertsDialog" parent="GtkDialog">
    <property name="title" translatable="yes">Visual Alerts</property>
    <property name="resizable">False</property>
    <property name="modal">True</property>
    <property name="use_header_bar">1</property>
    <child internal-child="headerbar">
      <object class="GtkHeaderBar">
        <property name="show_title_buttons">True</property>
        <child>
          <object class="GtkButton" id="test_button">
            <property name="label" translatable="yes">_Test flash</property>
            <property name="use_underline">True</property>
            <property name="valign">center</property>
            <style>
              <class name="text-button"/>
            </style>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkBox">
        <property name="margin_start">12</property>
        <property name="margin_end">12</property>
        <property name="margin_top">12</property>
        <property name="margin_bottom">12</property>
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
        <child>
          <object class="GtkLabel">
            <property name="margin_start">12</property>
            <property name="margin_end">6</property>
            <property name="margin_top">6</property>
            <property name="xalign">0</property>
            <property name="label" translatable="yes">Use a visual indication when an alert sound occurs.</property>
            <property name="wrap">True</property>
          </object>
        </child>
        <child>
          <object class="GtkGrid">
            <property name="margin_start">12</property>
            <property name="margin_end">6</property>
            <property name="margin_top">12</property>
            <property name="margin_bottom">12</property>
            <property name="row_spacing">12</property>
            <property name="column_spacing">6</property>
            <child>
              <object class="GtkLabel">
                <property name="hexpand">True</property>
                <property name="xalign">0</property>
                <property name="label" translatable="yes">_Visual Alerts</property>
                <property name="use_underline">True</property>
                <property name="mnemonic_widget">enable_switch</property>
                <layout>
                  <property name="column">0</property>
                  <property name="row">0</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkSwitch" id="enable_switch">
                <property name="halign">end</property>
                <layout>
                  <property name="column">1</property>
                  <property name="row">0</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkCheckButton" id="screen_radio">
                <property name="label" translatable="yes">Flash the entire _screen</property>
                <property name="group">window_radio</property>
                <property name="use_underline">True</property>
                <layout>
                  <property name="column">0</property>
                  <property name="row">2</property>
                  <property name="column-span">2</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkCheckButton" id="window_radio">
                <property name="label" translatable="yes">Flash the entire _window</property>
                <property name="active">True</property>
                <property name="use_underline">True</property>
                <layout>
                  <property name="column">0</property>
                  <property name="row">1</property>
                  <property name="column-span">2</property>
                </layout>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>