[banshee] Handle setting SearchEntry.Query to null (bgo#628087)
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] Handle setting SearchEntry.Query to null (bgo#628087)
- Date: Tue, 22 Mar 2011 15:11:35 +0000 (UTC)
commit 757e5b864bfbf9291246a7ce30ae119a0285c8db
Author: Zhou Ting <ting z zhou intel com>
Date: Tue Mar 22 10:11:16 2011 -0500
Handle setting SearchEntry.Query to null (bgo#628087)
Signed-off-by: Gabriel Burt <gabriel burt gmail com>
.../Banshee.Widgets/Banshee.Widgets/SearchEntry.cs | 2 +-
src/Hyena | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Core/Banshee.Widgets/Banshee.Widgets/SearchEntry.cs b/src/Core/Banshee.Widgets/Banshee.Widgets/SearchEntry.cs
index cc5b826..369990d 100644
--- a/src/Core/Banshee.Widgets/Banshee.Widgets/SearchEntry.cs
+++ b/src/Core/Banshee.Widgets/Banshee.Widgets/SearchEntry.cs
@@ -385,7 +385,7 @@ namespace Banshee.Widgets
public string Query {
get { return entry.Text.Trim(); }
- set { entry.Text = value.Trim(); }
+ set { entry.Text = String.IsNullOrEmpty (value) ? String.Empty : value.Trim (); }
}
public bool IsQueryAvailable {
diff --git a/src/Hyena b/src/Hyena
index 4fbc93a..23f206a 160000
--- a/src/Hyena
+++ b/src/Hyena
@@ -1 +1 @@
-Subproject commit 4fbc93a49c5fdaef6d545f55dc08cd7cbc17b713
+Subproject commit 23f206a1d9b3ba344f0b8efcc05e28e58456e80f
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]