mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue