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:
Andreas Köhler
2006-03-16 22:03:58 +00:00
parent 59bafed825
commit 34def736d9
2 changed files with 11 additions and 4 deletions
+5
View File
@@ -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:
+6 -4
View File
@@ -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);