From 5a3a574efde297e2d9687ace8fb49026110e0259 Mon Sep 17 00:00:00 2001 From: Jiro Matsuzawa Date: Wed, 4 Jan 2012 11:18:02 +0900 Subject: 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 --- 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 6e4fea23c..60915e88c 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 c7771fbde..a03d15690 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); -- cgit v1.2.3