/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-03-14 20:12:19 UTC
  • Revision ID: jelmer@samba.org-20110314201219-wo692nzwywu6mevh
Fix formatting, imports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
def _message_dialog(type, primary, secondary, parent=None, buttons=gtk.BUTTONS_OK):
27
27
    """ Display a given type of MessageDialog with the given message.
28
 
    
 
28
 
29
29
    :param type: message dialog type
30
 
    
 
30
 
31
31
    :param message: the message you want to display.
32
32
    """
33
33
    dialog = gtk.MessageDialog(flags=gtk.DIALOG_MODAL, type=type, parent=parent,