gfxdetails: active SpinButton when mnemonic key of 'Port' or 'TLS port' pressed

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@gmail.com>
This commit is contained in:
Chen Hanxiao 2016-11-01 22:04:43 +08:00
parent a26c656d5c
commit 8eb0a9002f

View File

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