summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-01-11 21:08:57 +0300
committerStefano Karapetsas <[email protected]>2015-01-12 14:18:34 +0100
commit6a039eff3f9a762fc0239b6ba58c18cb3d09b364 (patch)
tree80aca1afcd31d2c1dcc4fddff39e5b2f47a14bd3 /src
parent5706c595970bc76e11feb56ed56c190452c076d6 (diff)
downloadcaja-6a039eff3f9a762fc0239b6ba58c18cb3d09b364.tar.bz2
caja-6a039eff3f9a762fc0239b6ba58c18cb3d09b364.tar.xz
show mate-user-guide help
Diffstat (limited to 'src')
-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)
{