universal-access: Style the Screen Reader dialog switch

This pattern is used all over gnome-control-center in dialogs such
as the Privacy -> Location Services.

https://bugzilla.gnome.org/show_bug.cgi?id=786756
This commit is contained in:
Felipe Borges 2017-08-24 15:13:41 +02:00 committed by Georges Basile Stavracas Neto
parent 911e7d4e4f
commit 13d08b4687

View file

@ -1111,14 +1111,12 @@
<object class="GtkBox" id="dialog-vbox2">
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<property name="spacing">12</property>
<property name="margin">12</property>
<child>
<object class="GtkLabel" id="screen_reader_blurb">
<property name="visible">True</property>
<property name="can_focus">False</property>
<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="max_width_chars">45</property>
<property name="label" translatable="yes">The screen reader reads displayed text as you move the focus.</property>
@ -1130,6 +1128,14 @@
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<style>
<class name="frame"/>
<class name="view"/>
</style>
<child>
<object class="GtkGrid" id="grid3">
<property name="visible">True</property>
@ -1180,6 +1186,8 @@
</object>
</child>
</object>
</child>
</object>
<object class="GtkDialog" id="sound_keys_dialog">
<property name="can_focus">False</property>
<property name="border_width">5</property>