20 lines
824 B
Diff
20 lines
824 B
Diff
diff -up evolution-3.9.1/shell/e-shell-window-actions.c.help-contents evolution-3.9.1/shell/e-shell-window-actions.c
|
|
--- evolution-3.9.1/shell/e-shell-window-actions.c.help-contents 2013-04-29 11:23:28.943063568 +0200
|
|
+++ evolution-3.9.1/shell/e-shell-window-actions.c 2013-04-29 11:24:16.701599684 +0200
|
|
@@ -1396,6 +1396,15 @@ e_shell_window_actions_init (EShellWindo
|
|
if (path == NULL)
|
|
gtk_action_set_visible (ACTION (SUBMIT_BUG), FALSE);
|
|
g_free (path);
|
|
+
|
|
+ /* Viewing user documentation requires the evolution-help
|
|
+ * Fedora package. Look for one of the files it installs. */
|
|
+ path = g_build_filename (
|
|
+ EVOLUTION_DATADIR, "help", "C",
|
|
+ PACKAGE, "index.page", NULL);
|
|
+ if (!g_file_test (path, G_FILE_TEST_IS_REGULAR))
|
|
+ gtk_action_set_visible (ACTION (CONTENTS), FALSE);
|
|
+ g_free (path);
|
|
}
|
|
|
|
GtkWidget *
|