[Gnucash-changes] r11868 - gnucash/trunk - Change function name to disambiguate between retrieving the name of a

David Hampton hampton at cvs.gnucash.org
Sun Nov 6 15:01:37 EST 2005


Author: hampton
Date: 2005-11-06 15:01:36 -0500 (Sun, 06 Nov 2005)
New Revision: 11868

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/gnome-utils/gnc-plugin-page.c
   gnucash/trunk/src/gnome-utils/gnc-plugin-page.h
   gnucash/trunk/src/import-export/hbci/gnc-plugin-hbci.c
   gnucash/trunk/src/report/stylesheets/gnc-plugin-stylesheets.c
Log:
Change function name to disambiguate between retrieving the name of a
page and the name of the plugin that provides the page.


Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2005-11-06 18:03:31 UTC (rev 11867)
+++ gnucash/trunk/ChangeLog	2005-11-06 20:01:36 UTC (rev 11868)
@@ -1,3 +1,11 @@
+2005-11-06  David Hampton  <hampton at employees.org>
+
+	* src/import-export/hbci/gnc-plugin-hbci.c:
+	* src/report/stylesheets/gnc-plugin-stylesheets.c:
+	* src/gnome-utils/gnc-plugin-page.[ch]: Change function name to
+	disambiguate between retrieving the name of a page and the name of
+	the plugin that provides the page.
+
 2005-11-06  Neil Williams <linux at codehelp.co.uk>
 
 	* src/engine/Makefile.am : qofla-dir.h is not

Modified: gnucash/trunk/src/gnome-utils/gnc-plugin-page.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-plugin-page.c	2005-11-06 18:03:31 UTC (rev 11867)
+++ gnucash/trunk/src/gnome-utils/gnc-plugin-page.c	2005-11-06 20:01:36 UTC (rev 11868)
@@ -215,7 +215,7 @@
 }
 
 const gchar *
-gnc_plugin_page_get_name (GncPluginPage *plugin_page)
+gnc_plugin_page_get_plugin_name (GncPluginPage *plugin_page)
 {
 	GncPluginPageClass *klass;
 

Modified: gnucash/trunk/src/gnome-utils/gnc-plugin-page.h
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-plugin-page.h	2005-11-06 18:03:31 UTC (rev 11867)
+++ gnucash/trunk/src/gnome-utils/gnc-plugin-page.h	2005-11-06 20:01:36 UTC (rev 11868)
@@ -106,7 +106,7 @@
 void                  gnc_plugin_page_unmerge_actions (GncPluginPage *plugin_page,
                                                        GtkUIManager *merge);
 
-const gchar *         gnc_plugin_page_get_name        (GncPluginPage *plugin_page);
+const gchar * gnc_plugin_page_get_plugin_name (GncPluginPage *plugin_page);
 
 /** Add a book reference to the specified page.
  *

Modified: gnucash/trunk/src/import-export/hbci/gnc-plugin-hbci.c
===================================================================
--- gnucash/trunk/src/import-export/hbci/gnc-plugin-hbci.c	2005-11-06 18:03:31 UTC (rev 11867)
+++ gnucash/trunk/src/import-export/hbci/gnc-plugin-hbci.c	2005-11-06 20:01:36 UTC (rev 11868)
@@ -299,7 +299,7 @@
 
   /* Ensure we are called from a register page. */
   page = gnc_main_window_get_current_page(window);
-  page_name = gnc_plugin_page_get_name(page);
+  page_name = gnc_plugin_page_get_plugin_name(page);
 
   if (strcmp(page_name, GNC_PLUGIN_PAGE_REGISTER_NAME) == 0) {
     DEBUG("register page");
@@ -345,7 +345,7 @@
   const gchar    *page_name;
 
   ENTER("main window %p, page %p", window, page);
-  page_name = gnc_plugin_page_get_name(page);
+  page_name = gnc_plugin_page_get_plugin_name(page);
   if (strcmp(page_name, GNC_PLUGIN_PAGE_ACCOUNT_TREE_NAME) == 0) {
     DEBUG("account tree page, adding signal");
     g_signal_connect (G_OBJECT(page),
@@ -386,7 +386,7 @@
   }
 
   /* Selectively make items visible */
-  page_name = gnc_plugin_page_get_name(page);
+  page_name = gnc_plugin_page_get_plugin_name(page);
   if (strcmp(page_name, GNC_PLUGIN_PAGE_ACCOUNT_TREE_NAME) == 0) {
     DEBUG("account tree page");
     gnc_plugin_update_actions(action_group, account_tree_actions,

Modified: gnucash/trunk/src/report/stylesheets/gnc-plugin-stylesheets.c
===================================================================
--- gnucash/trunk/src/report/stylesheets/gnc-plugin-stylesheets.c	2005-11-06 18:03:31 UTC (rev 11867)
+++ gnucash/trunk/src/report/stylesheets/gnc-plugin-stylesheets.c	2005-11-06 20:01:36 UTC (rev 11868)
@@ -215,7 +215,7 @@
   }
 
   /* Selectively make items visible */
-  page_name = gnc_plugin_page_get_name(page);
+  page_name = gnc_plugin_page_get_plugin_name(page);
   if (strcmp(page_name, GNC_PLUGIN_PAGE_ACCOUNT_TREE_NAME) == 0) {
     DEBUG("account tree page");
     gnc_plugin_update_actions(action_group, account_tree_actions,



More information about the gnucash-changes mailing list