Changeset 155

Show
Ignore:
Timestamp:
04/09/08 19:44:11 (9 months ago)
Author:
poillubo
Message:

* added a new plugin to show the dimensions of a resized window (named ResizePos?)
* refactored the MovePos? plugin to share some code with ShowPos?
* the size of the dimensions window for (Move|Resize)Pos is now dynamic
* added the ResizePos? plugin in the default config

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/conf/config-example.py

    r147 r155  
    3434                         ConfigMenu, AddPluginMenu, DynamicAddPluginMenu, 
    3535                         RemovePluginMenu) 
    36 from pycawm.plugins import (ActionButtonBox, MiniIconBox, MovePos, Pager
    37                             RemoteREPL, StickyRootEdges) 
     36from pycawm.plugins import (ActionButtonBox, MiniIconBox, MovePos, ResizePos
     37                            Pager, RemoteREPL, StickyRootEdges) 
    3838 
    3939 
     
    232232# When we move a client, show its new position. 
    233233pika.add_plugin(MovePos) 
     234# When we resize a client, show its new dimensions. 
     235pika.add_plugin(ResizePos) 
    234236# Add sticky edges to the root window. The default threshold to stick a window 
    235237# onto the border is 20 pixels. 
  • trunk/pycawm/plugins/__init__.py

    r145 r155  
    2424from actionbuttonbox import ActionButtonBox 
    2525from miniiconbox import MiniIconBox 
    26 from movepos import MovePos 
     26from showpos import MovePos, ResizePos 
    2727from pager import Pager 
    2828from remoteREPL import RemoteREPL