Re: [PATCH]: patch to gnomecal



On Wed, May 27, 1998 at 06:40:51PM +0100, Nuno Ferreira wrote:
> Here's a patch to fix gnomecal looping forever when addind a recurring
> yearly event. I reported it to the bug tracking system (doesn't have a number 
> yet).
> 
Now it's really here.
Arghh! CVS is really slow this time of day. took 3 minutes to cvs diff this
two files.

-- 
Nuno Ferreira
nmrf@rnl.ist.utl.pt
Index: ChangeLog
===================================================================
RCS file: /debian/home/gnomecvs/gnome-utils/gncal/ChangeLog,v
retrieving revision 1.86
diff -u -r1.86 ChangeLog
--- ChangeLog	1998/05/26 04:10:05	1.86
+++ ChangeLog	1998/05/27 17:38:59
@@ -1,3 +1,9 @@
+1998-05-27  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
+
+	* eventedit.c (ee_store_recur_rule_to_ical): Fill in
+	ical->recur->interval from value in spin_button. This ixed an
+	infinnite loop.
+
 1998-05-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>
 
 	* eventedit.c (ee_rp_init_rule): Use the contents of
Index: eventedit.c
===================================================================
RCS file: /debian/home/gnomecvs/gnome-utils/gncal/eventedit.c,v
retrieving revision 1.32
diff -u -r1.32 eventedit.c
--- eventedit.c	1998/05/26 04:10:07	1.32
+++ eventedit.c	1998/05/27 17:48:30
@@ -565,13 +565,13 @@
 			ical->recur->u.month_day = option_menu_active_number (ee->recur_rr_month_weekday);
 		}
 
-		ical->recur->interval = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (ee->recur_rr_month_period));
 
 		break;
 
 	case 4:
 		/* Yearly */
 		ical->recur->type = RECUR_YEARLY_BY_DAY;
+		ical->recur->interval = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (ee->recur_rr_year_period));
 		/* FIXME: need to specify anything else?  I am assuming the code will look at the dtstart
 		 * to figure out when to recur. - Federico
 		 */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]