tomboy r1886 - in trunk: . Tomboy
- From: sharm svn gnome org
- To: svn-commits-list gnome org
- Subject: tomboy r1886 - in trunk: . Tomboy
- Date: Sat, 23 Feb 2008 01:24:17 +0000 (GMT)
Author: sharm
Date: Sat Feb 23 01:24:17 2008
New Revision: 1886
URL: http://svn.gnome.org/viewvc/tomboy?rev=1886&view=rev
Log:
* Tomboy/Note.cs: Reverse logic in SetPositionExtent so that note
location and size information will be saved.
Modified:
trunk/ChangeLog
trunk/Tomboy/Note.cs
Modified: trunk/Tomboy/Note.cs
==============================================================================
--- trunk/Tomboy/Note.cs (original)
+++ trunk/Tomboy/Note.cs Sat Feb 23 01:24:17 2008
@@ -195,9 +195,9 @@
public void SetPositionExtent (int x, int y, int width, int height)
{
- if (x >= 0 && y >= 0)
+ if (x < 0 || y < 0)
return;
- if (width > 0 && height > 0)
+ if (width <= 0 || height <= 0)
return;
this.x = x;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]