diff options
author | Colomban Wendling <[email protected]> | 2019-01-31 18:46:47 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-03-31 11:37:46 +0200 |
commit | 94759b354850fabd29028f2f6b3b6077534eaaae (patch) | |
tree | 73ede0530a6a0931e5db7d6c082eb62b6f7c4564 /capplets | |
parent | 33fb2a4676fdf4c1859642f67255a591e611ae8d (diff) | |
download | mate-control-center-94759b354850fabd29028f2f6b3b6077534eaaae.tar.bz2 mate-control-center-94759b354850fabd29028f2f6b3b6077534eaaae.tar.xz |
default-applications: Improve UI accessibility
Replace plain labels with frames as those properly group and label
their contents for assistive technologies.
There are no visual changes.
Diffstat (limited to 'capplets')
-rw-r--r-- | capplets/default-applications/mate-default-applications-properties.ui | 592 |
1 files changed, 231 insertions, 361 deletions
diff --git a/capplets/default-applications/mate-default-applications-properties.ui b/capplets/default-applications/mate-default-applications-properties.ui index 819ba9fa..2c4d4115 100644 --- a/capplets/default-applications/mate-default-applications-properties.ui +++ b/capplets/default-applications/mate-default-applications-properties.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.20.0 --> +<!-- Generated with glade 3.22.1 --> <interface> <requires lib="gtk+" version="3.14"/> <!-- interface-license-type gplv2 --> @@ -13,6 +13,9 @@ <property name="title" translatable="yes">Preferred Applications</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> + <child> + <placeholder/> + </child> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox"> <property name="visible">True</property> @@ -74,31 +77,16 @@ <property name="orientation">vertical</property> <property name="spacing">18</property> <child> - <object class="GtkBox" id="web_browser_vbox"> + <object class="GtkFrame"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="web_browser_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label" translatable="yes">Web Browser</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> <child> <object class="GtkBox" id="web_browser_hbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="margin_top">6</property> <property name="spacing">12</property> <child> <object class="GtkImage" id="web_browser_image"> @@ -137,11 +125,17 @@ </packing> </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> + </child> + <child type="label"> + <object class="GtkLabel" id="web_browser_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Web Browser</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> </child> </object> <packing> @@ -151,31 +145,16 @@ </packing> </child> <child> - <object class="GtkBox" id="mail_reader_vbox"> + <object class="GtkFrame"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="mail_reader_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label" translatable="yes">Mail Reader</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> <child> <object class="GtkBox" id="mail_reader_hbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="margin_top">6</property> <property name="spacing">12</property> <child> <object class="GtkImage" id="mail_reader_image"> @@ -214,11 +193,17 @@ </packing> </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> + </child> + <child type="label"> + <object class="GtkLabel" id="mail_reader_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Mail Reader</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> </child> </object> <packing> @@ -228,30 +213,16 @@ </packing> </child> <child> - <object class="GtkBox" id="messenger_vbox"> + <object class="GtkFrame"> + <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="messenger_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label" translatable="yes">Instant Messenger</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> <child> <object class="GtkBox" id="messenger_hbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="margin_top">6</property> <property name="spacing">12</property> <child> <object class="GtkImage" id="messenger_image"> @@ -346,11 +317,17 @@ </packing> </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> + </child> + <child type="label"> + <object class="GtkLabel" id="messenger_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Instant Messenger</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> </child> </object> <packing> @@ -379,31 +356,16 @@ <property name="orientation">vertical</property> <property name="spacing">18</property> <child> - <object class="GtkBox" id="image_vbox"> + <object class="GtkFrame"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="image_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label" translatable="yes">Image Viewer</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> <child> <object class="GtkBox" id="image_hbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="margin_top">6</property> <property name="spacing">12</property> <child> <object class="GtkImage" id="imageviewer_image"> @@ -442,11 +404,17 @@ </packing> </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> + </child> + <child type="label"> + <object class="GtkLabel" id="image_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Image Viewer</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> </child> </object> <packing> @@ -456,31 +424,16 @@ </packing> </child> <child> - <object class="GtkBox" id="media_player_vbox"> + <object class="GtkFrame"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="media_player_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label" translatable="yes">Multimedia Player</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> <child> <object class="GtkBox" id="media_player_hbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="margin_top">6</property> <property name="spacing">12</property> <child> <object class="GtkImage" id="media_player_image"> @@ -519,11 +472,17 @@ </packing> </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> + </child> + <child type="label"> + <object class="GtkLabel" id="media_player_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Multimedia Player</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> </child> </object> <packing> @@ -533,31 +492,16 @@ </packing> </child> <child> - <object class="GtkBox" id="video_vbox"> + <object class="GtkFrame"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="video_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label" translatable="yes">Video Player</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> <child> <object class="GtkBox" id="video_hbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="margin_top">6</property> <property name="spacing">12</property> <child> <object class="GtkImage" id="video_image"> @@ -596,11 +540,17 @@ </packing> </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> + </child> + <child type="label"> + <object class="GtkLabel" id="video_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Video Player</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> </child> </object> <packing> @@ -633,31 +583,16 @@ <property name="orientation">vertical</property> <property name="spacing">18</property> <child> - <object class="GtkBox" id="text_vbox"> + <object class="GtkFrame"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="text_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label" translatable="yes">Text Editor</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> <child> <object class="GtkBox" id="text_hbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="margin_top">6</property> <property name="spacing">12</property> <child> <object class="GtkImage" id="text_image"> @@ -696,11 +631,17 @@ </packing> </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> + </child> + <child type="label"> + <object class="GtkLabel" id="text_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Text Editor</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> </child> </object> <packing> @@ -710,31 +651,16 @@ </packing> </child> <child> - <object class="GtkBox" id="terminal_vbox"> + <object class="GtkFrame"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="terminal_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label" translatable="yes">Terminal Emulator</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> <child> <object class="GtkBox" id="terminal_hbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="margin_top">6</property> <property name="spacing">12</property> <child> <object class="GtkImage" id="terminal_image"> @@ -773,11 +699,17 @@ </packing> </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> + </child> + <child type="label"> + <object class="GtkLabel" id="terminal_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Terminal Emulator</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> </child> </object> <packing> @@ -787,31 +719,16 @@ </packing> </child> <child> - <object class="GtkBox" id="filemanager_vbox"> + <object class="GtkFrame"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="filemanager_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label" translatable="yes">File Manager</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> <child> <object class="GtkBox" id="filemanager_hbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="margin_top">6</property> <property name="spacing">12</property> <child> <object class="GtkImage" id="filemanager_image"> @@ -850,11 +767,17 @@ </packing> </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> + </child> + <child type="label"> + <object class="GtkLabel" id="filemanager_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">File Manager</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> </child> </object> <packing> @@ -864,31 +787,16 @@ </packing> </child> <child> - <object class="GtkBox" id="calculator_vbox"> + <object class="GtkFrame"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="calculator_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label" translatable="yes">Calculator</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> <child> <object class="GtkBox" id="calculator_hbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="margin_top">6</property> <property name="spacing">12</property> <child> <object class="GtkImage" id="calculator_image"> @@ -927,11 +835,17 @@ </packing> </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> + </child> + <child type="label"> + <object class="GtkLabel" id="calculator_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Calculator</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> </child> </object> <packing> @@ -964,31 +878,16 @@ <property name="orientation">vertical</property> <property name="spacing">18</property> <child> - <object class="GtkBox" id="document_vbox"> + <object class="GtkFrame"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="document_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label" translatable="yes">Document Viewer</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> <child> <object class="GtkBox" id="document_hbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="margin_top">6</property> <property name="spacing">12</property> <child> <object class="GtkImage" id="document_image"> @@ -1027,11 +926,17 @@ </packing> </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> + </child> + <child type="label"> + <object class="GtkLabel" id="document_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Document Viewer</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> </child> </object> <packing> @@ -1041,31 +946,17 @@ </packing> </child> <child> - <object class="GtkBox" id="word_vbox"> + <object class="GtkFrame"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="word_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label" translatable="yes">Word Processor</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> + <property name="margin_top">6</property> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> <child> <object class="GtkBox" id="word_hbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="margin_top">6</property> <property name="spacing">12</property> <child> <object class="GtkImage" id="word_image"> @@ -1104,11 +995,17 @@ </packing> </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> + </child> + <child type="label"> + <object class="GtkLabel" id="word_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Word Processor</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> </child> </object> <packing> @@ -1118,31 +1015,16 @@ </packing> </child> <child> - <object class="GtkBox" id="spreadsheet_vbox"> + <object class="GtkFrame"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="spreadsheet_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label" translatable="yes">Spreadsheet Editor</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> <child> <object class="GtkBox" id="spreadsheet_hbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="margin_top">6</property> <property name="spacing">12</property> <child> <object class="GtkImage" id="spreadsheet_image"> @@ -1181,11 +1063,17 @@ </packing> </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> + </child> + <child type="label"> + <object class="GtkLabel" id="spreadsheet_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Spreadsheet Editor</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> </child> </object> <packing> @@ -1218,31 +1106,16 @@ <property name="orientation">vertical</property> <property name="spacing">18</property> <child> - <object class="GtkBox" id="visual_vbox"> + <object class="GtkFrame"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="visual_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label" translatable="yes">Visual</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> <child> <object class="GtkBox" id="visual_hbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="margin_top">6</property> <property name="spacing">12</property> <child> <object class="GtkImage" id="visual_image"> @@ -1297,11 +1170,17 @@ </packing> </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> + </child> + <child type="label"> + <object class="GtkLabel" id="visual_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Visual</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> </child> </object> <packing> @@ -1311,31 +1190,16 @@ </packing> </child> <child> - <object class="GtkBox" id="mobility_vbox"> + <object class="GtkFrame"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="mobility_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label" translatable="yes">Mobility</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> <child> <object class="GtkBox" id="mobility_hbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="margin_top">6</property> <property name="spacing">12</property> <child> <object class="GtkImage" id="mobility_image"> @@ -1390,11 +1254,17 @@ </packing> </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> + </child> + <child type="label"> + <object class="GtkLabel" id="mobility_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Mobility</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> </child> </object> <packing> |