[polari] Present window when handling channels



commit b49b07e9072d54afef52d415aecd1a3aec529619
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Jul 26 19:13:51 2013 +0200

    Present window when handling channels
    
    This should always be the result of user interaction (joining a
    channel, accepting an invitation, confirming a private chat), so
    we won't throw ourselves into the user's face unexpectedly

 src/chatroomManager.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/chatroomManager.js b/src/chatroomManager.js
index fc225da..fe8fc08 100644
--- a/src/chatroomManager.js
+++ b/src/chatroomManager.js
@@ -120,6 +120,8 @@ const _ChatroomManager = new Lang.Class({
                 //channel.join_async('', null);
                 this.setActiveRoom(room);
             }));
+        let app = Gio.Application.get_default();
+        app.get_active_window().present_with_time(userTime);
     },
 
     _addRoom: function(room) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]