[caribou: 4/4] broke some lines



commit 449646f0fa0e43c4f9dc9abf735d23a7f0c27cb4
Author: Eitan Isaacson <eitan monotonous org>
Date:   Mon Dec 7 11:37:14 2009 -0800

    broke some lines

 src/caribou/window.py |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/caribou/window.py b/src/caribou/window.py
index 1c01575..20caad3 100644
--- a/src/caribou/window.py
+++ b/src/caribou/window.py
@@ -129,10 +129,13 @@ class CaribouWindow(gtk.Window):
                                     self.allocation.width, 
                                     self.allocation.height))
 
-        if CaribouWindowPlacement.SCREEN != self._default_placement.x.stickto or \
-                CaribouWindowPlacement.SCREEN != self._default_placement.y.stickto:
+        if CaribouWindowPlacement.SCREEN != \
+                self._default_placement.x.stickto or \
+                CaribouWindowPlacement.SCREEN != \
+                self._default_placement.y.stickto:
             if self._entry_location != gtk.gdk.Rectangle(0, 0, 0, 0):
-                distance2 = self._get_distance_to_bbox(x, y, self._entry_location)
+                distance2 = self._get_distance_to_bbox(x, y, 
+                                                       self._entry_location)
                 distance = min(distance, distance2)
 
         opacity = (self.max_alpha - self.min_alpha) * \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]