[gnome-control-center] Network: Add mnemonics
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Network: Add mnemonics
- Date: Sat, 12 Mar 2011 20:13:20 +0000 (UTC)
commit 9f07f2b9bed4aeb246ef8c53bd7588b548f2c1e5
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Mar 12 15:02:58 2011 -0500
Network: Add mnemonics
Make the panel keynav friendly by setting up mnemonics for active
controls.
panels/network/network.ui | 41 ++++++++++++++++++++++++++++++-----------
1 files changed, 30 insertions(+), 11 deletions(-)
---
diff --git a/panels/network/network.ui b/panels/network/network.ui
index 4afbdc2..adeb83c 100644
--- a/panels/network/network.ui
+++ b/panels/network/network.ui
@@ -862,7 +862,9 @@
<object class="GtkLabel" id="label15">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Network Name:</property>
+ <property name="label" translatable="yes">_Network Name:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">comboboxentry-entry2</property>
</object>
<packing>
<property name="expand">False</property>
@@ -1112,10 +1114,11 @@
<property name="yscale">0</property>
<child>
<object class="GtkButton" id="button_wireless_options">
- <property name="label" translatable="yes">Options</property>
+ <property name="label" translatable="yes">_Options</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
</object>
</child>
</object>
@@ -1354,10 +1357,11 @@
<property name="yscale">0</property>
<child>
<object class="GtkButton" id="button_mobile_options">
- <property name="label" translatable="yes">Options</property>
+ <property name="label" translatable="yes">_Options</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
</object>
</child>
</object>
@@ -1596,10 +1600,11 @@
<property name="yscale">0</property>
<child>
<object class="GtkButton" id="button_vpn_options">
- <property name="label" translatable="yes">Options</property>
+ <property name="label" translatable="yes">_Options</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
</object>
</child>
</object>
@@ -1645,7 +1650,9 @@
<object class="GtkLabel" id="label18">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Method:</property>
+ <property name="label" translatable="yes">_Method:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">combobox_proxy_mode</property>
</object>
<packing>
<property name="expand">False</property>
@@ -1692,7 +1699,9 @@
<object class="GtkLabel" id="label31">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Configuration URL:</property>
+ <property name="label" translatable="yes">_Configuration URL:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">entry_proxy_url</property>
</object>
<packing>
<property name="expand">False</property>
@@ -1740,7 +1749,9 @@
<object class="GtkLabel" id="label33">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">HTTP Proxy:</property>
+ <property name="label" translatable="yes">_HTTP Proxy:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">entry_proxy_http</property>
</object>
<packing>
<property name="expand">False</property>
@@ -1801,7 +1812,9 @@
<object class="GtkLabel" id="label35">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Secure HTTP Proxy:</property>
+ <property name="label" translatable="yes">H_TTPS Proxy:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">entry_proxy_https</property>
</object>
<packing>
<property name="expand">False</property>
@@ -1862,7 +1875,9 @@
<object class="GtkLabel" id="label30">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">FTP Proxy:</property>
+ <property name="label" translatable="yes">_FTP Proxy:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">entry_proxy_ftp</property>
</object>
<packing>
<property name="expand">False</property>
@@ -1923,7 +1938,9 @@
<object class="GtkLabel" id="label47">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Socks Host:</property>
+ <property name="label" translatable="yes">_Socks Host:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">entry_proxy_socks</property>
</object>
<packing>
<property name="expand">False</property>
@@ -2074,7 +2091,9 @@
<object class="GtkLabel" id="label_flight_mode">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Airplane Mode</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">switch_flight_mode</property>
+ <property name="label" translatable="yes">Air_plane Mode</property>
</object>
<packing>
<property name="expand">False</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]