self._window.set_title("%s - %s" % (constants.__pretty_app_name__, tabTitle))
def _on_sms_clicked(self, number, message):
- """
- @todo Potential blocking on web access, maybe we should defer parts of this or put up a dialog?
- """
assert number
assert message
try:
self._errorDisplay.push_exception(e)
def _on_dial_clicked(self, number):
- """
- @todo Potential blocking on web access, maybe we should defer parts of this or put up a dialog?
- """
assert number
try:
loggedIn = self._phoneBackends[self._selectedBackendId].is_authed()
self._callbackCombo.get_child().set_text(make_pretty(callbackNumber))
def _set_callback_number(self, number):
- """
- @todo Potential blocking on web access, maybe we should defer this or put up a dialog?
- """
try:
if not self._backend.is_valid_syntax(number):
self._errorDisplay.push_message("%s is not a valid callback number" % number)
self._errorDisplay.push_exception(e)
def _on_callbackentry_changed(self, *args):
- """
- @todo Potential blocking on web access, maybe we should defer this or put up a dialog?
- """
text = self.get_selected_callback_number()
self._set_callback_number(text)
warnings.warn(traceback.format_exc())
raise RuntimeError("%s is not accesible" % self._setforwardURL)
- # @bug This does not seem to be keeping on my tablet (but works on the
- # desktop), or the reading isn't working too well
self._browser.cookies.save()
return True