[polari] mainWindow: Don't mark app as busy while connecting



commit 5e880a64ac3584cf70b0eed320ac9a35ed1d5f11
Author: Bastian Ilsø <bastianilso src gnome org>
Date:   Wed Jul 29 21:38:07 2015 +0200

    mainWindow: Don't mark app as busy while connecting
    
    It is not necessary to mark Polari as busy since in-app indication
    take care of indicating the status for each individual
    connection already.

 src/mainWindow.js |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 6e6ad86..cc7b730 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -129,12 +129,10 @@ const MainWindow = new Lang.Class({
         let app = Gio.Application.get_default();
         let notification = new AppNotifications.ConnectingNotification(account);
         app.notificationQueue.addNotification(notification);
-        app.mark_busy();
 
         account._connectingNotification = notification;
         notification.widget.connect('destroy',
             function() {
-                app.unmark_busy();
                 delete account._connectingNotification;
             });
     },


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