On 04/18/2013 04:53 AM, Dmitry Smirnov wrote: > On Thu, 18 Apr 2013 06:35:59 Sam Geeraerts wrote: >> I think we have a misunderstanding. If I understand correctly then >> you're talking about finding and listing all installed browsers. I >> agree that that is difficult and distro-specific. >> >> My suggestion is to keep the hard coded browsers array (perhaps >> slightly modified) that's already in src/ui/ui_prefs.c and check if the >> given filenames are executable. Or, in pseudocode: >> >> for b in browsers: >> for dir in $PATH: >> if [ -x "$dir/$b.filename" ] >> b.visible = true >> break >> > > I understand what you're trying to do and I think it doesn't worth the > effort. :)
I actually think the above makes a lot of sense with s/b.visible/b.sensitive/, i.e. we gray out the unavailable browsers (instead of hiding them). In any case, I want to see this done upstream. Regards, Emilio -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org