This was quite a huge port, but fortunately it mostly involved removing tons of deprecated widgets (without replacement; just drop them) and adjusting packing properties.
61 lines
2.5 KiB
XML
61 lines
2.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<template class="CcScreenReaderDialog" parent="GtkDialog">
|
|
<property name="title" translatable="yes">Screen Reader</property>
|
|
<property name="resizable">False</property>
|
|
<property name="modal">True</property>
|
|
<property name="use_header_bar">1</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">12</property>
|
|
<property name="margin_start">12</property>
|
|
<property name="margin_end">12</property>
|
|
<property name="margin_top">12</property>
|
|
<property name="margin_bottom">12</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="xalign">0</property>
|
|
<property name="max_width_chars">45</property>
|
|
<property name="label" translatable="yes">The screen reader reads displayed text as you move the focus.</property>
|
|
<property name="wrap">True</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<style>
|
|
<class name="frame"/>
|
|
<class name="view"/>
|
|
</style>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<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="spacing">12</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="hexpand">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="label" translatable="yes">_Screen Reader</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">enable_switch</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSwitch" id="enable_switch">
|
|
<property name="halign">end</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|