evolution/evolution-2.30.1-help-contents.patch
Milan Crha d599a29ba4 - Update to 3.10.1
- Remove the dependency on libytnef, which apparently isn't needed for
  the PST importer and disable the experimental TNEF attachments plugin
- Avoid help launch with F1 when evolution-help is not installed
2013-10-14 10:18:08 +02:00

22 lines
890 B
Diff

diff -up evolution-3.10.0/shell/e-shell-window-actions.c.help-contents evolution-3.10.0/shell/e-shell-window-actions.c
--- evolution-3.10.0/shell/e-shell-window-actions.c.help-contents 2013-09-07 18:34:59.000000000 +0200
+++ evolution-3.10.0/shell/e-shell-window-actions.c 2013-10-10 08:51:03.863987108 +0200
@@ -1414,6 +1414,17 @@ 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);
+ gtk_action_set_sensitive (ACTION (CONTENTS), FALSE);
+ }
+ g_free (path);
}
GtkWidget *