about summary refs log tree commit diff stats
path: root/fungus/dialogs.py
diff options
context:
space:
mode:
Diffstat (limited to 'fungus/dialogs.py')
-rw-r--r--fungus/dialogs.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/fungus/dialogs.py b/fungus/dialogs.py
index 72bf5fe..56c47e3 100644
--- a/fungus/dialogs.py
+++ b/fungus/dialogs.py
@@ -242,26 +242,6 @@ def create_error_dialog(
         sys.exit()
 
 
-class SteamRuntimeWarningDialog(Gtk.MessageDialog):
-    """Warn the user that the UMU Steam Runtime is not available."""
 
-    def __init__(self):
-        super().__init__(
-            parent=None,
-            flags=Gtk.DialogFlags.MODAL,
-            message_type=Gtk.MessageType.WARNING,
-            buttons=Gtk.ButtonsType.OK,
-            text="Steam Runtime not available",
-        )
-        self.format_secondary_text(
-            "The UMU Steam Runtime directory was not found. "
-            "Games using UMU-Launcher will not be able to run.\n\n"
-            "Please open Settings → UMU-Launcher and update the runtime."
-        )
-        self.set_resizable(False)
-        self.set_icon_from_file(fungus_png)
-        subprocess.Popen(["canberra-gtk-play", "-i", "dialog-warning"])
-        self.run()
-        self.destroy()