[epiphany] Add mnemonics for password/recovery infobars
- From: Jiro Matsuzawa <jmatsuzawa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Add mnemonics for password/recovery infobars
- Date: Fri, 6 Jan 2012 09:48:07 +0000 (UTC)
commit 5a3a574efde297e2d9687ace8fb49026110e0259
Author: Jiro Matsuzawa <jmatsuzawa src gnome org>
Date: Wed Jan 4 11:18:02 2012 +0900
Add mnemonics for password/recovery infobars
'Store password' and 'Session recovery' infobars had no mnemonics in
their buttons.
Bug #667238
Signed-off-by: Diego Escalante Urrelo <descalante igalia com>
embed/ephy-web-view.c | 4 ++--
src/ephy-session.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 6e4fea2..60915e8 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -750,12 +750,12 @@ request_decision_on_storing (StorePasswordData *store_data)
button_box = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
gtk_container_add (GTK_CONTAINER (action_area), button_box);
- action_button = gtk_button_new_with_label (_("Not now"));
+ action_button = gtk_button_new_with_mnemonic (_("_Not now"));
g_signal_connect (action_button, "clicked",
G_CALLBACK (send_no_response_cb), info_bar);
gtk_box_pack_start (GTK_BOX (button_box), action_button, FALSE, FALSE, 0);
- action_button = gtk_button_new_with_label (_("Store password"));
+ action_button = gtk_button_new_with_mnemonic (_("_Store password"));
g_signal_connect (action_button, "clicked",
G_CALLBACK (send_yes_response_cb), info_bar);
gtk_box_pack_start (GTK_BOX (button_box), action_button, FALSE, FALSE, 0);
diff --git a/src/ephy-session.c b/src/ephy-session.c
index c7771fb..a03d156 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -769,12 +769,12 @@ session_command_dispatch (EphySession *session)
button_box = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
gtk_container_add (GTK_CONTAINER (action_area), button_box);
- action_button = gtk_button_new_with_label (_("Don't recover"));
+ action_button = gtk_button_new_with_mnemonic (_("_Don't recover"));
g_signal_connect (action_button, "clicked",
G_CALLBACK (send_no_response_cb), info_bar);
gtk_box_pack_start (GTK_BOX (button_box), action_button, FALSE, FALSE, 0);
- action_button = gtk_button_new_with_label (_("Recover session"));
+ action_button = gtk_button_new_with_mnemonic (_("_Recover session"));
g_signal_connect (action_button, "clicked",
G_CALLBACK (send_yes_response_cb), info_bar);
gtk_box_pack_start (GTK_BOX (button_box), action_button, FALSE, FALSE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]