From 4653e2bdddb1afcbc2ce15270dfb42411a5334df Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Sun, 17 Feb 2008 20:29:58 +0000 Subject: ** Fix for bnc #160049. Patch from OpenSUSE. 2008-02-18 Srinivasa Ragavan ** Fix for bnc #160049. Patch from OpenSUSE. * common/authentication.c: (build_pass_key), (auth_cal_forget_password): * common/authentication.h: * gui/e-tasks.c: (client_cal_opened_cb), (default_client_cal_opened_cb): * gui/gnome-cal.c: (client_cal_opened_cb): svn path=/trunk/; revision=35035 --- calendar/gui/gnome-cal.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'calendar/gui/gnome-cal.c') diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index e396b879ff..bcd5cda400 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -2642,6 +2642,10 @@ client_cal_opened_cb (ECal *ecal, ECalendarStatus status, GnomeCalendar *gcal) default: break; } + + if (status == E_CALENDAR_STATUS_AUTHENTICATION_FAILED && source_type == E_CAL_SOURCE_TYPE_EVENT) + auth_cal_forget_password (ecal); + switch (status) { case E_CALENDAR_STATUS_OK: break; -- cgit