Config UI: Only offer the user browsers that are installed
authorSteven Luo <steven+maemo@steven676.net>
Fri, 27 Aug 2010 09:57:52 +0000 (02:57 -0700)
committerSteven Luo <steven+maemo@steven676.net>
Fri, 27 Aug 2010 09:57:52 +0000 (02:57 -0700)
commit66427a46de07429172b40f29cf257055c9f58f48
tree0da026b8b989861ad587d96f0dab823101e4603f
parent717d5e7fb0b84458e74468f0507d6dcfc1ba071d
Config UI: Only offer the user browsers that are installed

Check to see which of the known browsers is installed, and only offer
the user choices for the ones that are.  If the currently configured
default browser is not installed (e.g. if the user uninstalled the
browser without changing the default), use the default default browser
like browser-switchboard does.

This fixes Browser Switchboard bug 5469:
https://garage.maemo.org/tracker/index.php?func=detail&aid=5469&group_id=1159&atid=4348
config-ui/browser-switchboard-cp.c
config-ui/browsers.h [new file with mode: 0644]