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.
This commit is contained in:
parent
9becb3985d
commit
82479db084
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user