[banshee] Dap: For TypeUniqueId use device's Serial property, not Uuid (bgo#690300)
- From: AndrÃs Aragoneses <aaragoneses src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] Dap: For TypeUniqueId use device's Serial property, not Uuid (bgo#690300)
- Date: Sun, 16 Dec 2012 21:51:38 +0000 (UTC)
commit c4cbfba85f3e4d17db81a2a5b799d943b1edcbdd
Author: Andres G. Aragoneses <knocte gmail com>
Date: Sun Dec 16 21:51:32 2012 +0000
Dap: For TypeUniqueId use device's Serial property, not Uuid (bgo#690300)
The Uuid property could be different after disconnecting and connecting
the same device again. This meant that the device settings where,
effectively, not remembered across sync sessions.
src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs b/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs
index 02492d5..85470bf 100644
--- a/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs
+++ b/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs
@@ -93,7 +93,7 @@ namespace Banshee.Dap
public virtual void DeviceInitialize (IDevice device)
{
this.device = device;
- TypeUniqueId = device.Uuid;
+ TypeUniqueId = device.Serial;
}
public override void Dispose ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]