diff options
author | Ajay Garg <ajay@activitycentral.com> | 2012-12-10 08:48:27 (GMT) |
---|---|---|
committer | Ajay Garg <ajay@activitycentral.com> | 2012-12-10 08:48:27 (GMT) |
commit | 886ad7ea3f7ff7072fd8189912af6f8746f59c8b (patch) | |
tree | 23826e89024f1a920aadce33f708d27e27fcb5a0 /extensions | |
parent | 6a6236abe1cc86f2461beb5dd625d1140eb702b2 (diff) |
Rectifying the time-for-which-the-3G-modem-is-connected.
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/deviceicon/network.py | 6 |
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() |