> Mike wrote:
> > it leaves you rather clueless at what to do.  No error is thrown
> 
> That is a bug that should be fixed.
> 
> Related to this bug is Mike's request to add "xdg-utils" in Suggests or
> Recommends.
> 
> I see now that src/fe-gtk/fe-gtk.c uses "xdg-open".
> 
> So, what needs to be done, in my opinion:
> 
> 1. Try to reproduce the bug with the description provided by Mike.  Then
> Fix the part "no error is thrown".

As you can see in fe-gtk.c around line 906, it iterates through
xdg-open, gnome-open, kfmclient, finally it falls back on firefox and
mozilla.  If it turns out that everything failed, it could simply add an
error message.

> 2. Study the effect of having xdg-utils installed/uninstalled on GNOME
> and KDE.  The faq mentiones that "xdg-open" is tried first.  Maybe xchat
> should be modified so that "xdg-open" is tried after the logic specific
> to GNOME and KDE.

Have a look at xdg-open, it does the job in a clean way.  It checks the
current running desktop and executes either gnome-open, kfmclient, or
exo-open.  Otherwise it tries something more generic that will work for
other environments.

> 3. Add "xdg-utils" to "Recommends:".

Good :-)

Regards,
Mike



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to