geany/geany — comment on commit d33f511fc49b09168284bfe030f738635f748258
File:  line 0
By elextr:

On 30 October 2011 07:18, Colomban Wendling

wrote:
> Le 28/10/2011 09:28, Enrico Tröger a écrit :
>> I agree with using xdg-open and also in utils_open_browser()
>> (I was sure we changed that already some time in the past).
>
> We used it until I committed 4151a97, which introduced a dialog to ask
> the user what to do if spawn failed. We could imaging suggest some
> default here, maybe.
>
> Maybe we could also do this for most configurable command: try the
> default, and ask the user what to do if this fails, letting her fix her
> configuration?
>

ATM utils_open_browser on win32 just opens the system configured
browser with no message if failed (in Geany, maybe windows gives a
message) and in non-win32 tries command from prefs only and dialog if
failed.

Maybe we can make them work the same, eg try the preference command,
if fail try the system configured browser (by win32_open_browser on
windows and xdg-open otherwise), if both fail pop up dialog to get new
command to try again.

Cheers
Lex

> --
> Reply to this email directly or view it on GitHub:
> https://github.com/geany/geany/commit/d33f511fc49b09168284bfe030f738635f748258#commitcomment-683200
>