[banshee] StreamPositionLabel: Drop unnecessary redraws (bgo#647144)
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] StreamPositionLabel: Drop unnecessary redraws (bgo#647144)
- Date: Fri, 8 Apr 2011 16:50:07 +0000 (UTC)
commit 34cec551b4f45482380321d6482b40652fe5ad01
Author: Christopher James Halse Rogers <chrishr src gnome org>
Date: Fri Apr 8 16:34:37 2011 +1000
StreamPositionLabel: Drop unnecessary redraws (bgo#647144)
UpdateLabel calls QueueResize, which causes an expose event anyway.
Signed-off-by: Gabriel Burt <gabriel burt gmail com>
.../Banshee.Widgets/StreamPositionLabel.cs | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/Core/Banshee.Widgets/Banshee.Widgets/StreamPositionLabel.cs b/src/Core/Banshee.Widgets/Banshee.Widgets/StreamPositionLabel.cs
index e8e3748..fdb1293 100644
--- a/src/Core/Banshee.Widgets/Banshee.Widgets/StreamPositionLabel.cs
+++ b/src/Core/Banshee.Widgets/Banshee.Widgets/StreamPositionLabel.cs
@@ -202,7 +202,6 @@ namespace Banshee.Widgets
set {
buffering_progress = Math.Max (0.0, Math.Min (1.0, value));
UpdateLabel ();
- QueueDraw ();
}
}
@@ -228,7 +227,6 @@ namespace Banshee.Widgets
if (state != value) {
state = value;
UpdateLabel ();
- QueueDraw ();
}
}
}
@@ -239,7 +237,6 @@ namespace Banshee.Widgets
if (is_live != value) {
is_live = value;
UpdateLabel ();
- QueueDraw ();
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]