Skip to content

Commit

Permalink
src/daemon/daemon.c: Replace deprecated gvfs-open call by "gio open" …
Browse files Browse the repository at this point in the history
…from libglib2.0-bin.
  • Loading branch information
sunweaver authored and raveit65 committed Apr 24, 2018
1 parent 3e43e3c commit 178eacc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/daemon/daemon.c
Expand Up @@ -1076,9 +1076,9 @@ static void url_clicked_cb(GtkWindow* nw, const char *url)


escaped_url = g_shell_quote (url); escaped_url = g_shell_quote (url);


if ((found = g_find_program_in_path ("gvfs-open")) != NULL) if ((found = g_find_program_in_path ("gio")) != NULL)
{ {
cmd = g_strdup_printf ("gvfs-open %s", escaped_url); cmd = g_strdup_printf ("gio open %s", escaped_url);
} }
else if ((found = g_find_program_in_path ("xdg-open")) != NULL) else if ((found = g_find_program_in_path ("xdg-open")) != NULL)
{ {
Expand Down

0 comments on commit 178eacc

Please sign in to comment.