Log In
New Account
  
Home My Page Project Cloud Code Snippets Project Openings Hermes
Summary Lists News SCM
1 #!/usr/bin/env python
3 import org.maemo.hermes.engine.facebook.provider
4 import gnome.gconf
5 import org.maemo.hermes.engine.twitter.provider
6 import org.maemo.hermes.engine.gravatar.provider
7 import org.maemo.hermes.engine.linkedin.provider
8 from org.maemo.hermes.gui.gtkui import HermesGUI
10 # -- Check environment...
11 #
12 if gnome.gconf.client_get_default().get_string('/desktop/gnome/url-handlers/http/command') == 'epiphany %s':
13     raise Exception('Browser in gconf invalid (see NB#136012). Installation error.')
15 # -- Start the GUI with the known providers...
16 #
17 gui = HermesGUI(providers = [
18                  org.maemo.hermes.engine.facebook.provider.Provider(),
19                  org.maemo.hermes.engine.twitter.provider.Provider(),
20                  org.maemo.hermes.engine.gravatar.provider.Provider(),
21                  org.maemo.hermes.engine.linkedin.provider.Provider(),
22              ])
23 gui.run()

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment