mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Change function name to disambiguate between retrieving the name of a
page and the name of the plugin that provides the page. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11868 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
ea6d9e2706
commit
336f218ebf
@ -1,3 +1,11 @@
|
||||
2005-11-06 David Hampton <hampton@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@codehelp.co.uk>
|
||||
|
||||
* src/engine/Makefile.am : qofla-dir.h is not
|
||||
|
@ -215,7 +215,7 @@ gnc_plugin_page_unmerge_actions (GncPluginPage *page,
|
||||
}
|
||||
|
||||
const gchar *
|
||||
gnc_plugin_page_get_name (GncPluginPage *plugin_page)
|
||||
gnc_plugin_page_get_plugin_name (GncPluginPage *plugin_page)
|
||||
{
|
||||
GncPluginPageClass *klass;
|
||||
|
||||
|
@ -106,7 +106,7 @@ void gnc_plugin_page_merge_actions (GncPluginPage *plugin_pag
|
||||
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.
|
||||
*
|
||||
|
@ -299,7 +299,7 @@ main_window_to_account (GncMainWindow *window)
|
||||
|
||||
/* 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 @@ gnc_plugin_hbci_main_window_page_added (GncMainWindow *window,
|
||||
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 @@ gnc_plugin_hbci_main_window_page_changed (GncMainWindow *window,
|
||||
}
|
||||
|
||||
/* 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,
|
||||
|
@ -215,7 +215,7 @@ gnc_plugin_stylesheets_main_window_page_changed (GncMainWindow *window,
|
||||
}
|
||||
|
||||
/* 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,
|
||||
|
Loading…
Reference in New Issue
Block a user