Logo Search packages:      
Sourcecode: sabayon version File versions  Download package

def lib::userprofile::ProfileSource::emit_change (   self,
  change 
)

Pass @change to all register delegates for this source and
emit a 'changed' signal with @change if none of the delegates
return #True.

Definition at line 252 of file userprofile.py.

00252                                   :
        """Pass @change to all register delegates for this source and
        emit a 'changed' signal with @change if none of the delegates
        return #True.
        """
        for delegate in self.delegates:
            if not change.get_id ().startswith (delegate.namespace_section):
                continue
            if delegate.handle_change (change):
                dprint ("Delegate '%s' handled change '%s'", delegate.get_name (), change.get_id ())
                return
        self.emit ("changed", change)
        
    def commit_change (self, change, mandatory = False):


Generated by  Doxygen 1.6.0   Back to index