From 82479db084e5ea745e33cd99071b3c44014be1a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 11 Mar 2015 01:04:38 +0100 Subject: [PATCH] telepathyClient: Close overview and panel when activated There's a strong expectation that delegating or presenting a channel will result in a window being activated, so close both overview and calendar as we do elsewhere. --- js/ui/components/telepathyClient.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js index e6ade4022..44048d5b8 100644 --- a/js/ui/components/telepathyClient.js +++ b/js/ui/components/telepathyClient.js @@ -356,6 +356,9 @@ const ChatSource = new Lang.Class({ }, open: function() { + Main.overview.hide(); + Main.panel.closeCalendar(); + if (this._client.is_handling_channel(this._channel)) { // We are handling the channel, try to pass it to Empathy or Polari // (depending on the channel type)