From 178eacc6c110f692a1f0425635a7a51049e96466 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 18 Apr 2018 13:23:32 +0200 Subject: src/daemon/daemon.c: Replace deprecated gvfs-open call by "gio open" from libglib2.0-bin. --- src/daemon/daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/daemon/daemon.c') diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index a4dcd8c..119ec84 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c @@ -1076,9 +1076,9 @@ static void url_clicked_cb(GtkWindow* nw, const char *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) { -- cgit v1.2.1