[gnome-bluetooth] Bug 589730 – Tell about pressing Enter when pairing keyboard



commit 7264afe67afb828f2522caa5dd4dc7a0e1344740
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Jul 26 12:58:55 2009 +0100

    Bug 589730 â?? Tell about pressing Enter when pairing keyboard

 wizard/main.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/wizard/main.c b/wizard/main.c
index 4fde0de..ad7d478 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -546,7 +546,11 @@ void prepare_callback (GtkWidget *assistant,
 		if (automatic_pincode == FALSE && target_ssp == FALSE) {
 			char *text;
 
-			text = g_strdup_printf (_("Please enter the following PIN on '%s':"), target_name);
+			if (target_type == BLUETOOTH_TYPE_KEYBOARD) {
+				text = g_strdup_printf (_("Please enter the following PIN on '%s' and press â??Enterâ?? on the keyboard:"), target_name);
+			} else {
+				text = g_strdup_printf (_("Please enter the following PIN on '%s':"), target_name);
+			}
 			gtk_label_set_markup(GTK_LABEL(label_pin_help), text);
 			g_free (text);
 			set_large_label (GTK_LABEL (label_pin), pincode);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]