from org.maemo.hermes.gui.accountsdialogue import AccountsDialogue
from org.bleb.wimpworks import HildonMainScreenLayout
from org.maemo.hermes.engine.hermes import Hermes
+from org.maemo.hermes.engine.service import CredentialsExpiredException
class HermesGUI(WimpWorks):
"""Provides the GUI for Hermes, allowing the syncing of Facebook and
except urllib2.URLError, e:
traceback.print_exc()
gobject.idle_add(self.report_error, _('Network connection error. Check connectivity.'))
+
+ except CredentialsExpiredException, e:
+ gobject.idle_add(self.report_error, _('Credentials expired. Please reauthorise: ') + e.message)
except Exception, e:
traceback.print_exc()