[gnome-bluetooth] settings: Don't override "confirm_pin"
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] settings: Don't override "confirm_pin"
- Date: Mon, 9 Dec 2013 17:39:37 +0000 (UTC)
commit 1a70b77bbf707d916080bdd3265cc5993d7a377f
Author: Bastien Nocera <hadess hadess net>
Date: Mon Dec 9 15:59:06 2013 +0100
settings: Don't override "confirm_pin"
When we detect a PIN code by name, we don't need to confirm the
PIN code, so leave confirm_pin alone.
Also make sure that the display_pin is set to show the user.
lib/bluetooth-settings-widget.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/bluetooth-settings-widget.c b/lib/bluetooth-settings-widget.c
index 3d7584a..3eba850 100644
--- a/lib/bluetooth-settings-widget.c
+++ b/lib/bluetooth-settings-widget.c
@@ -416,7 +416,7 @@ pincode_callback (GDBusMethodInvocation *invocation,
g_assert_not_reached ();
} else {
mode = BLUETOOTH_PAIRING_MODE_PIN_DISPLAY_NORMAL;
- confirm_pin = TRUE;
+ display_pin = g_strdup (default_pin);
}
setup_pairing_dialog (BLUETOOTH_SETTINGS_WIDGET (user_data));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]