Fix registration of gnc-plugin-page-sx-list so plugin-page restoration works.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15521 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldfeatures/module-cleanup
Joshua Sled 20 years ago
parent d1918d1f21
commit 4bb3acb10e

@ -75,7 +75,7 @@ TODO
- sx list page
! - [ ] use gnc-tree-view
! - [ ] save/restore state
! - [x] save/restore state
- [/] make into split panel
- [ ] fix slider position
- [ ] {0, 1, 2, 4, 8, 12} month selection for dense calendar

@ -53,7 +53,6 @@
#include "gnc-ui.h"
#include "gnc-window.h"
#include "gnc-session.h"
#include "gnc-plugin-page-sx-list.h"
/* This static indicates the debugging module that this .o belongs to. */
@ -222,6 +221,10 @@ gnc_plugin_basic_commands_new (void)
{
GncPluginBasicCommands *plugin;
/* We just need to mention it, so the GType is registered and will be
* reflected during plugin-page restore. */
GNC_TYPE_PLUGIN_PAGE_SX_LIST;
plugin = g_object_new (GNC_TYPE_PLUGIN_BASIC_COMMANDS, NULL);
return GNC_PLUGIN (plugin);

Loading…
Cancel
Save