r15104 - gnucash/branches/2.0 - Inform the user about 'gnucash-docs' package when Help is selected with
Andreas Köhler
andi5 at cvs.gnucash.org
Thu Nov 9 16:53:52 EST 2006
Author: andi5
Date: 2006-11-09 16:53:51 -0500 (Thu, 09 Nov 2006)
New Revision: 15104
Trac: http://svn.gnucash.org/trac/changeset/15104
Modified:
gnucash/branches/2.0/ChangeLog
gnucash/branches/2.0/src/gnome-utils/gnc-gnome-utils.c
Log:
Inform the user about 'gnucash-docs' package when Help is selected with
no content. Fixes #347102.
merged from trunk r15081 and r15082.
approved by cstim.
Modified: gnucash/branches/2.0/ChangeLog
===================================================================
--- gnucash/branches/2.0/ChangeLog 2006-11-09 14:33:34 UTC (rev 15103)
+++ gnucash/branches/2.0/ChangeLog 2006-11-09 21:53:51 UTC (rev 15104)
@@ -1,3 +1,9 @@
+2006-11-09 Andreas Köhler <andi5.py at gmx.net>
+
+ * src/gnome-utils/gnc-gnome-utils.c: Inform the user about
+ 'gnucash-docs' package when Help is selected with no
+ content. Fixes #347102.
+
2006-10-08 Chris Lyttle <chris at wilddev.net>
* NEWS: Added some text about the release.
Modified: gnucash/branches/2.0/src/gnome-utils/gnc-gnome-utils.c
===================================================================
--- gnucash/branches/2.0/src/gnome-utils/gnc-gnome-utils.c 2006-11-09 14:33:34 UTC (rev 15103)
+++ gnucash/branches/2.0/src/gnome-utils/gnc-gnome-utils.c 2006-11-09 21:53:51 UTC (rev 15104)
@@ -24,6 +24,7 @@
#include "config.h"
#include <gnome.h>
+#include <glib/gi18n.h>
#include <libguile.h>
#include <gconf/gconf.h>
#ifdef HAVE_X11_XLIB_H
@@ -230,6 +231,12 @@
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);
}
More information about the gnucash-changes
mailing list