[gnome-shell] networkAgent: Make sure to update the OK button on dialog pop up



commit 4f7014b2d58acb1827b65718c936617aa6ae5189
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Nov 3 16:10:11 2013 -0500

    networkAgent: Make sure to update the OK button on dialog pop up
    
    For consistency.

 js/ui/components/networkAgent.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js
index 6a96568..d452f9c 100644
--- a/js/ui/components/networkAgent.js
+++ b/js/ui/components/networkAgent.js
@@ -138,6 +138,8 @@ const NetworkSecretDialog = new Lang.Class({
                            key:    Clutter.KEY_Escape,
                          },
                          this._okButton]);
+
+        this._updateOkButton();
     },
 
     _updateOkButton: function() {


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