[polari] connections: Enable newly created accounts
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [polari] connections: Enable newly created accounts
- Date: Wed,  9 Oct 2013 20:08:46 +0000 (UTC)
commit 9474986d7865f132e6a5ab1509b890bc412a6f37
Author: Carlos Soriano <carlos soriano89 gmail com>
Date:   Wed Oct 9 21:42:11 2013 +0200
    connections: Enable newly created accounts
    
    We assume that if we create a account we want to use it.
    So enable accounts after creation.
 src/connections.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/connections.js b/src/connections.js
index 1e3106a..91954b0 100644
--- a/src/connections.js
+++ b/src/connections.js
@@ -154,6 +154,7 @@ const ConnectionsDialog = new Lang.Class({
                                           connection_manager: 'idle',
                                           protocol: 'irc',
                                           display_name: params.name });
+        req.set_enabled(true);
 
         let [details,] = this._detailsFromParams(params, {});
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]