diff --git a/src/doc/sx.rst b/src/doc/sx.rst index 5079a096ab..66170c25a0 100644 --- a/src/doc/sx.rst +++ b/src/doc/sx.rst @@ -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 diff --git a/src/gnome/gnc-plugin-basic-commands.c b/src/gnome/gnc-plugin-basic-commands.c index 9d3b230bc7..3b72c138c4 100644 --- a/src/gnome/gnc-plugin-basic-commands.c +++ b/src/gnome/gnc-plugin-basic-commands.c @@ -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);