Blame evolution-2.30.1-help-contents.patch
|
Matthew Barnes |
96034d |
diff -up evolution-2.30.1.2/shell/e-shell-window-actions.c.help-contents evolution-2.30.1.2/shell/e-shell-window-actions.c
|
|
Matthew Barnes |
96034d |
--- evolution-2.30.1.2/shell/e-shell-window-actions.c.help-contents 2010-04-26 09:13:18.000000000 -0400
|
|
Matthew Barnes |
96034d |
+++ evolution-2.30.1.2/shell/e-shell-window-actions.c 2010-05-07 21:29:06.269059830 -0400
|
|
Matthew Barnes |
96034d |
@@ -2001,6 +2001,14 @@ e_shell_window_actions_init (EShellWindo
|
|
Matthew Barnes |
96034d |
if (path == NULL)
|
|
Milan Crha |
74191a |
gtk_action_set_visible (ACTION (SUBMIT_BUG), FALSE);
|
|
Matthew Barnes |
96034d |
g_free (path);
|
|
Matthew Barnes |
96034d |
+
|
|
Matthew Barnes |
96034d |
+ /* Viewing user documentation requires the evolution-help
|
|
Matthew Barnes |
96034d |
+ * Fedora package. Look for one of the files it installs. */
|
|
Matthew Barnes |
96034d |
+ path = g_build_filename (
|
|
Matthew Barnes |
96034d |
+ EVOLUTION_DATADIR, "omf", PACKAGE, "evolution-C.omf", NULL);
|
|
Matthew Barnes |
96034d |
+ if (!g_file_test (path, G_FILE_TEST_IS_REGULAR))
|
|
Matthew Barnes |
96034d |
+ gtk_action_set_visible (ACTION (CONTENTS), FALSE);
|
|
Matthew Barnes |
96034d |
+ g_free (path);
|
|
Matthew Barnes |
96034d |
}
|
|
Matthew Barnes |
96034d |
|
|
Matthew Barnes |
96034d |
static GList *
|