[Gnucash-changes] r14254 - gnucash/trunk - Update the help file names now that the docs are xml instead of

David Hampton hampton at cvs.gnucash.org
Tue May 30 00:41:45 EDT 2006


Author: hampton
Date: 2006-05-30 00:41:44 -0400 (Tue, 30 May 2006)
New Revision: 14254
Trac: http://svn.gnucash.org/trac/changeset/14254

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/business/business-gnome/dialog-customer.c
   gnucash/trunk/src/business/business-gnome/dialog-employee.c
   gnucash/trunk/src/business/business-gnome/dialog-invoice.c
   gnucash/trunk/src/business/business-gnome/dialog-job.c
   gnucash/trunk/src/business/business-gnome/dialog-order.c
   gnucash/trunk/src/business/business-gnome/dialog-vendor.c
   gnucash/trunk/src/gnc-ui.h
   gnucash/trunk/src/gnome-search/dialog-search.c
   gnucash/trunk/src/gnome-utils/dialog-account.c
   gnucash/trunk/src/gnome-utils/dialog-preferences.c
   gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c
   gnucash/trunk/src/gnome/dialog-print-check.c
   gnucash/trunk/src/gnome/dialog-scheduledxaction.c
   gnucash/trunk/src/gnome/window-reconcile.c
Log:
Update the help file names now that the docs are xml instead of
html.  Fixes #343255.


Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2006-05-30 04:39:40 UTC (rev 14253)
+++ gnucash/trunk/ChangeLog	2006-05-30 04:41:44 UTC (rev 14254)
@@ -1,3 +1,10 @@
+2006-05-30  David Hampton  <hampton at 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 at asynchronous.org>
 
 	* packaging/gnucash-1.9.x.ebuild: Remove support for being a

Modified: gnucash/trunk/src/business/business-gnome/dialog-customer.c
===================================================================
--- gnucash/trunk/src/business/business-gnome/dialog-customer.c	2006-05-30 04:39:40 UTC (rev 14253)
+++ gnucash/trunk/src/business/business-gnome/dialog-customer.c	2006-05-30 04:41:44 UTC (rev 14254)
@@ -327,7 +327,7 @@
 void
 gnc_customer_window_help_cb (GtkWidget *widget, gpointer data)
 {
-  gnc_gnome_help(HF_USAGE, NULL);
+  gnc_gnome_help(HF_HELP, HL_USAGE);
 }
 
 void

Modified: gnucash/trunk/src/business/business-gnome/dialog-employee.c
===================================================================
--- gnucash/trunk/src/business/business-gnome/dialog-employee.c	2006-05-30 04:39:40 UTC (rev 14253)
+++ gnucash/trunk/src/business/business-gnome/dialog-employee.c	2006-05-30 04:41:44 UTC (rev 14254)
@@ -263,7 +263,7 @@
 void
 gnc_employee_window_help_cb (GtkWidget *widget, gpointer data)
 {
-  gnc_gnome_help(HF_USAGE, NULL);
+  gnc_gnome_help(HF_HELP, HL_USAGE);
 }
 
 void

Modified: gnucash/trunk/src/business/business-gnome/dialog-invoice.c
===================================================================
--- gnucash/trunk/src/business/business-gnome/dialog-invoice.c	2006-05-30 04:39:40 UTC (rev 14253)
+++ gnucash/trunk/src/business/business-gnome/dialog-invoice.c	2006-05-30 04:41:44 UTC (rev 14254)
@@ -406,7 +406,7 @@
 void
 gnc_invoice_window_help_cb (GtkWidget *widget, gpointer data)
 {
-  gnc_gnome_help(HF_USAGE, NULL);
+  gnc_gnome_help(HF_HELP, HL_USAGE);
 }
 
 void

Modified: gnucash/trunk/src/business/business-gnome/dialog-job.c
===================================================================
--- gnucash/trunk/src/business/business-gnome/dialog-job.c	2006-05-30 04:39:40 UTC (rev 14253)
+++ gnucash/trunk/src/business/business-gnome/dialog-job.c	2006-05-30 04:41:44 UTC (rev 14254)
@@ -191,7 +191,7 @@
 void
 gnc_job_window_help_cb (GtkWidget *widget, gpointer data)
 {
-  gnc_gnome_help(HF_USAGE, NULL);
+  gnc_gnome_help(HF_HELP, HL_USAGE);
 }
 
 

Modified: gnucash/trunk/src/business/business-gnome/dialog-order.c
===================================================================
--- gnucash/trunk/src/business/business-gnome/dialog-order.c	2006-05-30 04:39:40 UTC (rev 14253)
+++ gnucash/trunk/src/business/business-gnome/dialog-order.c	2006-05-30 04:41:44 UTC (rev 14254)
@@ -224,7 +224,7 @@
 void
 gnc_order_window_help_cb (GtkWidget *widget, gpointer data)
 {
-  gnc_gnome_help(HF_USAGE, NULL);
+  gnc_gnome_help(HF_HELP, HL_USAGE);
 }
 
 void

Modified: gnucash/trunk/src/business/business-gnome/dialog-vendor.c
===================================================================
--- gnucash/trunk/src/business/business-gnome/dialog-vendor.c	2006-05-30 04:39:40 UTC (rev 14253)
+++ gnucash/trunk/src/business/business-gnome/dialog-vendor.c	2006-05-30 04:41:44 UTC (rev 14254)
@@ -250,7 +250,7 @@
 void
 gnc_vendor_window_help_cb (GtkWidget *widget, gpointer data)
 {
-  gnc_gnome_help(HF_USAGE, NULL);
+  gnc_gnome_help(HF_HELP, HL_USAGE);
 }
 
 void

Modified: gnucash/trunk/src/gnc-ui.h
===================================================================
--- gnucash/trunk/src/gnc-ui.h	2006-05-30 04:39:40 UTC (rev 14253)
+++ gnucash/trunk/src/gnc-ui.h	2006-05-30 04:41:44 UTC (rev 14254)
@@ -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"

Modified: gnucash/trunk/src/gnome/dialog-print-check.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-print-check.c	2006-05-30 04:39:40 UTC (rev 14253)
+++ gnucash/trunk/src/gnome/dialog-print-check.c	2006-05-30 04:41:44 UTC (rev 14254)
@@ -409,7 +409,7 @@
 {
   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:

Modified: gnucash/trunk/src/gnome/dialog-scheduledxaction.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-scheduledxaction.c	2006-05-30 04:39:40 UTC (rev 14253)
+++ gnucash/trunk/src/gnome/dialog-scheduledxaction.c	2006-05-30 04:41:44 UTC (rev 14254)
@@ -349,7 +349,7 @@
 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

Modified: gnucash/trunk/src/gnome/window-reconcile.c
===================================================================
--- gnucash/trunk/src/gnome/window-reconcile.c	2006-05-30 04:39:40 UTC (rev 14253)
+++ gnucash/trunk/src/gnome/window-reconcile.c	2006-05-30 04:41:44 UTC (rev 14254)
@@ -1080,7 +1080,7 @@
 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

Modified: gnucash/trunk/src/gnome-search/dialog-search.c
===================================================================
--- gnucash/trunk/src/gnome-search/dialog-search.c	2006-05-30 04:39:40 UTC (rev 14253)
+++ gnucash/trunk/src/gnome-search/dialog-search.c	2006-05-30 04:41:44 UTC (rev 14254)
@@ -512,7 +512,7 @@
 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

Modified: gnucash/trunk/src/gnome-utils/dialog-account.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-account.c	2006-05-30 04:39:40 UTC (rev 14253)
+++ gnucash/trunk/src/gnome-utils/dialog-account.c	2006-05-30 04:41:44 UTC (rev 14254)
@@ -990,11 +990,11 @@
 			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 ();

Modified: gnucash/trunk/src/gnome-utils/dialog-preferences.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-preferences.c	2006-05-30 04:39:40 UTC (rev 14253)
+++ gnucash/trunk/src/gnome-utils/dialog-preferences.c	2006-05-30 04:41:44 UTC (rev 14254)
@@ -1282,7 +1282,7 @@
 {
   switch (response) {
    case GTK_RESPONSE_HELP:
-     gnc_gnome_help(HF_CUSTOM, HL_GLOBPREFS);
+     gnc_gnome_help(HF_HELP, HL_GLOBPREFS);
      break;
 
    default:

Modified: gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c	2006-05-30 04:39:40 UTC (rev 14253)
+++ gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c	2006-05-30 04:41:44 UTC (rev 14254)
@@ -66,13 +66,13 @@
 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



More information about the gnucash-changes mailing list