fix disclaimer dialog and it not appearing on mobile

parent f7fd088e
Pipeline #247536 passed with stage
in 14 minutes and 5 seconds
......@@ -130,9 +130,8 @@ class GApplication(Gtk.Application):
'You can always change this setting in the application '
'preferences.'
),
flags=(
Gtk.DialogFlags.MODAL | Gtk.DialogFlags.DESTROY_WITH_PARENT
)
transient_for=self.window,
modal=True
)
try:
child = disclaimer_dialog
......@@ -152,7 +151,6 @@ class GApplication(Gtk.Application):
disclaimer_dialog.set_transient_for(self.window)
disclaimer_dialog.connect('response', on_response)
disclaimer_dialog.present()
disclaimer_dialog.show()
else:
self.continue_activate()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment