You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -436,20 +436,19 @@ class BottleView(Adw.PreferencesPage):
23
+
dialog.connect("response", execute)
24
+
dialog.show()
25
+
26
+
- if Xdp.Portal.running_under_sandbox():
27
+
- if self.window.settings.get_boolean("show-sandbox-warning"):
28
+
- dialog = Adw.MessageDialog.new(
29
+
- self.window,
30
+
- _("Be Aware of Sandbox"),
31
+
- _(
32
+
- "Bottles is running in a sandbox, a restricted permission environment needed to keep you safe. If the program won't run, consider moving inside the bottle (3 dots icon on the top), then launch from there."
33
+
- ),
34
+
- )
35
+
- dialog.add_response("dismiss", _("_Dismiss"))
36
+
- dialog.connect("response", show_chooser)
37
+
- dialog.present()
38
+
- else:
39
+
- show_chooser()
40
+
+ if self.window.settings.get_boolean("show-sandbox-warning"):
41
+
+ dialog = Adw.MessageDialog.new(
42
+
+ self.window,
43
+
+ _("Be Aware of Sandbox"),
44
+
+ _(
45
+
+ "Bottles is running in a sandbox, a restricted permission environment needed to keep you safe. If the program won't run, consider moving inside the bottle (3 dots icon on the top), then launch from there."
0 commit comments