[banshee/gtk3] LinearProgress: Fix up drawing code
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/gtk3] LinearProgress: Fix up drawing code
- Date: Sun, 17 Jul 2011 12:22:21 +0000 (UTC)
commit 8777df01708478258628daf24d9df7b13a1bf572
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Sun Jul 17 14:15:23 2011 +0200
LinearProgress: Fix up drawing code
The original call to GdkWindow.DrawRectangle had the filled parameter
set as false, so we need to call Cairo.Context.Stroke () to get the same
result.
.../Banshee.Widgets/LinearProgress.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.Widgets/Banshee.Widgets/LinearProgress.cs b/src/Core/Banshee.Widgets/Banshee.Widgets/LinearProgress.cs
index 3931abd..c27fd30 100644
--- a/src/Core/Banshee.Widgets/Banshee.Widgets/LinearProgress.cs
+++ b/src/Core/Banshee.Widgets/Banshee.Widgets/LinearProgress.cs
@@ -58,7 +58,7 @@ namespace Banshee.Widgets
{
int bar_width = (int)((double)Allocation.Width * fraction - 3.0);
cr.Rectangle(0, 0, Allocation.Width - 1, Allocation.Height - 1);
- cr.Fill ();
+ cr.Stroke ();
if(bar_width > 0) {
cr.Rectangle(2, 2, bar_width, Allocation.Height - 4);
cr.Fill ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]