banshee r4147 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Sources.Gui
- From: abock svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4147 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Sources.Gui
- Date: Thu, 12 Jun 2008 20:08:55 +0000 (UTC)
Author: abock
Date: Thu Jun 12 20:08:55 2008
New Revision: 4147
URL: http://svn.gnome.org/viewvc/banshee?rev=4147&view=rev
Log:
2008-06-12 Aaron Bockover <abock gnome org>
* src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs:
Ignore the prelit state if we're not embedded in a combo, fixes an
works around a bug with some themes (ubuntu studio in particular)
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs Thu Jun 12 20:08:55 2008
@@ -98,7 +98,7 @@
return widget.HasFocus ? StateType.Selected : StateType.Active;
} else if ((flags & CellRendererState.Prelit) == CellRendererState.Prelit) {
ComboBox box = parent_widget as ComboBox;
- return box == null || box.PopupShown ? StateType.Prelight : StateType.Normal;
+ return box != null && box.PopupShown ? StateType.Prelight : StateType.Normal;
} else if (widget.State == StateType.Insensitive) {
return StateType.Insensitive;
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]