summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/caja-window-menus.c17
1 files changed, 5 insertions, 12 deletions
diff --git a/src/caja-window-menus.c b/src/caja-window-menus.c
index 368fd508..4a0d721d 100644
--- a/src/caja-window-menus.c
+++ b/src/caja-window-menus.c
@@ -578,18 +578,11 @@ action_caja_manual_callback (GtkAction *action,
error = NULL;
window = CAJA_WINDOW (user_data);
- if (CAJA_IS_DESKTOP_WINDOW (window))
- {
- mate_gdk_spawn_command_line_on_screen(gtk_window_get_screen(GTK_WINDOW(window)),
- "mate-help",
- &error);
- }
- else
- {
- gtk_show_uri (gtk_window_get_screen (GTK_WINDOW (window)),
- "help:mate-user-guide/goscaja-1",
- gtk_get_current_event_time (), &error);
- }
+ gtk_show_uri (gtk_window_get_screen (GTK_WINDOW (window)),
+ CAJA_IS_DESKTOP_WINDOW (window)
+ ? "help:mate-user-guide"
+ : "help:mate-user-guide/goscaja-1",
+ gtk_get_current_event_time (), &error);
if (error)
{