r22702 - gnucash/branches/2.4/src/gnome-utils - Fix #638955

John Ralls jralls at code.gnucash.org
Sun Jan 13 20:20:09 EST 2013


Author: jralls
Date: 2013-01-13 20:20:09 -0500 (Sun, 13 Jan 2013)
New Revision: 22702
Trac: http://svn.gnucash.org/trac/changeset/22702

Modified:
   gnucash/branches/2.4/src/gnome-utils/dialog-book-close.c
   gnucash/branches/2.4/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/branches/2.4/src/gnome-utils/dialog-book-close.c
===================================================================
--- gnucash/branches/2.4/src/gnome-utils/dialog-book-close.c	2013-01-14 01:18:48 UTC (rev 22701)
+++ gnucash/branches/2.4/src/gnome-utils/dialog-book-close.c	2013-01-14 01:20:09 UTC (rev 22702)
@@ -274,7 +274,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/branches/2.4/src/gnome-utils/gnc-ui.h
===================================================================
--- gnucash/branches/2.4/src/gnome-utils/gnc-ui.h	2013-01-14 01:18:48 UTC (rev 22701)
+++ gnucash/branches/2.4/src/gnome-utils/gnc-ui.h	2013-01-14 01:20:09 UTC (rev 22702)
@@ -61,6 +61,7 @@
 #define HL_RECNWIN           "acct-reconcile"
 #define HL_SXEDITOR          "tool-sched"
 #define HL_GCONF             "gconf"
+#define HL_CLOSE_BOOK        "tool-close-book"
 
 /* GTK Windows - Common Response Codes */
 



More information about the gnucash-changes mailing list