Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorAjay Garg <ajay@activitycentral.com>2012-12-10 08:48:27 (GMT)
committer Ajay Garg <ajay@activitycentral.com>2012-12-10 08:48:27 (GMT)
commit886ad7ea3f7ff7072fd8189912af6f8746f59c8b (patch)
tree23826e89024f1a920aadce33f708d27e27fcb5a0 /extensions
parent6a6236abe1cc86f2461beb5dd625d1140eb702b2 (diff)
Rectifying the time-for-which-the-3G-modem-is-connected.
Diffstat (limited to 'extensions')
-rw-r--r--extensions/deviceicon/network.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/extensions/deviceicon/network.py b/extensions/deviceicon/network.py
index b04537a..a6bd213 100644
--- a/extensions/deviceicon/network.py
+++ b/extensions/deviceicon/network.py
@@ -884,12 +884,6 @@ class GsmDeviceView(TrayIcon):
gsm_state = _GSM_STATE_CONNECTED
connection = network.find_gsm_connection()
if connection is not None:
- # Introspect the settings's keys once; else sometimes
- # the key 'timestamp' gets missed.
- connection.get_settings('connection').keys()
-
- self._connection_timestamp = time.time() - \
- connection.get_settings('connection')['timestamp']
self._connection_time_handler = GObject.timeout_add_seconds( \
1, self.__connection_timecount_cb)
self._palette.update_connection_time()