banshee r5188 - in trunk/banshee: . src/Libraries/Hyena.Gui/Hyena.Gui
- From: alexk svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r5188 - in trunk/banshee: . src/Libraries/Hyena.Gui/Hyena.Gui
- Date: Sat, 4 Apr 2009 23:46:54 +0000 (UTC)
Author: alexk
Date: Sat Apr 4 23:46:54 2009
New Revision: 5188
URL: http://svn.gnome.org/viewvc/banshee?rev=5188&view=rev
Log:
2009-04-04 Alexander Kojevnikov <alexander kojevnikov com>
* src/Libraries/Hyena.Gui/Hyena.Gui/RatingRenderer.cs: Fixed zero rating
display in the main menu (BGO #577835)
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Gui/RatingRenderer.cs
Modified: trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Gui/RatingRenderer.cs
==============================================================================
--- trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Gui/RatingRenderer.cs (original)
+++ trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Gui/RatingRenderer.cs Sat Apr 4 23:46:54 2009
@@ -55,7 +55,7 @@
public virtual void Render (Context cr, Gdk.Rectangle area, Color color, bool showEmptyStars, bool isHovering,
int hoverValue, double fillOpacity, double hoverFillOpacity, double strokeOpacity)
{
- if (!(Value > MinRating || (Value == MinRating && isHovering))) {
+ if (Value == MinRating && !isHovering && !showEmptyStars) {
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]