+++ /dev/null
-#!/usr/bin/python2.5
-from gnome import gconf
-import osso
-
-class Launcher():
-
- """Opens a URL in a browser."""
-
- def __init__(self):
- pass
-
- # ---- public API __________________________________________________________
-
- def launchBrowser(self, browser_name, browser_options):
- """Uses the specified browser and makes the calls specified in the browser_options"""
- # TODO:
-
- url = browser_options['url']
- self.openUrl(url)
-
-
- def openUrl(self, url):
- """Uses the default browser to open the specified url."""
-
- osso_context = osso.Context("org.maemo.touchsearch", "1.1", False)
- osso_rpc = osso.Rpc(osso_context)
- osso_rpc.rpc_run_with_defaults("osso_browser", "open_new_window", (url,))
-
\ No newline at end of file