r15698 - gnucash/trunk/src/gnome - update the sx name/info in the example calendar.

Josh Sled jsled at cvs.gnucash.org
Thu Mar 8 22:12:53 EST 2007


Author: jsled
Date: 2007-03-08 22:12:50 -0500 (Thu, 08 Mar 2007)
New Revision: 15698
Trac: http://svn.gnucash.org/trac/changeset/15698

Modified:
   gnucash/trunk/src/gnome/dialog-sx-editor.c
Log:
update the sx name/info in the example calendar.


Modified: gnucash/trunk/src/gnome/dialog-sx-editor.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-sx-editor.c	2007-03-09 02:46:04 UTC (rev 15697)
+++ gnucash/trunk/src/gnome/dialog-sx-editor.c	2007-03-09 03:12:50 UTC (rev 15698)
@@ -1560,6 +1560,13 @@
         goto cleanup;
     }
 
+    gnc_dense_cal_store_update_name(sxed->dense_cal_model, xaccSchedXactionGetName(sxed->sx));
+    {
+        gchar *schedule_desc = recurrenceListToCompactString(recurrences);
+        gnc_dense_cal_store_update_info(sxed->dense_cal_model, schedule_desc);
+        g_free(schedule_desc);
+    }
+
     gnc_dense_cal_set_month(sxed->example_cal, g_date_get_month(&first_date));
     gnc_dense_cal_set_year(sxed->example_cal, g_date_get_year(&first_date));
 



More information about the gnucash-changes mailing list