diff options
author | Milan Crha <mcrha@redhat.com> | 2012-08-31 19:13:22 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-08-31 19:13:22 +0800 |
commit | ed81260ccf822b7f60497dfe8fde6eedbfdc2ae0 (patch) | |
tree | fb430eec3febd5575fc6363558e3517ca1890efc /calendar/gui/dialogs/recurrence-page.c | |
parent | 350f7118fec5b5d7bcf6a6c40d2fba6bedaf512e (diff) | |
download | gsoc2013-evolution-ed81260ccf822b7f60497dfe8fde6eedbfdc2ae0.tar gsoc2013-evolution-ed81260ccf822b7f60497dfe8fde6eedbfdc2ae0.tar.gz gsoc2013-evolution-ed81260ccf822b7f60497dfe8fde6eedbfdc2ae0.tar.bz2 gsoc2013-evolution-ed81260ccf822b7f60497dfe8fde6eedbfdc2ae0.tar.lz gsoc2013-evolution-ed81260ccf822b7f60497dfe8fde6eedbfdc2ae0.tar.xz gsoc2013-evolution-ed81260ccf822b7f60497dfe8fde6eedbfdc2ae0.tar.zst gsoc2013-evolution-ed81260ccf822b7f60497dfe8fde6eedbfdc2ae0.zip |
Bug #682678 - Entering the end date for a recurring event is very difficult
Diffstat (limited to 'calendar/gui/dialogs/recurrence-page.c')
-rw-r--r-- | calendar/gui/dialogs/recurrence-page.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c index e5e3144fdd..64bbb946c5 100644 --- a/calendar/gui/dialogs/recurrence-page.c +++ b/calendar/gui/dialogs/recurrence-page.c @@ -1000,6 +1000,10 @@ fill_component (RecurrencePage *rpage, if (!ok) e_date_edit_set_date (E_DATE_EDIT (priv->ending_date_edit), dtstart.value->year, dtstart.value->month, dtstart.value->day); + else { + /* to have the date shown in "normalized" format */ + e_date_edit_set_date (E_DATE_EDIT (priv->ending_date_edit), tt.year, tt.month, tt.day); + } } e_cal_component_free_datetime (&dtstart); @@ -1465,7 +1469,7 @@ make_ending_until_special (RecurrencePage *rpage) } g_signal_connect_swapped ( - de, "changed", + e_date_edit_get_entry (de), "focus-out-event", G_CALLBACK (comp_editor_page_changed), rpage); /* Make sure the EDateEdit widget uses our timezones to get the |