summaryrefslogtreecommitdiff
path: root/src/caja-connect-server-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-connect-server-dialog.c')
-rw-r--r--src/caja-connect-server-dialog.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/caja-connect-server-dialog.c b/src/caja-connect-server-dialog.c
index 6df18f66..05e6875f 100644
--- a/src/caja-connect-server-dialog.c
+++ b/src/caja-connect-server-dialog.c
@@ -710,9 +710,15 @@ connect_dialog_response_cb (CajaConnectServerDialog *dialog,
break;
case GTK_RESPONSE_HELP :
error = NULL;
+#if GTK_CHECK_VERSION (3, 22, 0)
+ gtk_show_uri_on_window (GTK_WINDOW (dialog),
+ "help:mate-user-guide/caja-server-connect",
+ gtk_get_current_event_time (), &error);
+#else
gtk_show_uri (gtk_window_get_screen (GTK_WINDOW (dialog)),
"help:mate-user-guide/caja-server-connect",
gtk_get_current_event_time (), &error);
+#endif
if (error)
{
eel_show_error_dialog (_("There was an error displaying help."), error->message,