[Bugs] #1652 URGE: Add Connection Information to 3G (GSM) Modem Support
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Thu Feb 11 11:42:22 EST 2010
#1652: Add Connection Information to 3G (GSM) Modem Support
------------------------------------+---------------------------------------
Reporter: Dcastelo | Owner: Dcastelo
Type: enhancement | Status: reopened
Priority: Urgent | Milestone: 0.88
Component: sugar | Version: Git as of bugdate
Severity: Major | Resolution:
Keywords: 3G GSM modem usb r? | Distribution: Fedora
Status_field: Assigned |
------------------------------------+---------------------------------------
Changes (by Dcastelo):
* keywords: 3G GSM modem usb r+ => 3G GSM modem usb r?
Comment:
I could fix some points. But I had problems with two of them:
+ "Ideally, this timeout would be only active while the palette is visible
and the palette would update its stats on popup (there's a signal for
that)"
I remove the time handler at the same moment that hide the palette:
if self._connection_time_handler is not None:
gobject.source_remove(self._connection_time_handler)
self._palette.info_box.hide()
And I add the handler when I show it:
self._connection_time_handler = gobject.timeout_add(1000...
self._palette.info_box.show()
+ self._palette._conn_time_label.set_text(_("Connection time ") +
connection_time.strftime('%H : %M : %S'))
Guess that the time format should be translatable, to account for
different formats across countries
I don't know the way to make this, but the connection time depends on the
country? Because it isn't a "normal" date.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/1652#comment:8>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list