[virt-tools-list] [virt-manager PATCH] virtManager: Add missing shortcut keys

Giuseppe Scrivano gscrivan at redhat.com
Fri Dec 12 10:35:46 UTC 2014


Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1172108

Signed-off-by: Giuseppe Scrivano <gscrivan at redhat.com>
---
 ui/addhardware.ui | 43 ++++++++++++++++++++++++++++++-------------
 ui/addstorage.ui  |  1 +
 ui/details.ui     | 43 ++++++++++++++++++++++++++++---------------
 ui/gfxdetails.ui  |  6 ++++--
 ui/netlist.ui     | 35 ++++++++++++++---------------------
 5 files changed, 77 insertions(+), 51 deletions(-)

diff --git a/ui/addhardware.ui b/ui/addhardware.ui
index 883a098..dfa94ca 100644
--- a/ui/addhardware.ui
+++ b/ui/addhardware.ui
@@ -156,6 +156,7 @@
                                     <property name="xalign">0</property>
                                     <property name="label" translatable="yes">_Device type:</property>
                                     <property name="use_underline">True</property>
+                                    <property name="mnemonic_widget">config-storage-devtype</property>
                                   </object>
                                   <packing>
                                     <property name="left_attach">0</property>
@@ -227,8 +228,9 @@
                                         <property name="visible">True</property>
                                         <property name="can_focus">False</property>
                                         <property name="xalign">0</property>
-                                        <property name="label" translatable="yes">S_torage format:</property>
+                                        <property name="label" translatable="yes">Stor_age format:</property>
                                         <property name="use_underline">True</property>
+                                        <property name="mnemonic_widget">storage-format-combobox-entry</property>
                                       </object>
                                       <packing>
                                         <property name="left_attach">0</property>
@@ -255,7 +257,7 @@
                                         <property name="can_focus">False</property>
                                         <property name="has_entry">True</property>
                                         <child internal-child="entry">
-                                          <object class="GtkEntry" id="combobox-entry2">
+                                          <object class="GtkEntry" id="storage-format-combobox-entry">
                                             <property name="can_focus">False</property>
                                           </object>
                                         </child>
@@ -323,6 +325,7 @@
                                 <property name="xalign">0</property>
                                 <property name="label" translatable="yes">_Type:</property>
                                 <property name="use_underline">True</property>
+                                <property name="mnemonic_widget">controller-type</property>
                               </object>
                               <packing>
                                 <property name="left_attach">0</property>
@@ -336,6 +339,7 @@
                                 <property name="xalign">0</property>
                                 <property name="label" translatable="yes">_Model:</property>
                                 <property name="use_underline">True</property>
+                                <property name="mnemonic_widget">controller-model</property>
                               </object>
                               <packing>
                                 <property name="left_attach">0</property>
@@ -574,6 +578,7 @@
                                 <property name="xalign">1</property>
                                 <property name="label" translatable="yes">_Type:</property>
                                 <property name="use_underline">True</property>
+                                <property name="mnemonic_widget">input-type</property>
                               </object>
                               <packing>
                                 <property name="x_options">GTK_FILL</property>
@@ -927,7 +932,7 @@
                                 <property name="xalign">0</property>
                                 <property name="label" translatable="yes">_Bind Host:</property>
                                 <property name="use_underline">True</property>
-                                <property name="mnemonic_widget">char-bind-host</property>
+                                <property name="mnemonic_widget">char-mode</property>
                               </object>
                               <packing>
                                 <property name="left_attach">0</property>
@@ -1006,6 +1011,7 @@
                                 <property name="xalign">0</property>
                                 <property name="label" translatable="yes">_Name:</property>
                                 <property name="use_underline">True</property>
+                                <property name="mnemonic_widget">combobox-entry</property>
                               </object>
                               <packing>
                                 <property name="left_attach">0</property>
@@ -1065,6 +1071,7 @@
                                 <property name="xalign">0</property>
                                 <property name="label" translatable="yes">_Channel:</property>
                                 <property name="use_underline">True</property>
+                                <property name="mnemonic_widget">char-channel</property>
                               </object>
                               <packing>
                                 <property name="left_attach">0</property>
@@ -1433,7 +1440,9 @@
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Device Path:</property>
+                                <property name="label" translatable="yes">Device _Path:</property>
+                                <property name="use_underline">True</property>
+                                <property name="mnemonic_widget">tpm-device-path</property>
                               </object>
                               <packing>
                                 <property name="left_attach">0</property>
@@ -1494,7 +1503,7 @@
                                 <property name="xalign">0</property>
                                 <property name="label" translatable="yes">_Type:</property>
                                 <property name="use_underline">True</property>
-                                <property name="mnemonic_widget">tpm-type</property>
+                                <property name="mnemonic_widget">rng-type</property>
                               </object>
                               <packing>
                                 <property name="left_attach">0</property>
@@ -1517,7 +1526,9 @@
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Backend Type:</property>
+                                <property name="label" translatable="yes">_Backend Type:</property>
+                                <property name="use_underline">True</property>
+                                <property name="mnemonic_widget">rng-backend-type</property>
                               </object>
                               <packing>
                                 <property name="left_attach">0</property>
@@ -1540,7 +1551,9 @@
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Backend Mode:</property>
+                                <property name="label" translatable="yes">Backend _Mode:</property>
+                                <property name="use_underline">True</property>
+                                <property name="mnemonic_widget">rng-backend-mode</property>
                               </object>
                               <packing>
                                 <property name="left_attach">0</property>
@@ -1563,8 +1576,9 @@
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Host:</property>
+                                <property name="label" translatable="yes">_Host:</property>
                                 <property name="use_underline">True</property>
+                                <property name="mnemonic_widget">rng-connect-host</property>
                               </object>
                               <packing>
                                 <property name="left_attach">0</property>
@@ -1595,7 +1609,7 @@
                                     <property name="xalign">0</property>
                                     <property name="label" translatable="yes">_Port:</property>
                                     <property name="use_underline">True</property>
-                                    <property name="mnemonic_widget">char-port</property>
+                                    <property name="mnemonic_widget">rng-connect-service</property>
                                   </object>
                                   <packing>
                                     <property name="expand">False</property>
@@ -1627,8 +1641,9 @@
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Bind Host:</property>
+                                <property name="label" translatable="yes">B_ind Host:</property>
                                 <property name="use_underline">True</property>
+                                <property name="mnemonic_widget">rng-bind-host</property>
                               </object>
                               <packing>
                                 <property name="left_attach">0</property>
@@ -1657,9 +1672,9 @@
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="xalign">0</property>
-                                    <property name="label" translatable="yes">_Port:</property>
+                                    <property name="label" translatable="yes">P_ort:</property>
                                     <property name="use_underline">True</property>
-                                    <property name="mnemonic_widget">char-port</property>
+                                    <property name="mnemonic_widget">rng-bind-service</property>
                                   </object>
                                   <packing>
                                     <property name="expand">False</property>
@@ -1691,7 +1706,9 @@
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Device:</property>
+                                <property name="label" translatable="yes">_Device:</property>
+                                <property name="use_underline">True</property>
+                                <property name="mnemonic_widget">rng-device</property>
                               </object>
                               <packing>
                                 <property name="left_attach">0</property>
diff --git a/ui/addstorage.ui b/ui/addstorage.ui
index 9df2878..93e43e5 100644
--- a/ui/addstorage.ui
+++ b/ui/addstorage.ui
@@ -79,6 +79,7 @@
                         <property name="can_focus">False</property>
                         <property name="label" translatable="yes">_GiB</property>
                         <property name="use_underline">True</property>
+                        <property name="mnemonic_widget">config-storage-size</property>
                       </object>
                       <packing>
                         <property name="expand">False</property>
diff --git a/ui/details.ui b/ui/details.ui
index e86549c..e8e6933 100644
--- a/ui/details.ui
+++ b/ui/details.ui
@@ -752,7 +752,9 @@
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
                                             <property name="xalign">0</property>
-                                            <property name="label" translatable="yes">Title:</property>
+                                            <property name="label" translatable="yes">T_itle:</property>
+                                            <property name="use_underline">True</property>
+                                            <property name="mnemonic_widget">overview-title</property>
                                           </object>
                                           <packing>
                                             <property name="left_attach">0</property>
@@ -812,7 +814,9 @@
                                             <property name="can_focus">False</property>
                                             <property name="xalign">0</property>
                                             <property name="yalign">0</property>
-                                            <property name="label" translatable="yes">Description:</property>
+                                            <property name="label" translatable="yes">_Description:</property>
+                                            <property name="use_underline">True</property>
+                                            <property name="mnemonic_widget">overview-description</property>
                                           </object>
                                           <packing>
                                             <property name="left_attach">0</property>
@@ -2149,10 +2153,10 @@ if you know what you are doing.</small></property>
                                             <property name="visible">True</property>
                                             <property name="can_focus">True</property>
                                             <property name="receives_default">False</property>
+                                            <property name="use_underline">True</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>
@@ -2218,11 +2222,11 @@ if you know what you are doing.</small></property>
                                             <property name="visible">True</property>
                                             <property name="can_focus">True</property>
                                             <property name="receives_default">False</property>
+                                            <property name="use_underline">True</property>
                                             <property name="xalign">0.5</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>
@@ -3690,6 +3694,7 @@ if you know what you are doing.</small></property>
                                                         <property name="ypad">4</property>
                                                         <property name="label" translatable="yes">Storage forma_t:</property>
                                                         <property name="use_underline">True</property>
+                                                        <property name="mnemonic_widget">storage-format-combobox-entry</property>
                                                       </object>
                                                       <packing>
                                                         <property name="left_attach">0</property>
@@ -3703,6 +3708,7 @@ if you know what you are doing.</small></property>
                                                         <property name="xalign">1</property>
                                                         <property name="label" translatable="yes">Disk b_us:</property>
                                                         <property name="use_underline">True</property>
+                                                        <property name="mnemonic_widget">disk-bus-combobox-entry</property>
                                                       </object>
                                                       <packing>
                                                         <property name="left_attach">0</property>
@@ -3729,7 +3735,7 @@ if you know what you are doing.</small></property>
                                                         <property name="has_entry">True</property>
                                                         <signal name="changed" handler="on_disk_bus_combo_changed" swapped="no"/>
                                                         <child internal-child="entry">
-                                                          <object class="GtkEntry" id="combobox-entry">
+                                                          <object class="GtkEntry" id="disk-bus-combobox-entry">
                                                             <property name="can_focus">True</property>
                                                           </object>
                                                         </child>
@@ -3744,8 +3750,9 @@ 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">Serial num_ber:</property>
+                                                        <property name="label" translatable="yes">Seria_l number:</property>
                                                         <property name="use_underline">True</property>
+                                                        <property name="mnemonic_widget">disk-serial</property>
                                                       </object>
                                                       <packing>
                                                         <property name="left_attach">0</property>
@@ -3765,7 +3772,7 @@ if you know what you are doing.</small></property>
                                                             <property name="has_entry">True</property>
                                                             <signal name="changed" handler="on_disk_format_changed" swapped="no"/>
                                                             <child internal-child="entry">
-                                                            <object class="GtkEntry" id="combobox-entry9">
+                                                            <object class="GtkEntry" id="storage-format-combobox-entry">
                                                             <property name="can_focus">True</property>
                                                             </object>
                                                             </child>
@@ -3845,6 +3852,7 @@ if you know what you are doing.</small></property>
                                                             <property name="xalign">1</property>
                                                             <property name="label" translatable="yes">Cac_he mode:</property>
                                                             <property name="use_underline">True</property>
+                                                            <property name="mnemonic_widget">cachemode-entry-box</property>
                                                           </object>
                                                           <packing>
                                                             <property name="left_attach">0</property>
@@ -3858,7 +3866,7 @@ if you know what you are doing.</small></property>
                                                             <property name="has_entry">True</property>
                                                             <signal name="changed" handler="on_disk_cache_combo_changed" swapped="no"/>
                                                             <child internal-child="entry">
-                                                            <object class="GtkEntry" id="combobox-entry3">
+                                                            <object class="GtkEntry" id="cachemode-entry-box">
                                                             <property name="can_focus">True</property>
                                                             </object>
                                                             </child>
@@ -3875,7 +3883,7 @@ if you know what you are doing.</small></property>
                                                             <property name="has_entry">True</property>
                                                             <signal name="changed" handler="on_disk_io_combo_changed" swapped="no"/>
                                                             <child internal-child="entry">
-                                                            <object class="GtkEntry" id="combobox-entry4">
+                                                            <object class="GtkEntry" id="iomode-entry-box">
                                                             <property name="can_focus">True</property>
                                                             </object>
                                                             </child>
@@ -3892,6 +3900,7 @@ if you know what you are doing.</small></property>
                                                             <property name="xalign">1</property>
                                                             <property name="label" translatable="yes">_IO mode:</property>
                                                             <property name="use_underline">True</property>
+                                                            <property name="mnemonic_widget">iomode-entry-box</property>
                                                           </object>
                                                           <packing>
                                                             <property name="left_attach">0</property>
@@ -3931,8 +3940,9 @@ 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">Read:</property>
+                                                            <property name="label" translatable="yes">Re_ad:</property>
                                                             <property name="use_underline">True</property>
+                                                            <property name="mnemonic_widget">disk-iotune-rbs</property>
                                                           </object>
                                                           <packing>
                                                             <property name="left_attach">0</property>
@@ -4087,8 +4097,9 @@ 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">Total:</property>
+                                                            <property name="label" translatable="yes">Total_:</property>
                                                             <property name="use_underline">True</property>
+                                                            <property name="mnemonic_widget">disk-iotune-tbs</property>
                                                           </object>
                                                           <packing>
                                                             <property name="left_attach">0</property>
@@ -4100,8 +4111,9 @@ 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">Write:</property>
+                                                            <property name="label" translatable="yes">_Write:</property>
                                                             <property name="use_underline">True</property>
+                                                            <property name="mnemonic_widget">disk-iotune-wbs</property>
                                                           </object>
                                                           <packing>
                                                             <property name="left_attach">0</property>
@@ -4117,7 +4129,7 @@ if you know what you are doing.</small></property>
                                                       <object class="GtkLabel" id="label83">
                                                         <property name="visible">True</property>
                                                         <property name="can_focus">False</property>
-                                                        <property name="label" translatable="yes">IO _Tuning</property>
+                                                        <property name="label" translatable="yes">IO Tu_ning</property>
                                                         <property name="use_underline">True</property>
                                                       </object>
                                                     </child>
@@ -4240,6 +4252,7 @@ if you know what you are doing.</small></property>
                                             <property name="yalign">0.47999998927116394</property>
                                             <property name="label" translatable="yes">Device mode_l:</property>
                                             <property name="use_underline">True</property>
+                                            <property name="mnemonic_widget">network-model-combobox</property>
                                           </object>
                                           <packing>
                                             <property name="left_attach">0</property>
@@ -4268,7 +4281,7 @@ if you know what you are doing.</small></property>
                                             <property name="has_entry">True</property>
                                             <signal name="changed" handler="on_network_model_combo_changed" swapped="no"/>
                                             <child internal-child="entry">
-                                              <object class="GtkEntry" id="combobox-entry7">
+                                              <object class="GtkEntry" id="network-model-combobox">
                                                 <property name="can_focus">True</property>
                                               </object>
                                             </child>
@@ -4549,8 +4562,8 @@ if you know what you are doing.</small></property>
                                             <property name="can_focus">False</property>
                                             <property name="xalign">0</property>
                                             <property name="label" translatable="yes">Device m_odel:</property>
-                                            <property name="mnemonic_widget">combobox-entry12</property>
                                             <property name="use_underline">True</property>
+                                            <property name="mnemonic_widget">combobox-entry12</property>
                                           </object>
                                           <packing>
                                             <property name="x_options">GTK_FILL</property>
diff --git a/ui/gfxdetails.ui b/ui/gfxdetails.ui
index 4e73b05..85dbac6 100644
--- a/ui/gfxdetails.ui
+++ b/ui/gfxdetails.ui
@@ -105,7 +105,7 @@
         <property name="xalign">1</property>
         <property name="label" translatable="yes">Pa_ssword:</property>
         <property name="use_underline">True</property>
-        <property name="mnemonic_widget">graphics-password</property>
+        <property name="mnemonic_widget">graphics-password-chk</property>
       </object>
       <packing>
         <property name="left_attach">0</property>
@@ -119,6 +119,7 @@
         <property name="xalign">1</property>
         <property name="label" translatable="yes">_Port:</property>
         <property name="use_underline">True</property>
+        <property name="mnemonic_widget">graphics-port-auto</property>
       </object>
       <packing>
         <property name="left_attach">0</property>
@@ -136,8 +137,9 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="xalign">1</property>
-            <property name="label" translatable="yes">_TLS port:</property>
+            <property name="label" translatable="yes">T_LS port:</property>
             <property name="use_underline">True</property>
+            <property name="mnemonic_widget">graphics-tlsport-auto</property>
           </object>
         </child>
       </object>
diff --git a/ui/netlist.ui b/ui/netlist.ui
index a481a68..9aaaaca 100644
--- a/ui/netlist.ui
+++ b/ui/netlist.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.16.1 -->
+<!-- Generated with glade 3.18.3 -->
 <interface>
   <requires lib="gtk+" version="3.8"/>
   <object class="GtkGrid" id="net-source-box">
@@ -21,8 +21,6 @@
       <packing>
         <property name="left_attach">0</property>
         <property name="top_attach">1</property>
-        <property name="width">1</property>
-        <property name="height">1</property>
       </packing>
     </child>
     <child>
@@ -39,8 +37,6 @@
       <packing>
         <property name="left_attach">0</property>
         <property name="top_attach">2</property>
-        <property name="width">1</property>
-        <property name="height">1</property>
       </packing>
     </child>
     <child>
@@ -54,8 +50,6 @@
       <packing>
         <property name="left_attach">1</property>
         <property name="top_attach">1</property>
-        <property name="width">1</property>
-        <property name="height">1</property>
       </packing>
     </child>
     <child>
@@ -98,7 +92,6 @@
         <property name="left_attach">0</property>
         <property name="top_attach">4</property>
         <property name="width">2</property>
-        <property name="height">1</property>
       </packing>
     </child>
     <child>
@@ -118,8 +111,6 @@
       <packing>
         <property name="left_attach">1</property>
         <property name="top_attach">2</property>
-        <property name="width">1</property>
-        <property name="height">1</property>
       </packing>
     </child>
     <child>
@@ -158,7 +149,6 @@
         <property name="left_attach">0</property>
         <property name="top_attach">0</property>
         <property name="width">2</property>
-        <property name="height">1</property>
       </packing>
     </child>
     <child>
@@ -175,8 +165,6 @@
       <packing>
         <property name="left_attach">0</property>
         <property name="top_attach">3</property>
-        <property name="width">1</property>
-        <property name="height">1</property>
       </packing>
     </child>
     <child>
@@ -196,8 +184,6 @@
       <packing>
         <property name="left_attach">1</property>
         <property name="top_attach">3</property>
-        <property name="width">1</property>
-        <property name="height">1</property>
       </packing>
     </child>
   </object>
@@ -209,6 +195,7 @@
     <property name="ypad">3</property>
     <property name="label" translatable="yes">_Network source:</property>
     <property name="use_underline">True</property>
+    <property name="mnemonic_widget">net-source</property>
   </object>
   <object class="GtkExpander" id="vport-expander">
     <property name="can_focus">True</property>
@@ -247,8 +234,9 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="xalign">1</property>
-                <property name="label" translatable="yes">Instance id:</property>
+                <property name="label" translatable="yes">Ins_tance id:</property>
                 <property name="use_underline">True</property>
+                <property name="mnemonic_widget">vport-instanceid</property>
               </object>
               <packing>
                 <property name="top_attach">4</property>
@@ -279,8 +267,9 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="xalign">1</property>
-                <property name="label" translatable="yes">Typeid version:</property>
+                <property name="label" translatable="yes">Typ_eid version:</property>
                 <property name="use_underline">True</property>
+                <property name="mnemonic_widget">vport-typeidversion</property>
               </object>
               <packing>
                 <property name="top_attach">3</property>
@@ -311,8 +300,9 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="xalign">1</property>
-                <property name="label" translatable="yes">Typeid:</property>
+                <property name="label" translatable="yes">T_ypeid:</property>
                 <property name="use_underline">True</property>
+                <property name="mnemonic_widget">vport-typeid</property>
               </object>
               <packing>
                 <property name="top_attach">2</property>
@@ -343,8 +333,9 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="xalign">1</property>
-                <property name="label" translatable="yes">Managerid:</property>
+                <property name="label" translatable="yes">M_anagerid:</property>
                 <property name="use_underline">True</property>
+                <property name="mnemonic_widget">vport-managerid</property>
               </object>
               <packing>
                 <property name="top_attach">1</property>
@@ -359,9 +350,10 @@
                 <property name="can_focus">False</property>
                 <property name="xalign">1</property>
                 <property name="yalign">0.47999998927116394</property>
-                <property name="label" translatable="yes">Type:</property>
+                <property name="label" translatable="yes">_Type:</property>
                 <property name="use_markup">True</property>
                 <property name="use_underline">True</property>
+                <property name="mnemonic_widget">vport-type</property>
               </object>
               <packing>
                 <property name="x_options">GTK_FILL</property>
@@ -396,8 +388,9 @@
       <object class="GtkLabel" id="label8">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
-        <property name="label" translatable="yes">Virtual port</property>
+        <property name="label" translatable="yes">Virtual _port</property>
         <property name="use_markup">True</property>
+        <property name="use_underline">True</property>
       </object>
     </child>
   </object>
-- 
2.1.0




More information about the virt-tools-list mailing list