aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad <thevancedgamer@mentallysanemainliners.org>2026-03-12 23:28:23 +0500
committerMuhammad <thevancedgamer@mentallysanemainliners.org>2026-03-12 23:28:23 +0500
commitebefa983d88a9c7c9a5b86b5ebb9419656788b37 (patch)
treef75a033c75891082ae7c8a80c881a64271167f57
parent36d77944f2e7707eefd60ea208c6f4bc55a3f961 (diff)
downloadayatana-indicator-bluetooth-ebefa983d88a9c7c9a5b86b5ebb9419656788b37.tar.gz
ayatana-indicator-bluetooth-ebefa983d88a9c7c9a5b86b5ebb9419656788b37.tar.bz2
ayatana-indicator-bluetooth-ebefa983d88a9c7c9a5b86b5ebb9419656788b37.zip
agent: rename passkey to PIN
To remove confusion between web passkeys and Bluetooth passkeys Signed-off-by: Muhammad <thevancedgamer@mentallysanemainliners.org>
-rw-r--r--src/agent.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/agent.vala b/src/agent.vala
index 16ce6a2..d8dddfa 100644
--- a/src/agent.vala
+++ b/src/agent.vala
@@ -169,7 +169,7 @@ public class Agent: Object
public void RequestConfirmation (GLib.ObjectPath object, uint32 passkey) throws RejectedError, GLib.DBusError, GLib.IOError
{
- string body = "Are you sure you want to pair with passkey %06u?".printf (passkey);
+ string body = "Are you sure you want to pair with PIN %06u?".printf (passkey);
bool confirmed = sendNotification (bluetooth.get_device_name (object), body, false, true);
if (!confirmed) {
@@ -204,7 +204,7 @@ public class Agent: Object
public uint32 RequestPasskey (GLib.ObjectPath object) throws RejectedError, GLib.DBusError, GLib.IOError
{
- bool accepted = sendNotification (bluetooth.get_device_name (object), "Enter passkey for this device", true, true);
+ bool accepted = sendNotification (bluetooth.get_device_name (object), "Enter PIN for this device", true, true);
if (!accepted) {
throw new RejectedError.ERROR ("Rejected by user");
@@ -215,7 +215,7 @@ public class Agent: Object
public void DisplayPasskey (GLib.ObjectPath object, uint32 passkey, uint16 entered) throws GLib.DBusError, GLib.IOError
{
- string body = "Enter the passkey %06u on the other device".printf (passkey);
+ string body = "Enter the PIN %06u on the other device".printf (passkey);
sendNotification (bluetooth.get_device_name (object), body, false, false);
}