X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=package%2Fsrc%2Fwifi_assistant%2Flauncher.py;fp=package%2Fsrc%2Fwifi_assistant%2Flauncher.py;h=0000000000000000000000000000000000000000;hb=635da74643ed775f97d1dfe602e9150fddf5840b;hp=721c33a234b1c3c18ba3b3a21cd2c03e5f7f5164;hpb=0da30082ee98d6f033d1fe001d6cea5d9592b4a7;p=wifi-assistant diff --git a/package/src/wifi_assistant/launcher.py b/package/src/wifi_assistant/launcher.py deleted file mode 100644 index 721c33a..0000000 --- a/package/src/wifi_assistant/launcher.py +++ /dev/null @@ -1,28 +0,0 @@ -#!/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