/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 dialog.py

  • Committer: Edward Ari Bichetero
  • Date: 2011-02-24 09:49:08 UTC
  • mto: This revision was merged to the branch mainline in revision 715.
  • Revision ID: ebichete@yahoo.com-20110224094908-gm0b2phgcye3t32j
Stop crashes when bzr errors include markup-like text (that is not valid markup).

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    dialog = gtk.MessageDialog(flags=gtk.DIALOG_MODAL, type=type, parent=parent,
34
34
                               buttons=buttons)
35
35
    dialog.set_markup('<big><b>' + primary + '</b></big>')
36
 
    dialog.format_secondary_markup(secondary)
 
36
    dialog.format_secondary_text(secondary)
37
37
    response = dialog.run()
38
38
    dialog.destroy()
39
39
    return response