/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: Curtis Hovey
  • Date: 2012-03-20 12:39:08 UTC
  • mfrom: (776.3.23 gpush-do-push)
  • Revision ID: sinzui.is@verizon.net-20120320123908-lclvaiasu0e50odg
Merged faster push.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
    :param message: the message you want to display.
26
26
    """
27
 
    dialog = Gtk.MessageDialog(flags=Gtk.DialogFlags.MODAL, type=type, parent=parent,
28
 
                               buttons=buttons)
 
27
    dialog = Gtk.MessageDialog(parent=parent, flags=Gtk.DialogFlags.MODAL,
 
28
                               type=type, buttons=buttons)
29
29
    dialog.set_markup('<big><b>' + primary + '</b></big>')
30
30
    dialog.format_secondary_text(secondary)
31
31
    response = dialog.run()