Update the help file names now that the docs are xml instead of

html.  Fixes #343255.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14254 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton
2006-05-30 04:41:44 +00:00
parent d103f3514e
commit 3b7b0ad4f5
15 changed files with 25 additions and 19 deletions

View File

@@ -1,3 +1,10 @@
2006-05-30 David Hampton <hampton@employees.org>
* various: Update the help file names now that the docs are xml
instead of html. Fixes #343255.
* src/scm: Remove old help-topics-index files.
2006-05-29 Joshua Sled <jsled@asynchronous.org>
* packaging/gnucash-1.9.x.ebuild: Remove support for being a

View File

@@ -327,7 +327,7 @@ gnc_customer_window_cancel_cb (GtkWidget *widget, gpointer data)
void
gnc_customer_window_help_cb (GtkWidget *widget, gpointer data)
{
gnc_gnome_help(HF_USAGE, NULL);
gnc_gnome_help(HF_HELP, HL_USAGE);
}
void

View File

@@ -263,7 +263,7 @@ gnc_employee_window_cancel_cb (GtkWidget *widget, gpointer data)
void
gnc_employee_window_help_cb (GtkWidget *widget, gpointer data)
{
gnc_gnome_help(HF_USAGE, NULL);
gnc_gnome_help(HF_HELP, HL_USAGE);
}
void

View File

@@ -406,7 +406,7 @@ gnc_invoice_window_cancel_cb (GtkWidget *widget, gpointer data)
void
gnc_invoice_window_help_cb (GtkWidget *widget, gpointer data)
{
gnc_gnome_help(HF_USAGE, NULL);
gnc_gnome_help(HF_HELP, HL_USAGE);
}
void

View File

@@ -191,7 +191,7 @@ gnc_job_window_cancel_cb (GtkWidget *widget, gpointer data)
void
gnc_job_window_help_cb (GtkWidget *widget, gpointer data)
{
gnc_gnome_help(HF_USAGE, NULL);
gnc_gnome_help(HF_HELP, HL_USAGE);
}

View File

@@ -224,7 +224,7 @@ gnc_order_window_cancel_cb (GtkWidget *widget, gpointer data)
void
gnc_order_window_help_cb (GtkWidget *widget, gpointer data)
{
gnc_gnome_help(HF_USAGE, NULL);
gnc_gnome_help(HF_HELP, HL_USAGE);
}
void

View File

@@ -250,7 +250,7 @@ gnc_vendor_window_cancel_cb (GtkWidget *widget, gpointer data)
void
gnc_vendor_window_help_cb (GtkWidget *widget, gpointer data)
{
gnc_gnome_help(HF_USAGE, NULL);
gnc_gnome_help(HF_HELP, HL_USAGE);
}
void

View File

@@ -39,12 +39,11 @@
/** Help Files ******************************************************/
#define HF_USAGE "gnucash-help/usage.html"
#define HF_CUSTOM "gnucash-help/custom-gnucash.html"
#define HF_GUIDE "gnucash-guide/index.html"
#define HF_HELP "gnucash-help/help.html"
#define HF_GUIDE "gnucash-guide.xml"
#define HF_HELP "gnucash-help.xml"
/** Links in the Help Files *****************************************/
#define HL_USAGE "usage"
#define HL_ACC "acct-create"
#define HL_ACCEDIT "acct-edit"
#define HL_COMMODITY "tool-commodity"

View File

@@ -512,7 +512,7 @@ search_cancel_cb (GtkButton *button, GNCSearchWindow *sw)
static void
search_help_cb (GtkButton *button, GNCSearchWindow *sw)
{
gnc_gnome_help (HF_USAGE, HL_FIND_TRANSACTIONS);
gnc_gnome_help (HF_HELP, HL_FIND_TRANSACTIONS);
}
static void

View File

@@ -990,11 +990,11 @@ gnc_account_window_response_cb (GtkDialog *dialog,
switch (aw->dialog_type) {
case NEW_ACCOUNT:
DEBUG("new acct dialog, HELP");
gnc_gnome_help(HF_USAGE, HL_ACC);
gnc_gnome_help(HF_HELP, HL_ACC);
break;
case EDIT_ACCOUNT:
DEBUG("edit acct dialog, HELP");
gnc_gnome_help(HF_USAGE, HL_ACCEDIT);
gnc_gnome_help(HF_HELP, HL_ACCEDIT);
break;
default:
g_assert_not_reached ();

View File

@@ -1282,7 +1282,7 @@ gnc_preferences_response_cb(GtkDialog *dialog, gint response, GtkDialog *unused)
{
switch (response) {
case GTK_RESPONSE_HELP:
gnc_gnome_help(HF_CUSTOM, HL_GLOBPREFS);
gnc_gnome_help(HF_HELP, HL_GLOBPREFS);
break;
default:

View File

@@ -66,13 +66,13 @@ static int gnome_is_initialized = FALSE;
static void
gnc_global_options_help_cb (GNCOptionWin *win, gpointer dat)
{
gnc_gnome_help (HF_CUSTOM, HL_GLOBPREFS);
gnc_gnome_help (HF_HELP, HL_GLOBPREFS);
}
static void
gnc_commodity_help_cb (void)
{
gnc_gnome_help (HF_USAGE, HL_COMMODITY);
gnc_gnome_help (HF_HELP, HL_COMMODITY);
}
/* gnc_configure_date_format

View File

@@ -409,7 +409,7 @@ gnc_ui_print_check_response_cb(GtkDialog * dialog,
{
switch (response) {
case GTK_RESPONSE_HELP:
gnc_gnome_help(HF_USAGE, HL_PRINTCHECK);
gnc_gnome_help(HF_HELP, HL_PRINTCHECK);
return;
case GTK_RESPONSE_OK:

View File

@@ -349,7 +349,7 @@ static
void
editor_help_button_clicked(GtkButton *b, SchedXactionEditorDialog *sxed)
{
gnc_gnome_help(HF_USAGE, HL_SXEDITOR);
gnc_gnome_help(HF_HELP, HL_SXEDITOR);
}
static void

View File

@@ -1080,7 +1080,7 @@ gnc_reconcile_window_get_current_split(RecnWindow *recnData)
static void
gnc_ui_reconcile_window_help_cb(GtkWidget *widget, gpointer data)
{
gnc_gnome_help(HF_USAGE, HL_RECNWIN);
gnc_gnome_help(HF_HELP, HL_RECNWIN);
}
static void