Changeset 135

Show
Ignore:
Timestamp:
24.01.2008 03:32:22 (1 year ago)
Author:
elghinn
Message:

* pep 8 forever

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/pycawm/plugins/actionbuttonbox.py

    r134 r135  
    2323    raise ImportError('actionbuttonbox module needs at least Python 2.5!') 
    2424 
    25 from Xlib import X, Xatom, display 
     25from Xlib import X, display 
    2626 
    2727from pycawm.wrappers import DisplayWrapper 
    28 from pycawm import Client, atomsdb 
    2928 
    3029class ActionButtonBox(object): 
     
    7574                                          window_geometry.width, 
    7675                                          window_geometry.height) 
    77         self.window_pixmap.copy_area(self.gc, self.wm.get_root_pixmap(), window_geometry.x, window_geometry.y, window_geometry.width, window_geometry.height, 0, 0) 
     76        self.window_pixmap.copy_area(self.gc, self.wm.get_root_pixmap(), 
     77                                     window_geometry.x, window_geometry.y, 
     78                                     window_geometry.width, 
     79                                     window_geometry.height, 0, 0) 
    7880        for j in xrange(self.row): 
    7981            for i in xrange(self.col): 
     
    103105            return 
    104106        # pointer outside of the menu y coordinates? 
    105         if y < 0 or y> self.window.get_geometry().height: 
     107        if y < 0 or y > self.window.get_geometry().height: 
    106108            return 
    107109        if self.buttons[y / 16][x / 16]: