self._osso = None
self._clipboard = gtk.clipboard_get()
- self._deviceIsOnline = True
self._credentials = ("", "")
self._selectedBackendId = self.NULL_BACKEND
self._defaultBackendId = self.GC_BACKEND
try:
assert 0 <= numOfAttempts, "That was pointless having 0 or less login attempts"
assert self._initDone, "Attempting login before app is fully loaded"
- if not self._deviceIsOnline:
- raise RuntimeError("Unable to login, device is not online")
serviceId = self.NULL_BACKEND
loggedIn = False
@note Thread agnostic
"""
assert self._initDone, "Attempting login before app is fully loaded"
- if not self._deviceIsOnline:
- raise RuntimeError("Unable to login, device is not online")
loggedIn = False
if not loggedIn:
bearer = event.get_bearer_type()
if status == conic.STATUS_CONNECTED:
- self._deviceIsOnline = True
if self._initDone:
self._spawn_attempt_login(2)
elif status == conic.STATUS_DISCONNECTED:
- self._deviceIsOnline = False
if self._initDone:
self._defaultBackendId = self._selectedBackendId
self._change_loggedin_status(self.NULL_BACKEND)
<child>
<widget class="GtkLabel" id="gcnumber_display">
<property name="visible">True</property>
- <property name="label" translatable="yes"><span size="15000" weight="bold">(518) 555-1212</span></property>
+ <property name="label" translatable="yes">No Number Available</property>
<property name="use_markup">True</property>
</widget>
<packing>
<property name="visible">True</property>
<property name="xalign">1</property>
<property name="xpad">5</property>
- <property name="label" translatable="yes">GrandCentral
+ <property name="label" translatable="yes">Google Voice
Number:</property>
<property name="justify">right</property>
</widget>