banshee r3509 - in trunk/banshee: . src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView
- From: scottp svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3509 - in trunk/banshee: . src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView
- Date: Fri, 21 Mar 2008 23:28:14 +0000 (GMT)
Author: scottp
Date: Fri Mar 21 23:28:13 2008
New Revision: 3509
URL: http://svn.gnome.org/viewvc/banshee?rev=3509&view=rev
Log:
* src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs:
Override QueueDraw to use our own methods. (Fixes bug where
hiding/showing columns did not update list)
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs
Modified: trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs
==============================================================================
--- trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs (original)
+++ trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs Fri Mar 21 23:28:13 2008
@@ -429,6 +429,12 @@
cairo_context.Stroke ();
}
+ public new void QueueDraw ()
+ {
+ InvalidateHeader ();
+ InvalidateList ();
+ }
+
private void InvalidateList ()
{
InvalidateList (true);
@@ -439,7 +445,7 @@
if (IsRealized) {
this.render_everything |= render_everything;
GdkWindow.InvalidateRect (list_rendering_alloc, true);
- QueueDraw ();
+ base.QueueDraw ();
}
}
@@ -447,7 +453,7 @@
{
if (IsRealized) {
GdkWindow.InvalidateRect (header_rendering_alloc, true);
- QueueDraw ();
+ base.QueueDraw ();
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]