aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2005-09-30 22:50:34 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-09-30 22:50:34 +0800
commit8627c38b49611a820612508ad766993b8b42bec5 (patch)
tree23e22fc61f008db86c237a215929fe836cf51862
parent60e6b49b81d8ae1cd8c06430da520dd4a0f0bce5 (diff)
downloadgsoc2013-evolution-8627c38b49611a820612508ad766993b8b42bec5.tar
gsoc2013-evolution-8627c38b49611a820612508ad766993b8b42bec5.tar.gz
gsoc2013-evolution-8627c38b49611a820612508ad766993b8b42bec5.tar.bz2
gsoc2013-evolution-8627c38b49611a820612508ad766993b8b42bec5.tar.lz
gsoc2013-evolution-8627c38b49611a820612508ad766993b8b42bec5.tar.xz
gsoc2013-evolution-8627c38b49611a820612508ad766993b8b42bec5.tar.zst
gsoc2013-evolution-8627c38b49611a820612508ad766993b8b42bec5.zip
Fixes #314599.
svn path=/trunk/; revision=30450
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/dialogs/recurrence-page.c6
2 files changed, 10 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 9fc9c5a905..1d446aaa75 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2005-09-30 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-30 Chenthill Palanisamy <pchenthill@novell.com>
Fixes #273781
diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c
index 243dc19bb7..a4da4e450c 100644
--- a/calendar/gui/dialogs/recurrence-page.c
+++ b/calendar/gui/dialogs/recurrence-page.c
@@ -207,6 +207,7 @@ static gboolean recurrence_page_fill_component (CompEditorPage *page, ECalCompon
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 *menu_shell, gpointer data)
RecurrencePage *rpage;
rpage = RECURRENCE_PAGE (data);
-
field_changed (rpage);
make_ending_special (rpage);
preview_recur (rpage);