banshee r3355 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Sources.Gui
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3355 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Sources.Gui
- Date: Fri, 29 Feb 2008 04:36:35 +0000 (GMT)
Author: gburt
Date: Fri Feb 29 04:36:35 2008
New Revision: 3355
URL: http://svn.gnome.org/viewvc/banshee?rev=3355&view=rev
Log:
2008-02-28 Gabriel Burt <gabriel burt gmail com>
* src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Fix
calculation figuring out whether or not the click is on the expander.
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs Fri Feb 29 04:36:35 2008
@@ -163,7 +163,8 @@
// From F-Spot's SaneTreeView class
int expander_size = (int) StyleGetProperty ("expander-size");
int horizontal_separator = (int) StyleGetProperty ("horizontal-separator");
- bool on_expander = (press.X <= (horizontal_separator / 2 + path.Depth * expander_size));
+ bool on_expander = (press.X <= (horizontal_separator * 2 + path.Depth * expander_size));
+
if (on_expander) {
bool ret = base.OnButtonPressEvent (press);
// If the active source is a child of this source, and we are about to collapse it, switch
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]