~roadmr/checkbox/templates-utf8-encoding

« back to all changes in this revision

Viewing changes to plugins/error_prompt.py

  • Committer: Marc Tardif
  • Date: 2012-06-12 15:03:42 UTC
  • mfrom: (1383.1.9 bug1012052)
  • Revision ID: marc.tardif@canonical.com-20120612150342-zpc1n2kmc2iftph3
Merged fix to bug #1012052 by javier.collado.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
        self._manager.reactor.call_on("prompt-error",
28
28
            self.prompt_error)
29
29
 
30
 
    def prompt_error(self, interface, text):
31
 
        interface.show_error(text)
 
30
    def prompt_error(self, interface,
 
31
                     primary_text, secondary_text=None, detailed_text=None):
 
32
        interface.show_error(primary_text, secondary_text, detailed_text)
32
33
 
33
34
 
34
35
factory = ErrorPrompt