[banshee] [Banshee.Base] Fix nitpick in SafeUri: small redundancy to keep DRY pattern happy
- From: Andrés Aragoneses <aaragoneses src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [Banshee.Base] Fix nitpick in SafeUri: small redundancy to keep DRY pattern happy
- Date: Mon, 5 Apr 2010 18:54:16 +0000 (UTC)
commit baa6bad18de60b05cde753e3699ccee2c5977fbb
Author: Andrés G. Aragoneses <knocte gmail com>
Date: Mon Apr 5 20:53:15 2010 +0200
[Banshee.Base] Fix nitpick in SafeUri: small redundancy to keep DRY pattern happy
src/Core/Banshee.Core/Banshee.Base/SafeUri.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.Core/Banshee.Base/SafeUri.cs b/src/Core/Banshee.Core/Banshee.Base/SafeUri.cs
index 171d1d7..5973929 100644
--- a/src/Core/Banshee.Core/Banshee.Base/SafeUri.cs
+++ b/src/Core/Banshee.Core/Banshee.Base/SafeUri.cs
@@ -145,7 +145,7 @@ namespace Banshee.Base
public bool IsLocalPath {
get {
if (local_path_check == LocalPathCheck.NotPerformed) {
- if (Scheme == "file") {
+ if (IsFile) {
local_path_check = LocalPathCheck.Yes;
return true;
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]