diff --git a/main/data/default_encryption_dialog.ui b/main/data/default_encryption_dialog.ui index 08a29660..5a45ed0c 100644 --- a/main/data/default_encryption_dialog.ui +++ b/main/data/default_encryption_dialog.ui @@ -1,19 +1,20 @@ - - + True True 320 260 - - - + False False vertical + 20 + 20 + 20 + 20 True @@ -67,6 +68,11 @@ Please select an option to start this conversation with. Choosing one of the enc True True True + 20 + diff --git a/main/src/ui/conversation_view_controller.vala b/main/src/ui/conversation_view_controller.vala index 51ad8daf..fadd34dd 100644 --- a/main/src/ui/conversation_view_controller.vala +++ b/main/src/ui/conversation_view_controller.vala @@ -144,6 +144,7 @@ public class ConversationViewController : Object { var omemo_radio = selection_dialog_builder.get_object("omemo") as CheckButton; var openpgp_radio = selection_dialog_builder.get_object("openpgp") as CheckButton; var none_radio = selection_dialog_builder.get_object("none") as CheckButton; + selection_dialog.set_transient_for(view.get_root() as Window); Encryption selected_default = UNKNOWN; accept_button.sensitive = false;