banshee r5137 - in trunk/banshee: . src/Libraries/Hyena.Gui/Hyena.Widgets
- From: blorentz svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r5137 - in trunk/banshee: . src/Libraries/Hyena.Gui/Hyena.Widgets
- Date: Sun, 15 Mar 2009 14:45:51 +0000 (UTC)
Author: blorentz
Date: Sun Mar 15 14:45:51 2009
New Revision: 5137
URL: http://svn.gnome.org/viewvc/banshee?rev=5137&view=rev
Log:
2009-03-15 Bertrand Lorentz <bertrand lorentz gmail com>
* src/Libraries/Hyena.Gui/Hyena.Widgets/RatingMenuItem.cs: Patch from
Alexander Kojevnikov fixing the bug where right-clicking on a track in
the Play Queue would clear its rating (BGO #575384).
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/RatingMenuItem.cs
Modified: trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/RatingMenuItem.cs
==============================================================================
--- trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/RatingMenuItem.cs (original)
+++ trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/RatingMenuItem.cs Sun Mar 15 14:45:51 2009
@@ -75,6 +75,9 @@
protected override bool OnButtonReleaseEvent (Gdk.EventButton evnt)
{
+ if (evnt.X == 0 && evnt.Y == 0) {
+ return false;
+ }
entry.SetValueFromPosition (TransformX (evnt.X));
return true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]