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

Inspiring people to try a browser that is not in the package repo (i.e.
Opera) is what I'm trying to avoid for gNewSense. I just thought to
deal with the more generic issue instead of just editing the hard coded
array. Those who choose to configure the browser setting up front are
probably power users who have no problem with the manual setting edit
box.

I understand that you want to keep differences with upstream to a
minimum. I'll try to come up with a patch and take my case upstream.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to