Show
Ignore:
Timestamp:
01/11/07 18:59:03 (2 years ago)
Author:
nicfit
Message:

Profile based dbus services and a few more service methods

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/control.py

    r515 r529  
    4343                               gobject.SIGNAL_RUN_LAST, 
    4444                               gobject.TYPE_NONE, []) 
     45        self._is_active = False 
    4546 
    4647    def shutdown(self): 
    4748        pass 
    4849 
    49     def set_active(self, state = True, audio_ctrl = None): 
    50         pass 
    51     def set_focused(self, state = True): 
     50    def set_active(self, state=True, audio_ctrl=None): 
     51        self._is_active = state 
     52    def is_active(self): 
     53        return self._is_active 
     54 
     55    def set_focused(self, state=True): 
    5256        pass 
    5357