mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-02-10 13:57:27 +03:00
ui: Use mnemonics for remote-viewer connection UI
Here we added mnemonics for the buttons "Cancel" and "Connect" and also for the "Connection Address" entry (as it was before moving this dialog to a .ui file). The "Recent connections" widget is left behind as GtkRecentChooserWidget isn't suitable for mnemonic activation. Resolves: rhbz#1351487 Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
This commit is contained in:
parent
3775e095a5
commit
271d33e7d8
@ -19,8 +19,10 @@
|
||||
<object class="GtkLabel" id="connection-address-label">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">Connection Address</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">Connection _Address</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">connection-address-entry</property>
|
||||
<attributes>
|
||||
<attribute name="weight" value="bold"/>
|
||||
</attributes>
|
||||
@ -114,10 +116,11 @@
|
||||
<property name="layout_style">end</property>
|
||||
<child>
|
||||
<object class="GtkButton" id="cancel-button">
|
||||
<property name="label" translatable="yes">Cancel</property>
|
||||
<property name="label" translatable="yes">_Cancel</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="use_underline">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">True</property>
|
||||
@ -127,10 +130,11 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="connect-button">
|
||||
<property name="label" translatable="yes">Connect</property>
|
||||
<property name="label" translatable="yes">C_onnect</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="use_underline">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">True</property>
|
||||
|
Loading…
x
Reference in New Issue
Block a user