summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-properties-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file-manager/fm-properties-window.c')
-rw-r--r--src/file-manager/fm-properties-window.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/file-manager/fm-properties-window.c b/src/file-manager/fm-properties-window.c
index 90ea68cd..1ae66b62 100644
--- a/src/file-manager/fm-properties-window.c
+++ b/src/file-manager/fm-properties-window.c
@@ -5405,10 +5405,17 @@ real_response (GtkDialog *dialog,
switch (response) {
case GTK_RESPONSE_HELP:
+#if GTK_CHECK_VERSION (3, 22, 0)
+ gtk_show_uri_on_window (GTK_WINDOW (dialog),
+ "help:mate-user-guide/goscaja-51",
+ gtk_get_current_event_time (),
+ &error);
+#else
gtk_show_uri (gtk_window_get_screen (GTK_WINDOW (dialog)),
"help:mate-user-guide/goscaja-51",
gtk_get_current_event_time (),
&error);
+#endif
if (error != NULL) {
eel_show_error_dialog (_("There was an error displaying help."), error->message,
GTK_WINDOW (dialog));