fix help button's connection

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7706 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Chris Lyttle 2002-12-22 04:54:40 +00:00
parent 7f52e5cc89
commit 8a6e65cc45
9 changed files with 35 additions and 25 deletions

View File

@ -1,3 +1,14 @@
2002-12-21 Chris Lyttle <chris@wilddev.net>
* src/gnc-ui.h: Change help files
* src/business/business-gnome/dialog-customer.c: fix help button
* src/business/business-gnome/dialog-employee.c: fix help button
* src/business/business-gnome/dialog-invoice.c: fix help button
* src/business/business-gnome/dialog-job.c: fix help button
* src/business/business-gnome/dialog-order.c: fix help button
* src/business/business-gnome/dialog-vendor.c: fix help button
* src/gnome-search/dialog-search.c: fix help button
2002-12-21 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-sx-from-trans.c (sxftd_compute_sx): Respect the

View File

@ -284,7 +284,7 @@ gnc_customer_window_cancel_cb (GtkWidget *widget, gpointer data)
static void
gnc_customer_window_help_cb (GtkWidget *widget, gpointer data)
{
char *help_file = ""; /* xxx */
char *help_file = HH_CUSTOMER;
helpWindow(NULL, NULL, help_file);
}

View File

@ -218,7 +218,7 @@ gnc_employee_window_cancel_cb (GtkWidget *widget, gpointer data)
static void
gnc_employee_window_help_cb (GtkWidget *widget, gpointer data)
{
char *help_file = ""; /* xxx */
char *help_file = HH_EMPLOYEE;
helpWindow(NULL, NULL, help_file);
}

View File

@ -328,7 +328,7 @@ gnc_invoice_window_cancel_cb (GtkWidget *widget, gpointer data)
static void
gnc_invoice_window_help_cb (GtkWidget *widget, gpointer data)
{
char *help_file = ""; /* XXX: FIXME */
char *help_file = HH_INVOICE;
helpWindow(NULL, NULL, help_file);
}

View File

@ -163,9 +163,7 @@ gnc_job_window_cancel_cb (GtkWidget *widget, gpointer data)
static void
gnc_job_window_help_cb (GtkWidget *widget, gpointer data)
{
char *help_file = ""; /* xxx */
/* XXX */
char *help_file = HH_JOB;
helpWindow(NULL, NULL, help_file);
}

View File

@ -192,7 +192,7 @@ gnc_order_window_cancel_cb (GtkWidget *widget, gpointer data)
static void
gnc_order_window_help_cb (GtkWidget *widget, gpointer data)
{
char *help_file = ""; /* XXX: FIXME */
char *help_file = HH_ORDER;
helpWindow(NULL, NULL, help_file);
}

View File

@ -208,7 +208,7 @@ gnc_vendor_window_cancel_cb (GtkWidget *widget, gpointer data)
static void
gnc_vendor_window_help_cb (GtkWidget *widget, gpointer data)
{
char *help_file = ""; /* xxx */
char *help_file = HH_VENDOR;
helpWindow(NULL, NULL, help_file);
}

View File

@ -28,23 +28,23 @@
/** Help Files ******************************************************/
#define HH_ABOUT "xacc-about.html"
#define HH_ACC "xacc-newacctwin.html"
#define HH_ACCEDIT "xacc-accountedit.html"
#define HH_ADJBWIN "xacc-adjbwin.html"
#define HH_COMMODITY "xacc-commodity.html"
#define HH_FIND_TRANSACTIONS "xacc-locatingtxns.html"
#define HH_GLOBPREFS "xacc-preferences.html"
#define HH_GPL "xacc-gpl.html"
#define HH_MAIN "gnucash-guide/index.html"
#define HH_ACC "gnucash-help/usage.html#acct-create"
#define HH_ACCEDIT "gnucash-help/usage.html#acct-edit"
#define HH_COMMODITY "gnucash-help/usage.html#tool-commodity"
#define HH_CUSTOMER "gnucash-help/usage.html"
#define HH_EMPLOYEE "gnucash-help/usage.html"
#define HH_FIND_TRANSACTIONS "gnucash-help/usage.html#tool-find"
#define HH_GLOBPREFS "gnucash-help/custom-gnucash.html#set-prefs"
#define HH_HELP "gnucash-help/help.html"
#define HH_PRINT "xacc-print.html"
#define HH_PRINTCHECK "xacc-print-check.html"
#define HH_QIFIMPORT "xacc-qif-import.html"
#define HH_QUICKSTART "xacc-quickstart.html"
#define HH_RECNWIN "xacc-recnwin.html"
#define HH_REGWIN "xacc-regwin.html"
#define HH_SXEDITOR "xacc-sxeditor.html"
#define HH_INVOICE "gnucash-help/usage.html"
#define HH_JOB "gnucash-help/usage.html"
#define HH_MAIN "gnucash-guide/index.html"
#define HH_ORDER "gnucash-help/usage.html"
#define HH_PRINTCHECK "gnucash-help/usage.html#print-check"
#define HH_QUICKSTART "gnucash-guide/index.html"
#define HH_RECNWIN "gnucash-help/usage.html#acct-reconcile"
#define HH_SXEDITOR "gnucash-help/usage.html#tran-sched"
#define HH_VENDOR "gnucash-help/usage.html"
/* Dialog windows ***************************************************/

View File

@ -13,6 +13,7 @@
#include "window-help.h"
#include "gnc-component-manager.h"
#include "gnc-ui-util.h"
#include "gnc-ui.h"
#include "gnc-gui-query.h"
#include "gncObject.h"
#include "QueryNew.h"
@ -556,7 +557,7 @@ search_cancel_cb (GtkButton *button, GNCSearchWindow *sw)
static void
search_help_cb (GtkButton *button, GNCSearchWindow *sw)
{
helpWindow (NULL, NULL, ""); /* XXX */
helpWindow (NULL, NULL, HH_FIND_TRANSACTIONS);
}
static void