banshee r5163 - in trunk/banshee: . src/Core/Banshee.Widgets/Banshee.Widgets
- From: blorentz svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r5163 - in trunk/banshee: . src/Core/Banshee.Widgets/Banshee.Widgets
- Date: Wed, 25 Mar 2009 21:04:45 +0000 (UTC)
Author: blorentz
Date: Wed Mar 25 21:04:45 2009
New Revision: 5163
URL: http://svn.gnome.org/viewvc/banshee?rev=5163&view=rev
Log:
2009-03-25 Bertrand Lorentz <bertrand lorentz gmail com>
* src/Core/Banshee.Widgets/Banshee.Widgets/SeekSlider.cs: Patch from
Alexander Kojevnikov fixing the position calculation for clicks on the
seek slider (BGO #575635).
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.Widgets/Banshee.Widgets/SeekSlider.cs
Modified: trunk/banshee/src/Core/Banshee.Widgets/Banshee.Widgets/SeekSlider.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Widgets/Banshee.Widgets/SeekSlider.cs (original)
+++ trunk/banshee/src/Core/Banshee.Widgets/Banshee.Widgets/SeekSlider.cs Wed Mar 25 21:04:45 2009
@@ -81,7 +81,7 @@
if (can_seek) {
if (evnt.Button == 1) {
- SeekValue = (long) (evnt.X / WidthRequest * Duration); // seek to clicked position
+ SeekValue = (long) (evnt.X / Allocation.Width * Duration); // seek to clicked position
}
OnSeekRequested();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]