[Geany-devel] SF.net SVN: geany:[5909] trunk/src/utils.c
Lex Trotman
elextr at xxxxx
Sun Sep 11 21:32:16 UTC 2011
On 12 September 2011 03:06, <colombanw at users.sourceforge.net> wrote:
> Revision: 5909
> http://geany.svn.sourceforge.net/geany/?rev=5909&view=rev
> Author: colombanw
> Date: 2011-09-11 17:06:11 +0000 (Sun, 11 Sep 2011)
> Log Message:
> -----------
> Cleanup code in utils_open_browser()
>
> Modified Paths:
> --------------
> trunk/src/utils.c
>
> Modified: trunk/src/utils.c
> ===================================================================
> --- trunk/src/utils.c 2011-09-02 21:45:20 UTC (rev 5908)
> +++ trunk/src/utils.c 2011-09-11 17:06:11 UTC (rev 5909)
> @@ -81,37 +81,28 @@
> cmdline = g_strconcat(tool_prefs.browser_cmd, " \"", uri, "\"", NULL);
> if (! g_spawn_command_line_async(cmdline, NULL))
> {
> + static const gchar *browsers[] =
> + {
> + "xdg-open",
> + "firefox",
> + "mozilla",
> + "opera",
> + "konqueror",
> + "netscape"
Hi Colomban,
What about adding chrome?
Cheers
Lex
More information about the Devel
mailing list