2013-10-14 08:18:08 +00:00
|
|
|
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
|
2010-05-08 15:10:00 +00:00
|
|
|
if (path == NULL)
|
2010-07-13 13:56:22 +00:00
|
|
|
gtk_action_set_visible (ACTION (SUBMIT_BUG), FALSE);
|
2010-05-08 15:10:00 +00:00
|
|
|
g_free (path);
|
|
|
|
+
|
|
|
|
+ /* Viewing user documentation requires the evolution-help
|
|
|
|
+ * Fedora package. Look for one of the files it installs. */
|
|
|
|
+ path = g_build_filename (
|
2013-01-18 08:51:45 +00:00
|
|
|
+ EVOLUTION_DATADIR, "help", "C",
|
|
|
|
+ PACKAGE, "index.page", NULL);
|
2013-10-14 08:18:08 +00:00
|
|
|
+ if (!g_file_test (path, G_FILE_TEST_IS_REGULAR)) {
|
2010-05-08 15:10:00 +00:00
|
|
|
+ gtk_action_set_visible (ACTION (CONTENTS), FALSE);
|
2013-10-14 08:18:08 +00:00
|
|
|
+ gtk_action_set_sensitive (ACTION (CONTENTS), FALSE);
|
|
|
|
+ }
|
2010-05-08 15:10:00 +00:00
|
|
|
+ g_free (path);
|
|
|
|
}
|
|
|
|
|
2013-04-29 09:26:15 +00:00
|
|
|
GtkWidget *
|