banshee r3173 - in trunk/banshee: . src/Core/Hyena.Gui/Hyena.Widgets
- From: abock svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3173 - in trunk/banshee: . src/Core/Hyena.Gui/Hyena.Widgets
- Date: Fri, 8 Feb 2008 20:14:19 +0000 (GMT)
Author: abock
Date: Fri Feb 8 20:14:19 2008
New Revision: 3173
URL: http://svn.gnome.org/viewvc/banshee?rev=3173&view=rev
Log:
2008-02-08 Aaron Bockover <abock gnome org>
* src/Core/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs: Make GtkScrolledWindow
happy by overriding OnSetScrollAdjustments to avoid g_warning spewage
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs
Modified: trunk/banshee/src/Core/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs
==============================================================================
--- trunk/banshee/src/Core/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs (original)
+++ trunk/banshee/src/Core/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs Fri Feb 8 20:14:19 2008
@@ -98,6 +98,13 @@
child.SizeAllocate (child_allocation);
}
+ protected override void OnSetScrollAdjustments (Adjustment hadj, Adjustment vadj)
+ {
+ // This is to satisfy the gtk_widget_set_scroll_adjustments
+ // inside of GtkScrolledWindow so it doesn't complain about
+ // its child not being scrollable.
+ }
+
protected override bool OnExposeEvent (Gdk.EventExpose evnt)
{
if (!IsDrawable) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]