Fix wrong variable name

This commit is contained in:
Nicolas Évrard committed 2011-04-08 18:49:56 +02:00
1 parent 68dac36f8b
commit 1d94c23bae
1 file changed
+1 -1
+1 -1
View File
@@ -509,7 +509,7 @@ class MessageDialog(UniqueDialog):
def build_dialog(self, message, parent, msg_type):
dialog = gtk.MessageDialog(parent,
gtk.DIALOG_MODAL|gtk.DIALOG_DESTROY_WITH_PARENT, msg_type,
gtk.BUTTONS_OK, msg)
gtk.BUTTONS_OK, message)
return dialog
def __call__(self, message, parent, msg_type=gtk.MESSAGE_INFO):