[virt-tools-list] [virt-manager PATCH] gfxdetails: active	SpinButton when mnemonic key of 'Port' or 'TLS port' pressed
    Chen Hanxiao 
    chen_han_xiao at 126.com
       
    Fri Oct 28 07:42:56 UTC 2016
    
    
  
From: Chen Hanxiao <chenhanxiao at gmail.com>
Currently when press mnemonic key of 'Port' or its CheckButton,
the behaviour is the same:
  check 'Auto' CheckButton.
which is not right.
This patch will change the behaviour:
  when press mnemonic key of 'Port',
  change the focus to graphics-port SpinButton.
So as 'TLS Port'.
Signed-off-by: Chen Hanxiao <chenhanxiao at gmail.com>
---
 ui/gfxdetails.ui | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/gfxdetails.ui b/ui/gfxdetails.ui
index ae01b03..ad84ca9 100644
--- a/ui/gfxdetails.ui
+++ b/ui/gfxdetails.ui
@@ -119,7 +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>
+        <property name="mnemonic_widget">graphics-port</property>
       </object>
       <packing>
         <property name="left_attach">0</property>
@@ -139,7 +139,7 @@
             <property name="xalign">1</property>
             <property name="label" translatable="yes">T_LS port:</property>
             <property name="use_underline">True</property>
-            <property name="mnemonic_widget">graphics-tlsport-auto</property>
+            <property name="mnemonic_widget">graphics-tlsport</property>
           </object>
         </child>
       </object>
-- 
1.8.3.1
    
    
More information about the virt-tools-list
mailing list