[banshee] [ListView] Fix a visual artifact (bgo#605736)
- From: Alexander Kojevnikov <alexk src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [ListView] Fix a visual artifact (bgo#605736)
- Date: Mon, 25 Jan 2010 06:11:07 +0000 (UTC)
commit 246484d71b3e87e29a1a37d5021f4b682ea36a10
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date: Mon Jan 25 17:09:11 2010 +1100
[ListView] Fix a visual artifact (bgo#605736)
.../Hyena.Data.Gui/ListView/ListView_Rendering.cs | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs b/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs
index 0cc1c68..712bd5c 100644
--- a/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs
+++ b/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs
@@ -103,15 +103,17 @@ namespace Hyena.Data.Gui
PaintHeader (damage);
}
+ if (Model != null) {
+ PaintRows (damage);
+ }
+
+ // Focused frame border is bolder than BorderWidth,
+ // draw it after the rows to avoid visual artifacts.
if (HasFocus)
Theme.DrawFrameBorderFocused (cairo_context, Allocation);
else
Theme.DrawFrameBorder (cairo_context, Allocation);
- if (Model != null) {
- PaintRows (damage);
- }
-
PaintDraggingColumn (damage);
((IDisposable)cairo_context.Target).Dispose ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]