/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: Jelmer Vernooij
  • Date: 2011-02-24 13:52:36 UTC
  • mfrom: (714.1.1 bzr-gtk)
  • Revision ID: jelmer@samba.org-20110224135236-wuez4jq6pvqp9q1e
Don't format secondary text in error dialogs. (Edward Ari Bichetero)

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