2 from gnome import gconf
7 """Opens a URL in a browser."""
12 # ---- public API __________________________________________________________
14 def launchBrowser(self, browser_name, browser_options):
15 """Uses the specified browser and makes the calls specified in the browser_options"""
18 url = browser_options['url']
22 def openUrl(self, url):
23 """Uses the default browser to open the specified url."""
25 osso_context = osso.Context("org.maemo.touchsearch", "1.1", False)
26 osso_rpc = osso.Rpc(osso_context)
27 osso_rpc.rpc_run_with_defaults("osso_browser", "open_new_window", (url,))