Author: abock
Date: 2006-09-19 13:01:45 -0400 (Tue, 19 Sep 2006)
New Revision: 65677
Modified:
trunk/ipod-sharp/src/Device.cs
Log:
Added unknown check
Modified: trunk/ipod-sharp/src/Device.cs
===================================================================
--- trunk/ipod-sharp/src/Device.cs 2006-09-19 17:01:04 UTC (rev 65676)
+++ trunk/ipod-sharp/src/Device.cs 2006-09-19 17:01:45 UTC (rev 65677)
@@ -306,7 +306,8 @@
public bool ShouldAskIfUnknown {
get {
- return SerialNumber != null && SerialNumber.Length == 11 &&
+ return Model == DeviceModel.Unknown &&
+ SerialNumber != null && SerialNumber.Length == 11 &&
!File.Exists(DoNotAskPath);
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches