Show
Ignore:
Timestamp:
05/17/07 12:44:04 (20 months ago)
Author:
aafshar
Message:

* Stop plugins
* Unregister them when stopped
* Unregister their events
* Unregister their features
* remove their UI and actions

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pida/core/actions.py

    r637 r873  
    8989        self.create_actions() 
    9090        if self.svc.boss is not None: 
    91             self.svc.boss.add_action_group_and_ui( 
     91            self.ui_merge_id = self.svc.boss.add_action_group_and_ui( 
    9292                self._actions, 
    9393                '%s.xml' % self.svc.get_name() 
     
    102102        group for the service, and can be used for any purpose. 
    103103        """ 
     104 
     105    def remove_actions(self): 
     106        self.svc.boss.remove_action_group_and_ui(self._actions, self.ui_merge_id) 
    104107 
    105108    def create_action(self, name, atype, label, tooltip, stock_id,