mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Make register ui update unconditionally if in a GncEmbeddedWindow.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13650 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2006-03-16 Andreas Köhler <andi5.py@gmx.net>
|
||||
|
||||
* src/gnome/gnc-plugin-page-register.c: Make register ui update
|
||||
unconditionally if in a GncEmbeddedWindow.
|
||||
|
||||
2006-03-16 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/gnome-utils/gnc-tree-view-commodity.c:
|
||||
|
||||
@@ -2910,10 +2910,12 @@ gnc_plugin_page_register_event_handler (QofEntity *entity,
|
||||
}
|
||||
|
||||
window = gnc_plugin_page_get_window(GNC_PLUGIN_PAGE(page));
|
||||
visible_page = gnc_main_window_get_current_page(GNC_MAIN_WINDOW(window));
|
||||
if (GNC_PLUGIN_PAGE(page) != visible_page) {
|
||||
LEAVE("page not visible");
|
||||
return;
|
||||
if (GNC_IS_MAIN_WINDOW(window)) {
|
||||
visible_page = gnc_main_window_get_current_page(GNC_MAIN_WINDOW(window));
|
||||
if (visible_page != GNC_PLUGIN_PAGE(page)) {
|
||||
LEAVE("page not visible");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
gnc_plugin_page_register_ui_update(NULL, page);
|
||||
|
||||
Reference in New Issue
Block a user