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

def rule_dialog::RuleDialog::run (   self,
  rule 
)

Show the dialog to modify rule.

Definition at line 156 of file rule_dialog.py.

00156                        :
        '''Show the dialog to modify rule.'''
        self._load_rule(rule)
        res = self.window.run()
        while res == gtk.RESPONSE_OK and not self._validate_values():
            res = self.window.run()
        if res == gtk.RESPONSE_OK:
            self._save_rule(rule)
        return res

    __action_map = (('rule_always', Rule.ACTION_ALWAYS),


Generated by  Doxygen 1.6.0   Back to index