[gnome-shell] telepathyClient: Close overview and panel when activated
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] telepathyClient: Close overview and panel when activated
- Date: Wed, 11 Mar 2015 00:18:36 +0000 (UTC)
commit 82479db084e5ea745e33cd99071b3c44014be1a1
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Mar 11 01:04:38 2015 +0100
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 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js
index e6ade40..44048d5 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]