Changeset b8e0554


Ignore:
Timestamp:
05/02/11 14:06:26 (4 years ago)
Author:
xkolman2 <xkolman2@…>
Branches:
master
Children:
8faff9d1
Parents:
d7161c7
git-author:
xkolman2 <xkolman2@…> (05/02/11 14:06:26)
git-committer:
xkolman2 <xkolman2@…> (05/02/11 14:06:26)
Message:

add a forgotten parameter field

git-svn-id: https://nlp.fi.muni.cz/svn/gps_navigace/trunk@356 0858a4d0-ffff-46e5-938e-62b5ecb34222

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/base_module.py

    r3e77150 rb8e0554  
    4040 
    4141  def notify(self, message, msTimeout=0, icon=""): 
    42     if self.dmod: # if some module sends a notification during init, the device module might not be loaded 
    43       self.dmod.notify(message, msTimeout=0, icon="") 
    44       # TODO: notification module fallback 
     42    notify = self.m.get('notification') 
     43    if notify: 
     44      notify.handleNotification(message, msTimeout, icon) 
    4545 
    4646  def getStatus(self): 
     
    7979    pass 
    8080 
    81   def handleTextEntryResult(self, key): 
     81  def handleTextEntryResult(self, key, result): 
    8282    """Handle a text returned from text input interface""" 
    8383    pass 
Note: See TracChangeset for help on using the changeset viewer.