Permalink
Browse files

[gi] Respect the MessageType for Gtk.MessageDialog

Don't just ignore the type argument, actually pass it on. Thanks to Tualatrix
Chou for spotting this!
  • Loading branch information...
1 parent 029a79d commit 2da60baec4f43c41f43527cbfde4e21e0eea728c @martinpitt martinpitt committed Mar 16, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 gi/overrides/Gtk.py
View
1 gi/overrides/Gtk.py
@@ -410,6 +410,7 @@ def __init__(self,
kwds['text'] = message_format
Gtk.MessageDialog.__init__(self,
_buttons_property=buttons,
+ message_type=type,
**kwds)
Dialog.__init__(self, parent=parent, flags=flags)

0 comments on commit 2da60ba

Please sign in to comment.