From 674cb558744b3889bf16cf7c445569518500058a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=C3=B6hler?= Date: Fri, 3 Nov 2006 19:50:54 +0000 Subject: [PATCH] Inform the user about 'gnucash-docs' package when Help is selected with no content. Fixes #347102. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15081 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome-utils/gnc-gnome-utils.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gnome-utils/gnc-gnome-utils.c b/src/gnome-utils/gnc-gnome-utils.c index aad8acba08..4571c786cd 100644 --- a/src/gnome-utils/gnc-gnome-utils.c +++ b/src/gnome-utils/gnc-gnome-utils.c @@ -242,6 +242,12 @@ gnc_gnome_help (const char *file_name, const char *anchor) return; g_assert(error != NULL); + { + const gchar *message = + _("GnuCash could not find the files for the help documentation. " + "This is likely because the 'gnucash-docs' package is not installed."); + gnc_error_dialog(NULL, message); + } PERR ("%s", error->message); g_error_free(error); }