aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/application.vala
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/application.vala')
-rw-r--r--main/src/ui/application.vala7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/src/ui/application.vala b/main/src/ui/application.vala
index 138411a0..bff25696 100644
--- a/main/src/ui/application.vala
+++ b/main/src/ui/application.vala
@@ -167,10 +167,11 @@ public class Dino.Ui.Application : Gtk.Application, Dino.Application {
}
Box content_area = dialog.get_content_area();
content_area.add(conference_fragment);
+ conference_fragment.joined.connect(() => {
+ dialog.destroy();
+ });
dialog.response.connect((response_id) => {
- if (response_id == ResponseType.OK) {
- dialog.destroy();
- } else if (response_id == ResponseType.CANCEL) {
+ if (response_id == ResponseType.CANCEL) {
dialog.destroy();
}
});