[evolution-patches] Patch for #59335 (Calendar)
- From: Harish Krishnaswamy <kharish novell com>
- To: patches <evolution-patches lists ximian com>
- Subject: [evolution-patches] Patch for #59335 (Calendar)
- Date: Tue, 27 Jul 2004 17:48:22 +0530
Resending the patch as i just noticed that the Changelog was referring
to a wrong id :(
harish
On Tue, 2004-07-27 at 17:24, Harish Krishnaswamy wrote:
> hi,
> The following is a patch for the #59335 - the issue was that evolution
> requires a refresh (by switching b/w the dates) before the events show
> up
> on the view. This was happening because the signal handlers in the
> e-cal-model were disconnected even before the calendar is fully
> loaded.
> This one-line patch ensures that they are removed only after the
> calendar is loaded.
>
> harish
>
> Index: calendar/ChangeLog
> ===================================================================
> RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
> retrieving revision 1.2463
> diff -u -p -r1.2463 ChangeLog
> --- calendar/ChangeLog 27 Jul 2004 02:29:11 -0000 1.2463
> +++ calendar/ChangeLog 27 Jul 2004 11:44:15 -0000
> @@ -1,3 +1,11 @@
> +2004-07-27 Harish Krishnaswamy <kharish novell com>
> +
> + Fixes #59335
> +
> + * gui/e-cal-model.c: (cal_opened_cb): Check if the calendar has
> + been loaded. If it has not been loaded yet, return. Do not
> disconnect
> + the handlers listening for the CAL_OPENED signal.
> +
> 2004-07-25 JP Rosevear <jpr ximian com>
>
> Fixes #61058
> Index: calendar/gui/e-cal-model.c
> ===================================================================
> RCS file: /cvs/gnome/evolution/calendar/gui/e-cal-model.c,v
> retrieving revision 1.40
> diff -u -p -r1.40 e-cal-model.c
> --- calendar/gui/e-cal-model.c 24 Jul 2004 14:28:59 -0000 1.40
> +++ calendar/gui/e-cal-model.c 27 Jul 2004 11:44:16 -0000
> @@ -1445,6 +1445,8 @@ cal_opened_cb (ECal *client, ECalendarSt
> return;
> }
>
> + if (e_cal_get_load_state (client)!= E_CAL_LOAD_LOADED)
> + return;
> /* Stop listening for this calendar to be opened */
> g_signal_handlers_disconnect_matched (client, G_SIGNAL_MATCH_FUNC |
> G_SIGNAL_MATCH_DATA, 0, 0, NULL, cal_opened_cb, model);
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]