/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to ui.py

  • Committer: Curtis Hovey
  • Date: 2012-02-27 21:07:38 UTC
  • mto: (776.3.1 gpush)
  • mto: This revision was merged to the branch mainline in revision 779.
  • Revision ID: sinzui.is@verizon.net-20120227210738-f5vb56xm2k2ii19j
Added show_user_warning implementation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
211
211
        dialog.run()
212
212
        dialog.destroy()
213
213
 
 
214
    def show_user_warning(self, warning_id, **message_args):
 
215
        """See UIFactory.show_user_warning."""
 
216
        if warning_id not in self.suppressed_warnings:
 
217
            message = self.format_user_warning(warning_id, message_args)
 
218
            self.show_warning(message)
 
219
 
214
220
    def get_password(self, prompt='', **kwargs):
215
221
        """Prompt the user for a password.
216
222