r22701 - gnucash/trunk/src/gnome-utils - Fix #638955
John Ralls
jralls at code.gnucash.org
Sun Jan 13 20:18:48 EST 2013
Author: jralls
Date: 2013-01-13 20:18:48 -0500 (Sun, 13 Jan 2013)
New Revision: 22701
Trac: http://svn.gnucash.org/trac/changeset/22701
Modified:
gnucash/trunk/src/gnome-utils/dialog-book-close.c
gnucash/trunk/src/gnome-utils/gnc-ui.h
Log:
Fix #638955
Connect the `Help' button in the `Close Book' dialog box (Tools > Close
Book) to newly-written help section on book closing.
Signed-off-by: Yawar Amin <yawar.amin at gmail.com>
Modified: gnucash/trunk/src/gnome-utils/dialog-book-close.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-book-close.c 2013-01-14 01:17:34 UTC (rev 22700)
+++ gnucash/trunk/src/gnome-utils/dialog-book-close.c 2013-01-14 01:18:48 UTC (rev 22701)
@@ -277,7 +277,7 @@
switch (response)
{
case GTK_RESPONSE_HELP:
- gnc_gnome_help(HF_HELP, HL_GLOBPREFS);
+ gnc_gnome_help(HF_HELP, HL_CLOSE_BOOK);
break;
case GTK_RESPONSE_OK:
cbw->close_date = gnc_date_edit_get_date(GNC_DATE_EDIT(cbw->close_date_widget));
Modified: gnucash/trunk/src/gnome-utils/gnc-ui.h
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-ui.h 2013-01-14 01:17:34 UTC (rev 22700)
+++ gnucash/trunk/src/gnome-utils/gnc-ui.h 2013-01-14 01:18:48 UTC (rev 22701)
@@ -62,6 +62,7 @@
#define HL_SXEDITOR "tool-sched"
#define HL_GCONF "gconf"
#define HL_BOOK_OPTIONS "book-options"
+#define HL_CLOSE_BOOK "tool-close-book"
/* GTK Windows - Common Response Codes */
More information about the gnucash-changes
mailing list