Show
Ignore:
Timestamp:
01/19/2009 04:13:49 PM (20 months ago)
Author:
Friedrich Weber <fred@…>
Children:
e0dcbc4245921a5dc074ffdf2051052aa6f85a51
Parents:
7e58fdb1405cc187750cdac4729d8ce492469f64
git-committer:
Friedrich Weber <fred@samurai-x.org> / 2009-01-19T16:13:49Z+0100
Message:

some font + cursor wrapping, added experimental sxtiling plugin

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • sx-actions/sxactions/__init__.py

    r4e43a0 rd333ee  
     1import logging 
     2log = logging.getLogger(__name__) 
     3 
    14import subprocess 
    25 
     
    9699                'spawn': self.action_spawn, 
    97100                'quit': self.action_quit, 
     101                'log': self.action_log, 
    98102                } # TODO: dotted names? 
    99103 
     
    114118        """ 
    115119        self.app.stop() 
     120 
     121    def action_log(self, info): 
     122        """ 
     123            print something to the log 
     124 
     125            Parameters: 
     126                `message`: str 
     127                    (optional) 
     128        """ 
     129        log.debug(info.get('message', 'Debug message ...')) 
    116130 
    117131    def register(self, ident, action):