mirror of
https://github.com/lutris/lutris
synced 2024-11-05 18:10:49 +00:00
Specify the message_type for ErrorDialog.
It doesn't seem to do anything for me; not sure why. Maybe GNOME does not like icons in message boxes anymore, but I can't find documentation for this.
This commit is contained in:
parent
1e60035441
commit
1b31108157
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ class ErrorDialog(Gtk.MessageDialog):
|
|||
"""Display an error message."""
|
||||
|
||||
def __init__(self, error, secondary=None, parent=None):
|
||||
super().__init__(buttons=Gtk.ButtonsType.OK, parent=parent)
|
||||
super().__init__(message_type=Gtk.MessageType.ERROR, buttons=Gtk.ButtonsType.OK, parent=parent)
|
||||
|
||||
# Some errors contain < and > and lok like markup, but aren't-
|
||||
# we'll need to protect the message box against this
|
||||
|
|
Loading…
Reference in a new issue