[banshee] [SeekSlider] Fix hang when position moved to right causing track change
- From: Bertrand Lorentz <blorentz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [SeekSlider] Fix hang when position moved to right causing track change
- Date: Fri, 7 Aug 2009 14:27:10 +0000 (UTC)
commit b748ba93edddbaf888bb31ce6677bdb477381502
Author: Neil Loknath <neil loknath gmail com>
Date: Thu Aug 6 20:27:26 2009 -0600
[SeekSlider] Fix hang when position moved to right causing track change
It seems that when Gtk.Widget.Sensitive is set to false while a button
is pressed, the release event is never raised (BGO#539395).
Signed-off-by: Bertrand Lorentz <bertrand lorentz gmail com>
.../Banshee.Widgets/Banshee.Widgets/SeekSlider.cs | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/Core/Banshee.Widgets/Banshee.Widgets/SeekSlider.cs b/src/Core/Banshee.Widgets/Banshee.Widgets/SeekSlider.cs
index f0aef6d..45d054f 100644
--- a/src/Core/Banshee.Widgets/Banshee.Widgets/SeekSlider.cs
+++ b/src/Core/Banshee.Widgets/Banshee.Widgets/SeekSlider.cs
@@ -165,5 +165,15 @@ namespace Banshee.Widgets
Sensitive = value;
}
}
+
+ public new bool Sensitive {
+ get { return base.Sensitive; }
+ set {
+ if (!value) {
+ can_set_value = true;
+ }
+ base.Sensitive = value;
+ }
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]