[gnome-todo] edit-pane: add mnemonics for keyboard activation
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] edit-pane: add mnemonics for keyboard activation
- Date: Wed, 1 Mar 2017 21:20:55 +0000 (UTC)
commit 11bded9cfc39c901f01d230dc38a9d98623d8094
Author: djb <db0451 gmail com>
Date: Thu Oct 27 02:13:30 2016 +0100
edit-pane: add mnemonics for keyboard activation
This makes the buttons and combobox keyboard accessible.
https://bugzilla.gnome.org/show_bug.cgi?id=773563
data/ui/edit-pane.ui | 20 ++++++++++++++------
1 files changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/data/ui/edit-pane.ui b/data/ui/edit-pane.ui
index 33c2faf..92de3c7 100644
--- a/data/ui/edit-pane.ui
+++ b/data/ui/edit-pane.ui
@@ -122,9 +122,11 @@
<property name="row_spacing">12</property>
<child>
<object class="GtkLabel" id="notes_dim_label">
+ <property name="label" translatable="yes">_Notes</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">notes_textview</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Notes</property>
<property name="xalign">0</property>
<style>
<class name="dim-label"/>
@@ -183,7 +185,9 @@
<object class="GtkLabel" id="priority_dim_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Priority</property>
+ <property name="label" translatable="yes">_Priority</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">priority_combo</property>
<property name="xalign">0</property>
<style>
<class name="dim-label"/>
@@ -215,7 +219,8 @@
</child>
<child>
<object class="GtkButton" id="remove_button">
- <property name="label" translatable="yes">Delete</property>
+ <property name="label" translatable="yes">_Delete</property>
+ <property name="use_underline">True</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -238,7 +243,8 @@
<property name="can_focus">False</property>
<child>
<object class="GtkButton" id="gtd_set_date_today">
- <property name="label" translatable="yes">Today</property>
+ <property name="label" translatable="yes">_Today</property>
+ <property name="use_underline">True</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -248,7 +254,8 @@
</child>
<child>
<object class="GtkButton" id="tomorrow_button">
- <property name="label" translatable="yes">Tomorrow</property>
+ <property name="label" translatable="yes">To_morrow</property>
+ <property name="use_underline">True</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -258,7 +265,8 @@
</child>
<child>
<object class="GtkButton" id="next_week_button">
- <property name="label" translatable="yes">Next Week</property>
+ <property name="label" translatable="yes">Next _Week</property>
+ <property name="use_underline">True</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]