Add mnemonics for 'Configuration' page, 'Topology' page, 'Pinning' page and their sub-pages. Signed-off-by: Chen Hanxiao <chenhanxiao@xxxxxxxxxxxxxx> --- ui/details.ui | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/ui/details.ui b/ui/details.ui index d64dde2..cef1aba 100644 --- a/ui/details.ui +++ b/ui/details.ui @@ -2134,7 +2134,9 @@ if you know what you are doing.</small></property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Model:</property> + <property name="label" translatable="yes">M_odel:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">combobox-entry33</property> </object> <packing> <property name="left_attach">0</property> @@ -2143,13 +2145,14 @@ if you know what you are doing.</small></property> </child> <child> <object class="GtkCheckButton" id="cpu-copy-host"> - <property name="label" translatable="yes">Copy host CPU configuration</property> + <property name="label" translatable="yes">Copy host CP_U configuration</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> <signal name="clicked" handler="on_cpu_copy_host_clicked" swapped="no"/> + <property name="use_underline">True</property> </object> <packing> <property name="left_attach">0</property> @@ -2182,8 +2185,9 @@ if you know what you are doing.</small></property> <object class="GtkLabel" id="label49"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Configuration</b></property> + <property name="label" translatable="yes"><b>Configu_ration</b></property> <property name="use_markup">True</property> + <property name="use_underline">True</property> </object> </child> </object> @@ -2210,7 +2214,7 @@ if you know what you are doing.</small></property> <property name="spacing">4</property> <child> <object class="GtkCheckButton" id="cpu-topology-enable"> - <property name="label" translatable="yes">Manually set CPU topology</property> + <property name="label" translatable="yes">Manuall_y set CPU topology</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -2218,6 +2222,7 @@ if you know what you are doing.</small></property> <property name="active">True</property> <property name="draw_indicator">True</property> <signal name="toggled" handler="on_cpu_topology_enable_toggled" swapped="no"/> + <property name="use_underline">True</property> </object> <packing> <property name="expand">False</property> @@ -2249,7 +2254,9 @@ if you know what you are doing.</small></property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Threads:</property> + <property name="label" translatable="yes">Thread_s:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">cpu-threads</property> </object> <packing> <property name="top_attach">2</property> @@ -2263,7 +2270,9 @@ if you know what you are doing.</small></property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Cores:</property> + <property name="label" translatable="yes">Cor_es:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">cpu-cores</property> </object> <packing> <property name="top_attach">1</property> @@ -2277,7 +2286,9 @@ if you know what you are doing.</small></property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Sockets:</property> + <property name="label" translatable="yes">Socke_ts:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">cpu-sockets</property> </object> <packing> <property name="x_options">GTK_FILL</property> @@ -2400,8 +2411,9 @@ if you know what you are doing.</small></property> <object class="GtkLabel" id="label62"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Topology</b></property> + <property name="label" translatable="yes"><b>To_pology</b></property> <property name="use_markup">True</property> + <property name="use_underline">True</property> </object> </child> </object> @@ -2440,7 +2452,7 @@ if you know what you are doing.</small></property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">Default _pinning:</property> + <property name="label" translatable="yes">Default p_inning:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">config-vcpupin</property> </object> @@ -2584,8 +2596,9 @@ if you know what you are doing.</small></property> <object class="GtkLabel" id="label9"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Pinning</b></property> + <property name="label" translatable="yes"><b>Pinnin_g</b></property> <property name="use_markup">True</property> + <property name="use_underline">True</property> </object> </child> </object> -- 1.9.3 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list