summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <[email protected]>2018-04-18 13:23:32 +0200
committerraveit65 <[email protected]>2018-04-24 09:35:57 +0200
commit178eacc6c110f692a1f0425635a7a51049e96466 (patch)
treeeab836a1dfbd5d9900b70f84999e215f4030ac53
parent3e43e3cb5c028740410d7951d635ee981899640f (diff)
downloadmate-notification-daemon-178eacc6c110f692a1f0425635a7a51049e96466.tar.bz2
mate-notification-daemon-178eacc6c110f692a1f0425635a7a51049e96466.tar.xz
src/daemon/daemon.c: Replace deprecated gvfs-open call by "gio open" from libglib2.0-bin.
-rw-r--r--src/daemon/daemon.c4
1 files changed, 2 insertions, 2 deletions
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)
{