[virt-manager PATCH] gfxdetails: active SpinButton when mnemonic key of 'Port' or 'TLS port' pressed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Chen Hanxiao <chenhanxiao@xxxxxxxxx>

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@xxxxxxxxx>
---
 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


_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux