mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Add accessor of GtkUIManager in GncMainWindow.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20302 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
fe58851549
commit
8650eec61c
@ -4304,5 +4304,11 @@ gnc_main_window_all_action_set_sensitive (const gchar *action_name,
|
||||
}
|
||||
}
|
||||
|
||||
GtkUIManager *gnc_main_window_get_uimanager (GncMainWindow *window)
|
||||
{
|
||||
g_assert(window);
|
||||
return window->ui_merge;
|
||||
}
|
||||
|
||||
/** @} */
|
||||
/** @} */
|
||||
|
@ -159,6 +159,11 @@ void gnc_main_window_foreach_page (GncMainWindowPageFunc fn,
|
||||
GncPluginPage *gnc_main_window_get_current_page (GncMainWindow *window);
|
||||
|
||||
|
||||
/** Returns the pointer to the GtkUIManager which is used for the menu
|
||||
* item merging. */
|
||||
GtkUIManager *gnc_main_window_get_uimanager (GncMainWindow *window);
|
||||
|
||||
|
||||
/** Update the name of the page in the main window.
|
||||
*
|
||||
* @param page The page to be updated.
|
||||
|
Loading…
Reference in New Issue
Block a user