Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulio Daniel Reyes <nemesiscodex@gmail.com>2013-07-02 13:37:59 (GMT)
committer Julio Daniel Reyes <nemesiscodex@gmail.com>2013-07-02 13:37:59 (GMT)
commitba9b40f3889ab9356db4024305c9cbe0983f7e06 (patch)
tree070268f5f776d755ad9573a0fd6cc07c16ed1f2f
parentf88cd62d6ffdead1996473f3e3749ebce91f60d7 (diff)
3g share fix
-rw-r--r--src/jarabe/model/network.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/jarabe/model/network.py b/src/jarabe/model/network.py
index cc02b58..e481f70 100644
--- a/src/jarabe/model/network.py
+++ b/src/jarabe/model/network.py
@@ -907,13 +907,14 @@ def activate_connection_by_path(connection, device_o,
error_handler=error_handler)
-def add_and_activate_connection(device_o, settings, specific_object):
+def add_and_activate_connection(device_o, settings, specific_object,
+ reply_handler=_add_and_activate_reply_cb,
+ error_handler=_add_and_activate_error_cb):
manager = get_manager()
manager.AddAndActivateConnection(settings.get_dict(), device_o,
specific_object,
- reply_handler=_add_and_activate_reply_cb,
- error_handler=_add_and_activate_error_cb)
-
+ reply_handler=reply_handler,
+ error_handler=error_handler)
def _migrate_old_wifi_connections():
"""Migrate connections.cfg from Sugar-0.94 and previous to NetworkManager