[evolution-patches] patch for bug #314599 [calendar]



Hi,

Attached patch fixex bug
http://bugzilla.gnome.org/show_bug.cgi?id=314599



Thanks,
Viren.
Index: gui/dialogs/recurrence-page.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/recurrence-page.c,v
retrieving revision 1.68
diff -u -p -r1.68 recurrence-page.c
--- gui/dialogs/recurrence-page.c	18 Aug 2005 11:20:23 -0000	1.68
+++ gui/dialogs/recurrence-page.c	12 Sep 2005 14:26:27 -0000
@@ -207,6 +207,7 @@ static gboolean recurrence_page_fill_com
 static void recurrence_page_set_dates (CompEditorPage *page, CompEditorPageDates *dates);
 
 static void field_changed (RecurrencePage *apage);
+static void make_ending_count_special (RecurrencePage *rpage);
 
 G_DEFINE_TYPE (RecurrencePage, recurrence_page, TYPE_COMP_EDITOR_PAGE);
 
@@ -376,10 +377,10 @@ clear_widgets (RecurrencePage *rpage)
 	menu = gtk_option_menu_get_menu (GTK_OPTION_MENU (priv->ending_menu));
 	g_signal_handlers_block_matched (menu, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, rpage);
 	e_dialog_option_menu_set (priv->ending_menu, 
-				  ENDING_FOREVER,
+				  ENDING_FOR,
 				  ending_types_map);
 	g_signal_handlers_unblock_matched (menu, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, rpage);
-
+	make_ending_count_special (rpage);
 	/* Exceptions list */
 	e_date_time_list_clear (priv->exception_list_store);
 }
@@ -2053,7 +2054,6 @@ ending_selection_done_cb (GtkMenuShell *
 	RecurrencePage *rpage;
 
 	rpage = RECURRENCE_PAGE (data);
-
 	field_changed (rpage);
 	make_ending_special (rpage);
 	preview_recur (rpage);
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2803
diff -u -p -r1.2803 ChangeLog
--- ChangeLog	2 Sep 2005 13:58:02 -0000	1.2803
+++ ChangeLog	12 Sep 2005 14:26:29 -0000
@@ -1,3 +1,10 @@
+2005-09-12  Viren.L  <lviren novell com>
+	Fixes #314599.
+	
+	* gui/dialogs/recurrence-page.c (clear_widgets):
+	  Changed parameter ENDING_FOREVER to ENDING_FOR while invoking 
+	  e_dialog_option_menu_set, invoked make_ending_count_special ().
+	  
 2005-09-01  Dinesh Layek  <ldinesh novell com>
 
 	Fixes #314922, 311694, 314918


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