diff --git a/src/gnome/glade/sched-xact.glade b/src/gnome/glade/sched-xact.glade index aad27e9f0f..a18a392d70 100644 --- a/src/gnome/glade/sched-xact.glade +++ b/src/gnome/glade/sched-xact.glade @@ -5992,7 +5992,7 @@ Custom True - False + True @@ -6085,7 +6085,7 @@ Custom True - True + False diff --git a/src/gnome/gnc-plugin-page-sx-list.c b/src/gnome/gnc-plugin-page-sx-list.c index 9049ab6e4a..60322eb2e7 100644 --- a/src/gnome/gnc-plugin-page-sx-list.c +++ b/src/gnome/gnc-plugin-page-sx-list.c @@ -421,7 +421,10 @@ gnc_plugin_page_sx_list_save_page (GncPluginPage *plugin_page, priv = GNC_PLUGIN_PAGE_SX_LIST_GET_PRIVATE(page); g_key_file_set_integer(key_file, group_name, "dense_cal_num_months", - gnc_dense_cal_get_num_months(priv->gdcal)); + gnc_dense_cal_get_num_months(priv->gdcal)); + + g_key_file_set_integer(key_file, group_name, "paned_position", + gtk_paned_get_position(GTK_PANED(priv->widget))); } /** @@ -459,6 +462,16 @@ gnc_plugin_page_sx_list_recreate_page (GtkWidget *window, g_error_free(err); } + { + GError *err = NULL; + gint paned_position = g_key_file_get_integer(key_file, group_name, + "paned_position", &err); + if (err == NULL) + gtk_paned_set_position(GTK_PANED(priv->widget), paned_position); + else + g_error_free(err); + } + return GNC_PLUGIN_PAGE(page); }